11def matchTriggerClusters(minClusterEnergy=0.1, maxAngle=0.1, minFracEnergy=0.0, maxFracEnergy=2.0, path=None):
13 Matching of ECLClusters and ECLTriggerClusters based on energy
and angular separation
14 @param minClusterEnergy minimum cluster energy
15 @param maxAngle maximal angular separation
16 @param minFracEnergy minimum energy fraction trg/cluster
17 @param maxFracEnergy maximal energy fraction trg/cluster
21 matchtrgclust = b2.register_module('ECLTriggerClusterMatcher')
22 matchtrgclust.param(
'minClusterEnergy', minClusterEnergy)
23 matchtrgclust.param(
'maxAngle', maxAngle)
24 matchtrgclust.param(
'minFracEnergy', minFracEnergy)
25 matchtrgclust.param(
'maxFracEnergy', maxFracEnergy)
26 matchtrgclust.param(
'minClusterEnergy', minClusterEnergy)
28 path.add_module(matchtrgclust)
31def matchTrackECLCalDigits(extRadius=130.0, angleFWDGap=31.80, angleBWDGap=129.7, trackHypothesis=11, path=None):
33 Matching of tracks to ECLCalDigits that are close to gaps
34 @param extRadius Radius to which track
is extrapolated
35 @param angleFWDGap center of FWD gap (deg)
36 @param angleBWDGap center of BWD gap (deg)
37 @param trackHypothesis track hypothesis
40 matchtrkdig = b2.register_module('ECLTrackCalDigitMatch')
41 matchtrkdig.param(
'extRadius', extRadius)
42 matchtrkdig.param(
'angleFWDGap', angleFWDGap)
43 matchtrkdig.param(
'angleBWDGap', angleBWDGap)
44 matchtrkdig.param(
'trackHypothesis', trackHypothesis)
46 path.add_module(matchtrkdig)