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