CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTmultiTrackValidator_cff.py
Go to the documentation of this file.
2 
4 hltLhcParametersDefinerForTP = LhcParametersDefinerForTP.clone()
5 hltLhcParametersDefinerForTP.ComponentName = cms.string('hltLhcParametersDefinerForTP')
6 hltLhcParametersDefinerForTP.beamSpot = cms.untracked.InputTag('hltOnlineBeamSpot')
7 
9 hltMultiTrackValidator = multiTrackValidator.clone()
10 hltMultiTrackValidator.ignoremissingtkcollection = cms.bool(True)
11 hltMultiTrackValidator.dirName = cms.string('HLT/Tracking/ValidationWRTtp/')
12 hltMultiTrackValidator.label = cms.VInputTag(
13  cms.InputTag("hltPixelTracks"),
14 # cms.InputTag("hltPFJetCtfWithMaterialTracks"),
15 # cms.InputTag("hltPFlowTrackSelectionHighPurity"), # it is not yet available :(
16 # cms.InputTag("hltIter1PFJetCtfWithMaterialTracks"),
17 # cms.InputTag("hltIter1PFlowTrackSelectionHighPurityLoose"),
18 # cms.InputTag("hltIter1PFlowTrackSelectionHighPurityTight"),
19 # cms.InputTag("hltIter1PFlowTrackSelectionHighPurity"),
20  cms.InputTag("hltIter1Merged"),
21 # cms.InputTag("hltIter2PFJetCtfWithMaterialTracks"),
22 # cms.InputTag("hltIter2PFlowTrackSelectionHighPurity"),
23  cms.InputTag("hltIter2Merged"),
24 # cms.InputTag("hltIter3PFJetCtfWithMaterialTracks"),
25 # cms.InputTag("hltIter3PFlowTrackSelectionHighPurityLoose"),
26 # cms.InputTag("hltIter3PFlowTrackSelectionHighPurityTight"),
27 # cms.InputTag("hltIter3PFlowTrackSelectionHighPurity"),
28  cms.InputTag("hltIter3Merged"),
29 # cms.InputTag("hltIter4PFJetCtfWithMaterialTracks"),
30 # cms.InputTag("hltIter4PFlowTrackSelectionHighPurity"),
31  cms.InputTag("hltIter4Merged"),
32 )
33 hltMultiTrackValidator.beamSpot = cms.InputTag("hltOnlineBeamSpot")
34 hltMultiTrackValidator.ptMinTP = cms.double( 0.4)
35 hltMultiTrackValidator.lipTP = cms.double(35.0)
36 hltMultiTrackValidator.tipTP = cms.double(70.0)
37 hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.ptMin = cms.double( 0.4)
38 hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.lip = cms.double(35.0)
39 hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.tip = cms.double(70.0)
40 hltMultiTrackValidator.histoProducerAlgoBlock.TpSelectorForEfficiencyVsEta = hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.clone()
41 hltMultiTrackValidator.histoProducerAlgoBlock.TpSelectorForEfficiencyVsPhi = hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.clone()
42 hltMultiTrackValidator.histoProducerAlgoBlock.TpSelectorForEfficiencyVsPt = hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.clone()
43 hltMultiTrackValidator.histoProducerAlgoBlock.TpSelectorForEfficiencyVsVTXR = hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.clone()
44 hltMultiTrackValidator.histoProducerAlgoBlock.TpSelectorForEfficiencyVsVTXZ = hltMultiTrackValidator.histoProducerAlgoBlock.generalTpSelector.clone()
45 hltMultiTrackValidator.parametersDefiner = cms.string('hltLhcParametersDefinerForTP')
46 
48 hltDedxHarmonic2 = dedxHarmonic2.clone()
49 hltDedxHarmonic2.tracks = cms.InputTag("hltIter4Merged")
50 hltDedxHarmonic2.trajectoryTrackAssociation = cms.InputTag("hltIter4Merged")
51 
52 ###
53 ### Principal::getByToken: Found zero products matching all criteria
54 ### Looking for type: edm::AssociationMap<edm::OneToOne<std::vector<Trajectory>,std::vector<reco::Track>,unsigned short> >
55 ### Looking for module label: hltIter4Merged
56 #hltMultiTrackValidator.dEdx1Tag = cms.InputTag("hltDedxHarmonic2")
57 
59 hltDedxTruncated40 = dedxTruncated40.clone()
60 hltDedxTruncated40.tracks = cms.InputTag("hltIter4Merged")
61 hltDedxTruncated40.trajectoryTrackAssociation = cms.InputTag("hltIter4Merged")
62 
63 #hltMultiTrackValidator.dEdx2Tag = cms.InputTag("hltDedxTruncated40")
64 
65 hltQuickTrackAssociatorByHits = cms.ESProducer("QuickTrackAssociatorByHitsESProducer",
66  Quality_SimToReco = cms.double(0.5),
67  cluster2TPSrc = cms.InputTag("hltTPClusterProducer"),
68  associatePixel = cms.bool(True),
69  useClusterTPAssociation = cms.bool(False),
70  Purity_SimToReco = cms.double(0.75),
71  ThreeHitTracksAreSpecial = cms.bool(True),
72  AbsoluteNumberOfHits = cms.bool(False),
73  associateStrip = cms.bool(True),
74  Cut_RecoToSim = cms.double(0.75),
75  SimToRecoDenominator = cms.string('sim'),
76  ComponentName = cms.string('hltQuickTrackAssociatorByHits')
77 )
78 
79 hltTrackingParticleRecoTrackAsssociation = cms.EDProducer("TrackAssociatorEDProducer",
80  label_tr = cms.InputTag("hltIter4Merged"),
81  associator = cms.string('hltQuickTrackAssociatorByHits'),
82  label_tp = cms.InputTag("mix","MergedTrackTruth"),
83  ignoremissingtrackcollection = cms.untracked.bool(True)
84 )
85 
86 hltMultiTrackValidator.associatormap = cms.InputTag("hltTrackingParticleRecoTrackAsssociation")
87 hltMultiTrackValidator.ignoremissingtrackcollection = cms.untracked.bool(True)
88 
89 hltTPClusterProducer = cms.EDProducer("ClusterTPAssociationProducer",
90  stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
91  verbose = cms.bool(False),
92  pixelClusterSrc = cms.InputTag("hltSiPixelClusters"),
93  pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
94  trackingParticleSrc = cms.InputTag("mix","MergedTrackTruth"),
95 # stripClusterSrc = cms.InputTag("hltSiStripClusters"),
96  stripClusterSrc = cms.InputTag("hltSiStripRawToClustersFacility"),
97  simTrackSrc = cms.InputTag("g4SimHits")
98 )
99 hltTrackAssociatorByHitsRecoDenom = cms.ESProducer("QuickTrackAssociatorByHitsESProducer",
100  Quality_SimToReco = cms.double(0.5),
101  associatePixel = cms.bool(True),
102  useClusterTPAssociation = cms.bool(True),
103  Purity_SimToReco = cms.double(0.75),
104  Cut_RecoToSim = cms.double(0.75),
105  ThreeHitTracksAreSpecial = cms.bool(True),
106  AbsoluteNumberOfHits = cms.bool(False),
107  associateStrip = cms.bool(True),
108  ComponentName = cms.string('hltTrackAssociatorByHitsRecoDenom'),
109  SimToRecoDenominator = cms.string('reco'),
110  cluster2TPSrc = cms.InputTag("hltTPClusterProducer")
111 )
112 hltMultiTrackValidator.associators = cms.vstring('hltTrackAssociatorByHitsRecoDenom')
113 
116 
118 
119 hltMultiTrackValidation = cms.Sequence(
120 # hltDedxHarmonic2
121 # + hltDedxTruncated40
122  simHitTPAssocProducer
123  + hltTPClusterProducer
124  + hltTrackingParticleRecoTrackAsssociation
125  + cutsTPEffic
126  + cutsTPFake
127 # too noisy + hltMultiTrackValidator
128 )
129