CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackValidationHeavyIons_cff.py
Go to the documentation of this file.
2 
3 # track associator settings
5 trackAssociatorByHitsRecoDenom = SimTracker.TrackAssociatorProducers.quickTrackAssociatorByHits_cfi.quickTrackAssociatorByHits.clone()
6 
7 # reco track quality cuts
9 cutsRecoTracks.src = "hiGeneralTracks"
10 cutsRecoTracks.ptMin = 2.0
11 cutsRecoTracks.quality = []
12 
13 # high purity selection
14 cutsRecoTracksHP = cutsRecoTracks.clone( quality = cms.vstring("highPurity") )
15 
16 # sim track quality cuts
18 findableSimTracks.ptMin = 2.0
19 
20 # setup multi-track validator
22 hiTrackValidator = multiTrackValidator.clone(
23  associators = ["trackAssociatorByHitsRecoDenom"],
24  UseAssociators = True,
25  label_tp_effic = cms.InputTag("primaryChgSimTracks"),
26  label_tp_fake = cms.InputTag("cutsTPFake"),
27  signalOnlyTP = cms.bool(False),
28  trackCollectionForDrCalculation = cms.InputTag("cutsRecoTracks"),
29  minpT = cms.double(1.0),
30  maxpT = cms.double(100.0),
31  nintpT = cms.int32(40),
32  useLogPt = cms.untracked.bool(True)
33  )
34 
35 hiTrackValidator.label = cms.VInputTag(cms.InputTag('cutsRecoTracks'),
36  cms.InputTag('cutsRecoTracksHP')
37  )
38 
39 # track prevalidation
40 hiTrackPrevalidation = cms.Sequence(
41  primaryChgSimTracks
42  * cutsTPFake
43  * cutsRecoTracks
44  * cutsRecoTracksHP
45  )
46 
47 # track validation sequence
48 hiTrackValidation = cms.Sequence( trackAssociatorByHitsRecoDenom * hiTrackValidator )