1 import FWCore.ParameterSet.Config
as cms
3 import DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi
4 trackingMonHLT = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone()
5 trackingMonHLT.beamSpot = cms.InputTag(
"hltOnlineBeamSpot")
6 trackingMonHLT.primaryVertex = cms.InputTag(
"hltPixelVertices")
7 trackingMonHLT.doAllPlots = cms.bool(
False)
8 trackingMonHLT.doLumiAnalysis = cms.bool(
False)
9 trackingMonHLT.doProfilesVsLS = cms.bool(
True)
10 trackingMonHLT.doDCAPlots = cms.bool(
True)
11 trackingMonHLT.pvNDOF = cms.int32(1)
12 trackingMonHLT.doProfilesVsLS = cms.bool(
True)
13 trackingMonHLT.doPlotsVsGoodPVtx = cms.bool(
True)
14 trackingMonHLT.doEffFromHitPatternVsPU = cms.bool(
True)
15 trackingMonHLT.doEffFromHitPatternVsBX = cms.bool(
True)
16 trackingMonHLT.doEffFromHitPatternVsLUMI = cms.bool(
True)
17 trackingMonHLT.doPlotsVsGoodPVtx = cms.bool(
True)
18 trackingMonHLT.doPlotsVsLUMI = cms.bool(
True)
19 trackingMonHLT.doPlotsVsBX = cms.bool(
True)
21 pixelTracksMonitoringHLT = trackingMonHLT.clone()
22 pixelTracksMonitoringHLT.FolderName =
'HLT/Tracking/pixelTracks'
23 pixelTracksMonitoringHLT.TrackProducer =
'hltPixelTracks'
24 pixelTracksMonitoringHLT.allTrackProducer =
'hltPixelTracks'
25 pixelTracksMonitoringHLT.doEffFromHitPatternVsPU =
False
26 pixelTracksMonitoringHLT.doEffFromHitPatternVsBX =
False
27 pixelTracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
29 iter0TracksMonitoringHLT = trackingMonHLT.clone()
30 iter0TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter0'
31 iter0TracksMonitoringHLT.TrackProducer =
'hltIter0PFlowCtfWithMaterialTracks'
32 iter0TracksMonitoringHLT.allTrackProducer =
'hltIter0PFlowCtfWithMaterialTracks'
33 iter0TracksMonitoringHLT.doEffFromHitPatternVsPU =
True
34 iter0TracksMonitoringHLT.doEffFromHitPatternVsBX =
False
35 iter0TracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
37 iter0HPTracksMonitoringHLT = trackingMonHLT.clone()
38 iter0HPTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter0HP'
39 iter0HPTracksMonitoringHLT.TrackProducer =
'hltIter0PFlowTrackSelectionHighPurity'
40 iter0HPTracksMonitoringHLT.allTrackProducer =
'hltIter0PFlowTrackSelectionHighPurity'
41 iter0HPTracksMonitoringHLT.doEffFromHitPatternVsPU =
True
42 iter0HPTracksMonitoringHLT.doEffFromHitPatternVsBX =
False
43 iter0HPTracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
45 iter1TracksMonitoringHLT = trackingMonHLT.clone()
46 iter1TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter1'
47 iter1TracksMonitoringHLT.TrackProducer =
'hltIter1PFlowCtfWithMaterialTracks'
48 iter1TracksMonitoringHLT.allTrackProducer =
'hltIter1PFlowCtfWithMaterialTracks'
49 iter1TracksMonitoringHLT.doEffFromHitPatternVsPU =
True
50 iter1TracksMonitoringHLT.doEffFromHitPatternVsBX =
False
51 iter1TracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
53 iter1HPTracksMonitoringHLT = trackingMonHLT.clone()
54 iter1HPTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter1HP'
55 iter1HPTracksMonitoringHLT.TrackProducer =
'hltIter1PFlowTrackSelectionHighPurity'
56 iter1HPTracksMonitoringHLT.allTrackProducer =
'hltIter1PFlowTrackSelectionHighPurity'
57 iter1HPTracksMonitoringHLT.doEffFromHitPatternVsPU =
True
58 iter1HPTracksMonitoringHLT.doEffFromHitPatternVsBX =
False
59 iter1HPTracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
61 iter2TracksMonitoringHLT = trackingMonHLT.clone()
62 iter2TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2'
63 iter2TracksMonitoringHLT.TrackProducer =
'hltIter2PFlowCtfWithMaterialTracks'
64 iter2TracksMonitoringHLT.allTrackProducer =
'hltIter2PFlowCtfWithMaterialTracks'
65 iter2TracksMonitoringHLT.doEffFromHitPatternVsPU =
True
66 iter2TracksMonitoringHLT.doEffFromHitPatternVsBX =
False
67 iter2TracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
69 iter2HPTracksMonitoringHLT = trackingMonHLT.clone()
70 iter2HPTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2HP'
71 iter2HPTracksMonitoringHLT.TrackProducer =
'hltIter2PFlowTrackSelectionHighPurity'
72 iter2HPTracksMonitoringHLT.allTrackProducer =
'hltIter2PFlowTrackSelectionHighPurity'
73 iter2HPTracksMonitoringHLT.doEffFromHitPatternVsPU =
True
74 iter2HPTracksMonitoringHLT.doEffFromHitPatternVsBX =
False
75 iter2HPTracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
77 iter2MergedTracksMonitoringHLT = trackingMonHLT.clone()
78 iter2MergedTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2Merged'
79 iter2MergedTracksMonitoringHLT.TrackProducer =
'hltIter2Merged'
80 iter2MergedTracksMonitoringHLT.allTrackProducer =
'hltIter2Merged'
81 iter2MergedTracksMonitoringHLT.doEffFromHitPatternVsPU =
True
82 iter2MergedTracksMonitoringHLT.doEffFromHitPatternVsBX =
False
83 iter2MergedTracksMonitoringHLT.doEffFromHitPatternVsLUMI =
False
85 iterHLTTracksMonitoringHLT = trackingMonHLT.clone()
86 iterHLTTracksMonitoringHLT.FolderName =
'HLT/Tracking/tracks'
87 iterHLTTracksMonitoringHLT.TrackProducer =
'hltMergedTracks'
88 iterHLTTracksMonitoringHLT.allTrackProducer =
'hltMergedTracks'
89 iterHLTTracksMonitoringHLT.doEffFromHitPatternVsPU =
True
90 iterHLTTracksMonitoringHLT.doEffFromHitPatternVsBX =
True
91 iterHLTTracksMonitoringHLT.doEffFromHitPatternVsLUMI =
True
92 iterHLTTracksMonitoringHLT.doDCAPlots =
True
93 iterHLTTracksMonitoringHLT.doPVPlots = cms.bool(
True)
94 iterHLTTracksMonitoringHLT.doBSPlots = cms.bool(
True)
95 iterHLTTracksMonitoringHLT.doSIPPlots = cms.bool(
True)
97 iter3TracksMonitoringHLT = trackingMonHLT.clone()
98 iter3TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter3Merged'
99 iter3TracksMonitoringHLT.TrackProducer =
'hltIter3Merged'
100 iter3TracksMonitoringHLT.allTrackProducer =
'hltIter3Merged'
102 iter4TracksMonitoringHLT = trackingMonHLT.clone()
103 iter4TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter4Merged'
104 iter4TracksMonitoringHLT.TrackProducer =
'hltIter4Merged'
105 iter4TracksMonitoringHLT.allTrackProducer =
'hltIter4Merged'
107 trackingMonitorHLT = cms.Sequence(
108 pixelTracksMonitoringHLT
109 + iter0HPTracksMonitoringHLT
112 + iter2MergedTracksMonitoringHLT
113 + iterHLTTracksMonitoringHLT
116 trackingMonitorHLTall = cms.Sequence(
117 pixelTracksMonitoringHLT
118 + iter0TracksMonitoringHLT
119 + iter2HPTracksMonitoringHLT
120 + iter1TracksMonitoringHLT
121 + iter1HPTracksMonitoringHLT
122 + iter2TracksMonitoringHLT
123 + iter2HPTracksMonitoringHLT
124 + iter2MergedTracksMonitoringHLT
125 + iterHLTTracksMonitoringHLT
136 egmTrackingMonHLT = trackingMonHLT.clone()
137 egmTrackingMonHLT.primaryVertex = cms.InputTag(
"hltElectronsVertex")
138 egmTrackingMonHLT.doEffFromHitPatternVsPU =
False
139 egmTrackingMonHLT.doEffFromHitPatternVsBX =
False
140 egmTrackingMonHLT.doEffFromHitPatternVsLUMI =
False
142 gsfTracksMonitoringHLT = egmTrackingMonHLT.clone()
143 gsfTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/GSF'
144 gsfTracksMonitoringHLT.TrackProducer =
'hltEgammaGsfTracks'
145 gsfTracksMonitoringHLT.allTrackProducer =
'hltEgammaGsfTracks'
147 pixelTracksForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
148 pixelTracksForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/pixelTracks'
149 pixelTracksForElectronsTracksMonitoringHLT.TrackProducer =
'hltPixelTracksElectrons'
150 pixelTracksForElectronsTracksMonitoringHLT.allTrackProducer =
'hltPixelTracksElectrons'
152 iter0ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
153 iter0ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter0'
154 iter0ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks'
155 iter0ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks'
157 iter0HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
158 iter0HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter0HP'
159 iter0HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity'
160 iter0HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity'
162 iter1ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
163 iter1ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter1'
164 iter1ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks'
165 iter1ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks'
167 iter1HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
168 iter1HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter1HP'
169 iter1HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity'
170 iter1HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity'
172 iter1MergedForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
173 iter1MergedForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter1Merged'
174 iter1MergedForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1MergedForElectrons'
175 iter1MergedForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1MergedForElectrons'
177 iter2ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
178 iter2ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter2'
179 iter2ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks'
180 iter2ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks'
182 iter2HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
183 iter2HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter2HP'
184 iter2HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity'
185 iter2HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity'
187 iterHLTTracksForElectronsMonitoringHLT = egmTrackingMonHLT.clone()
188 iterHLTTracksForElectronsMonitoringHLT.FolderName =
'HLT/EGM/Tracking/iter2Merged'
189 iterHLTTracksForElectronsMonitoringHLT.TrackProducer =
'hltIter2MergedForElectrons'
190 iterHLTTracksForElectronsMonitoringHLT.allTrackProducer =
'hltIter2MergedForElectrons'
193 egmTrackingMonitorHLT = cms.Sequence(
194 gsfTracksMonitoringHLT
195 + pixelTracksForElectronsTracksMonitoringHLT
196 + iter0HPForElectronsTracksMonitoringHLT
199 + iterHLTTracksForElectronsMonitoringHLT
203 trkHLTDQMSourceExtra = cms.Sequence(