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 = "hiSelectedTracks"
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  skipHistoFit = cms.untracked.bool(True), # done in post-processing
31  minpT = cms.double(1.0),
32  maxpT = cms.double(100.0),
33  nintpT = cms.int32(40),
34  useLogPt = cms.untracked.bool(True)
35  )
36 
37 hiTrackValidator.label = cms.VInputTag(cms.InputTag('cutsRecoTracks'),
38  cms.InputTag('cutsRecoTracksHP')
39  )
40 
41 # track prevalidation
42 hiTrackPrevalidation = cms.Sequence(
43  primaryChgSimTracks
44  * cutsTPFake
45  * cutsRecoTracks
46  * cutsRecoTracksHP
47  )
48 
49 # track validation sequence
50 hiTrackValidation = cms.Sequence( hiTrackValidator )