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.
1 import FWCore.ParameterSet.Config as cms
2 
3 # track associator settings
5 trackAssociatorByHitsRecoDenom = SimTracker.TrackAssociatorProducers.quickTrackAssociatorByHits_cfi.quickTrackAssociatorByHits.clone(
6  useClusterTPAssociation = False # to do the track<->TP association with TrackerHitAssociator
7 )
9 
10 # reco track quality cuts
12 cutsRecoTracks.src = "hiGeneralTracks"
13 cutsRecoTracks.ptMin = 2.0
14 cutsRecoTracks.quality = []
15 
16 # high purity selection
17 cutsRecoTracksHP = cutsRecoTracks.clone( quality = cms.vstring("highPurity") )
18 
19 # sim track quality cuts
21 findableSimTracks.ptMin = 2.0
22 
23 # setup multi-track validator
25 hiTrackValidator = multiTrackValidator.clone(
26  associators = ["trackAssociatorByHitsRecoDenom"],
27  UseAssociators = True,
28  label_tp_effic = cms.InputTag("primaryChgSimTracks"),
29  label_tp_fake = cms.InputTag("cutsTPFake"),
30  label_tp_effic_refvector = True,
31  label_tp_fake_refvector = True,
32  signalOnlyTP = cms.bool(False),
33  trackCollectionForDrCalculation = cms.InputTag("cutsRecoTracks"),
34  minpT = cms.double(1.0),
35  maxpT = cms.double(100.0),
36  nintpT = cms.int32(40),
37  useLogPt = cms.untracked.bool(True)
38  )
39 
40 hiTrackValidator.label = cms.VInputTag(cms.InputTag('cutsRecoTracks'),
41  cms.InputTag('cutsRecoTracksHP')
42  )
43 
44 # track prevalidation
45 hiTrackPrevalidation = cms.Sequence(
46  primaryChgSimTracks
47  * cutsTPFake
48  * cutsRecoTracks
49  * cutsRecoTracksHP
50  * trackingParticleNumberOfLayersProducer
51  )
52 
53 # track validation sequence
54 hiTrackValidation = cms.Sequence( trackAssociatorByHitsRecoDenom * hiTrackValidator )