CMS 3D CMS Logo

HitToTracksterAssociation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from SimCalorimetry.HGCalAssociatorProducers.hitToTracksterAssociator_cfi import hitToTracksterAssociator
3 
4 hitToTrackstersAssociationLinking = hitToTracksterAssociator.clone(
5  tracksters = cms.InputTag("ticlTrackstersMerge"),
6 )
7 
8 
9 hitToTrackstersAssociationPR = hitToTracksterAssociator.clone(
10  tracksters = cms.InputTag("ticlTrackstersCLUE3DHigh"),
11 )
12 
13 hitToSimTracksterAssociation = hitToTracksterAssociator.clone(
14  tracksters = cms.InputTag("ticlSimTracksters"),
15 )
16 
17 hitToSimTracksterFromCPsAssociation = hitToTracksterAssociator.clone(
18  tracksters = cms.InputTag("ticlSimTracksters", "fromCPs"),
19 )
20 
21 
22 from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
23 
24 ticl_v5.toModify(hitToTrackstersAssociationLinking, tracksters = cms.InputTag("ticlCandidate"))
25 
26 from SimCalorimetry.HGCalAssociatorProducers.AllHitToTracksterAssociatorsProducer_cfi import AllHitToTracksterAssociatorsProducer
27 from RecoHGCal.TICL.iterativeTICL_cff import ticlIterLabels
28 
29 allHitToTracksterAssociations = AllHitToTracksterAssociatorsProducer.clone(
30  tracksterCollections = cms.VInputTag(
31  *[cms.InputTag(label) for label in ticlIterLabels],
32  cms.InputTag("ticlSimTracksters"),
33  cms.InputTag("ticlSimTracksters", "fromCPs"),
34  )
35 )
36 
37