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
4 from Validation.RecoTrack.TrackValidation_cff import trackAssociatorByHitsRecoDenom
5 
6 # reco track quality cuts
8 cutsRecoTracks.src = "hiGeneralTracks"
9 cutsRecoTracks.ptMin = 2.0
10 cutsRecoTracks.quality = []
11 
12 # high purity selection
13 cutsRecoTracksHP = cutsRecoTracks.clone( quality = cms.vstring("highPurity") )
14 
15 # sim track quality cuts
17 findableSimTracks.ptMin = 2.0
18 
19 # setup multi-track validator
21 hiTrackValidator = multiTrackValidator.clone(
22  label_tp_effic = cms.InputTag("primaryChgSimTracks"),
23  label_tp_fake = cms.InputTag("cutsTPFake"),
24  signalOnlyTP = cms.bool(False),
25  trackCollectionForDrCalculation = cms.InputTag("cutsRecoTracks"),
26  skipHistoFit = cms.untracked.bool(True), # done in post-processing
27  minpT = cms.double(1.0),
28  maxpT = cms.double(100.0),
29  nintpT = cms.int32(40),
30  useLogPt = cms.untracked.bool(True)
31  )
32 
33 hiTrackValidator.label = cms.VInputTag(cms.InputTag('cutsRecoTracks'),
34  cms.InputTag('cutsRecoTracksHP')
35  )
36 
37 # track prevalidation
38 hiTrackPrevalidation = cms.Sequence(
39  primaryChgSimTracks
40  * cutsTPFake
41  * cutsRecoTracks
42  * cutsRecoTracksHP
43  )
44 
45 # track validation sequence
46 hiTrackValidation = cms.Sequence( trackAssociatorByHitsRecoDenom * hiTrackValidator )