Steve, I have updated the BrFlowModule sucessfully. The code will now randomlly distribution the sifl hits in phi. For the flsi hits that are not adjacent to the gaps, the hit are uniformly distributed in phi over the size of the silicon strip. For the strips that are adjacent to the gaps, their probability distribution is maximized at the location of the flsi strip and falls off linearly to the other side of the gap. This way when a hit is found in one of the two flsi elements that are adjacent to the gap, there is a higher probability that their randomized phi location is located close to the actual silicon strip. Now that is done. I would like to make another change to the code. Right now, we read in weights from a text file. I can easily generate the text file for the weights, but I really think that it would benefit us greatly if we could generate the weights while we run. Here is my proposal. For the first 5000 events, only two things are done. An array with the sum multiplicity per flsi strip is updated, and a counter is updated to keep track of the number of events. After 5000 events, the rest of the code can be executed using a running average of the weights determined using the sum multiplicity array and the event counter. This way we will lose 5000 events but we will not need to regenerate a new weight file for every run and trigger condition. If you don't have any arguements against this, I'll make the change. Next thing is our naming convention. I sort of made a mistake there. I just committed the code with my naming convention. I made the change some Phi to Psi I didn't want to confuse phi, the azimuthal angle with Psi the angle of the reaction plane in the phi corodinate. So now things are named as Psi = reaction plane angle for the v1 reaction plane Psi2 = reaction plane angel for v2 phi = the azimuthal angle of a hit I think this will be less confusing, at least to me. Erik _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Tue Apr 20 14:47:03 2004
This archive was generated by hypermail 2.1.8 : Tue Apr 20 2004 - 14:47:29 EDT