Skip to content

Commit 14a1445

Browse files
authored
Add configurable matching criteria for track + (side) hcal cluster matching pfReco.py
1 parent 44ac16a commit 14a1445

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Recon/python/pfReco.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ def __init__(self, name='PFlow') :
5656
self.inputTrackCollName = 'PFTracks'
5757
self.outputCollName = 'PFCandidates'
5858
self.singleParticle = False
59+
60+
# Matching criteria for Track + (side) HCal cluster matching (need to be configured)
61+
self.tkHadCaloMatchDist = 2.0
62+
self.tkHadCaloMinEnergyRatio = 0.3
63+
self.tkHadCaloMaxEnergyRatio = 2.0
5964

6065
self.input_ecal_passname = ''
6166
self.input_hcal_passname = ''
@@ -79,4 +84,4 @@ def __init__(self, name='PFTruth') :
7984
self.sim_particles_event_passname = ''
8085
self.ecal_sp_hits_event_passname = ''
8186
self.target_sp_hits_event_passname = ''
82-
self.target_sp_passname = ''
87+
self.target_sp_passname = ''

0 commit comments

Comments
 (0)