1 import FWCore.ParameterSet.Config
as cms
4 trackingMonHLT = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone(
5 beamSpot =
"hltOnlineBeamSpot",
6 primaryVertex =
"hltPixelVertices",
8 doLumiAnalysis =
False,
12 doProfilesVsLS =
True,
14 doEffFromHitPatternVsPU =
True,
15 doEffFromHitPatternVsBX =
True,
16 doEffFromHitPatternVsLUMI =
True,
17 doPlotsVsGoodPVtx =
True,
21 pixelTracksMonitoringHLT = trackingMonHLT.clone(
22 FolderName =
'HLT/Tracking/pixelTracks',
23 TrackProducer =
'hltPixelTracks',
24 allTrackProducer =
'hltPixelTracks',
25 doEffFromHitPatternVsPU =
False,
26 doEffFromHitPatternVsBX =
False,
27 doEffFromHitPatternVsLUMI =
False 29 iter0TracksMonitoringHLT = trackingMonHLT.clone(
30 FolderName =
'HLT/Tracking/iter0',
31 TrackProducer =
'hltIter0PFlowCtfWithMaterialTracks',
32 allTrackProducer =
'hltIter0PFlowCtfWithMaterialTracks',
33 doEffFromHitPatternVsPU =
True,
34 doEffFromHitPatternVsBX =
False,
35 doEffFromHitPatternVsLUMI =
False 37 iter0HPTracksMonitoringHLT = trackingMonHLT.clone(
38 FolderName =
'HLT/Tracking/iter0HP',
39 TrackProducer =
'hltIter0PFlowTrackSelectionHighPurity',
40 allTrackProducer =
'hltIter0PFlowTrackSelectionHighPurity',
41 doEffFromHitPatternVsPU =
True,
42 doEffFromHitPatternVsBX =
False,
43 doEffFromHitPatternVsLUMI =
False 45 iter1TracksMonitoringHLT = trackingMonHLT.clone(
46 FolderName =
'HLT/Tracking/iter1',
47 TrackProducer =
'hltIter1PFlowCtfWithMaterialTracks',
48 allTrackProducer =
'hltIter1PFlowCtfWithMaterialTracks',
49 doEffFromHitPatternVsPU =
True,
50 doEffFromHitPatternVsBX =
False,
51 doEffFromHitPatternVsLUMI =
False 53 iter1HPTracksMonitoringHLT = trackingMonHLT.clone(
54 FolderName =
'HLT/Tracking/iter1HP',
55 TrackProducer =
'hltIter1PFlowTrackSelectionHighPurity',
56 allTrackProducer =
'hltIter1PFlowTrackSelectionHighPurity',
57 doEffFromHitPatternVsPU =
True,
58 doEffFromHitPatternVsBX =
False,
59 doEffFromHitPatternVsLUMI =
False 61 iter2TracksMonitoringHLT = trackingMonHLT.clone(
62 FolderName =
'HLT/Tracking/iter2',
63 TrackProducer =
'hltIter2PFlowCtfWithMaterialTracks',
64 allTrackProducer =
'hltIter2PFlowCtfWithMaterialTracks',
65 doEffFromHitPatternVsPU =
True,
66 doEffFromHitPatternVsBX =
False,
67 doEffFromHitPatternVsLUMI =
False 69 iter2HPTracksMonitoringHLT = trackingMonHLT.clone(
70 FolderName =
'HLT/Tracking/iter2HP',
71 TrackProducer =
'hltIter2PFlowTrackSelectionHighPurity',
72 allTrackProducer =
'hltIter2PFlowTrackSelectionHighPurity',
73 doEffFromHitPatternVsPU =
True,
74 doEffFromHitPatternVsBX =
False,
75 doEffFromHitPatternVsLUMI =
False 77 iter2MergedTracksMonitoringHLT = trackingMonHLT.clone(
78 FolderName =
'HLT/Tracking/iter2Merged',
79 TrackProducer =
'hltIter2Merged',
80 allTrackProducer =
'hltIter2Merged',
81 doEffFromHitPatternVsPU =
True,
82 doEffFromHitPatternVsBX =
False,
83 doEffFromHitPatternVsLUMI =
False 85 iterHLTTracksMonitoringHLT = trackingMonHLT.clone(
86 FolderName =
'HLT/Tracking/tracks',
87 TrackProducer =
'hltMergedTracks',
88 allTrackProducer =
'hltMergedTracks',
89 doEffFromHitPatternVsPU =
True,
90 doEffFromHitPatternVsBX =
True,
91 doEffFromHitPatternVsLUMI =
True,
93 doPVPlots = cms.bool(
True),
94 doBSPlots = cms.bool(
True),
95 doSIPPlots = cms.bool(
True)
97 iter3TracksMonitoringHLT = trackingMonHLT.clone(
98 FolderName =
'HLT/Tracking/iter3Merged',
99 TrackProducer =
'hltIter3Merged',
100 allTrackProducer =
'hltIter3Merged' 102 iter4TracksMonitoringHLT = trackingMonHLT.clone(
103 FolderName =
'HLT/Tracking/iter4Merged',
104 TrackProducer =
'hltIter4Merged',
105 allTrackProducer =
'hltIter4Merged' 107 trackingMonitorHLT = cms.Sequence(
108 pixelTracksMonitoringHLT
109 + iter0HPTracksMonitoringHLT
112 + iter2MergedTracksMonitoringHLT
113 + iterHLTTracksMonitoringHLT
116 trackingMonitorHLTall = cms.Sequence(
117 pixelTracksMonitoringHLT
118 + iter0TracksMonitoringHLT
119 + iter0HPTracksMonitoringHLT
120 + iter1TracksMonitoringHLT
121 + iter1HPTracksMonitoringHLT
122 + iter2TracksMonitoringHLT
123 + iter2HPTracksMonitoringHLT
124 + iter2MergedTracksMonitoringHLT
125 + iterHLTTracksMonitoringHLT
130 doubletRecoveryHPTracksMonitoringHLT = trackingMonHLT.clone(
131 FolderName =
'HLT/Tracking/doubletRecoveryTracks',
132 TrackProducer =
'hltDoubletRecoveryPFlowTrackSelectionHighPurity',
133 allTrackProducer =
'hltDoubletRecoveryPFlowTrackSelectionHighPurity',
134 doEffFromHitPatternVsPU =
True,
135 doEffFromHitPatternVsBX =
False,
136 doEffFromHitPatternVsLUMI =
False 145 egmTrackingMonHLT = trackingMonHLT.clone(
146 primaryVertex =
"hltElectronsVertex",
147 doEffFromHitPatternVsPU =
False,
148 doEffFromHitPatternVsBX =
False,
149 doEffFromHitPatternVsLUMI =
False 151 gsfTracksMonitoringHLT = egmTrackingMonHLT.clone(
152 FolderName =
'HLT/EGM/Tracking/GSF',
153 TrackProducer =
'hltEgammaGsfTracks',
154 allTrackProducer =
'hltEgammaGsfTracks' 156 pixelTracksForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
157 FolderName =
'HLT/EGM/Tracking/pixelTracks',
158 TrackProducer =
'hltPixelTracksElectrons',
159 allTrackProducer =
'hltPixelTracksElectrons' 161 iter0ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
162 FolderName =
'HLT/EGM/Tracking/iter0',
163 TrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks',
164 allTrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks' 166 iter0HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
167 FolderName =
'HLT/EGM/Tracking/iter0HP',
168 TrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity',
169 allTrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity' 171 iter1ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
172 FolderName =
'HLT/EGM/Tracking/iter1',
173 TrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks',
174 allTrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks' 176 iter1HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
177 FolderName =
'HLT/EGM/Tracking/iter1HP',
178 TrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity',
179 allTrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity' 181 iter1MergedForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
182 FolderName =
'HLT/EGM/Tracking/iter1Merged',
183 TrackProducer =
'hltIter1MergedForElectrons',
184 allTrackProducer =
'hltIter1MergedForElectrons' 186 iter2ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
187 FolderName =
'HLT/EGM/Tracking/iter2',
188 TrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks',
189 allTrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks' 191 iter2HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
192 FolderName =
'HLT/EGM/Tracking/iter2HP',
193 TrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity',
194 allTrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity' 196 iterHLTTracksForElectronsMonitoringHLT = egmTrackingMonHLT.clone(
197 FolderName =
'HLT/EGM/Tracking/iter2Merged',
198 TrackProducer =
'hltIter2MergedForElectrons',
199 allTrackProducer =
'hltIter2MergedForElectrons' 202 egmTrackingMonitorHLT = cms.Sequence(
203 gsfTracksMonitoringHLT
204 + pixelTracksForElectronsTracksMonitoringHLT
205 + iter0HPForElectronsTracksMonitoringHLT
208 + iterHLTTracksForElectronsMonitoringHLT
211 trkHLTDQMSourceExtra = cms.Sequence(
214 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
215 run3_common.toReplaceWith(trackingMonitorHLT, cms.Sequence(pixelTracksMonitoringHLT + iterHLTTracksMonitoringHLT + doubletRecoveryHPTracksMonitoringHLT ))
216 run3_common.toReplaceWith(trackingMonitorHLTall, cms.Sequence(pixelTracksMonitoringHLT + iter0TracksMonitoringHLT + iterHLTTracksMonitoringHLT))
217 run3_common.toReplaceWith(egmTrackingMonitorHLT, cms.Sequence(gsfTracksMonitoringHLT))