CMS 3D CMS Logo

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