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  cores = cms.InputTag("")
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 )