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' 26 iter0TracksMonitoringHLT = trackingMonHLT.clone()
27 iter0TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter0' 28 iter0TracksMonitoringHLT.TrackProducer =
'hltIter0PFlowCtfWithMaterialTracks' 29 iter0TracksMonitoringHLT.allTrackProducer =
'hltIter0PFlowCtfWithMaterialTracks' 31 iter0HPTracksMonitoringHLT = trackingMonHLT.clone()
32 iter0HPTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter0HP' 33 iter0HPTracksMonitoringHLT.TrackProducer =
'hltIter0PFlowTrackSelectionHighPurity' 34 iter0HPTracksMonitoringHLT.allTrackProducer =
'hltIter0PFlowTrackSelectionHighPurity' 36 iter1TracksMonitoringHLT = trackingMonHLT.clone()
37 iter1TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter1' 38 iter1TracksMonitoringHLT.TrackProducer =
'hltIter1PFlowCtfWithMaterialTracks' 39 iter1TracksMonitoringHLT.allTrackProducer =
'hltIter1PFlowCtfWithMaterialTracks' 41 iter1HPTracksMonitoringHLT = trackingMonHLT.clone()
42 iter1HPTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter1HP' 43 iter1HPTracksMonitoringHLT.TrackProducer =
'hltIter1PFlowTrackSelectionHighPurity' 44 iter1HPTracksMonitoringHLT.allTrackProducer =
'hltIter1PFlowTrackSelectionHighPurity' 46 iter2TracksMonitoringHLT = trackingMonHLT.clone()
47 iter2TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2' 48 iter2TracksMonitoringHLT.TrackProducer =
'hltIter2PFlowCtfWithMaterialTracks' 49 iter2TracksMonitoringHLT.allTrackProducer =
'hltIter2PFlowCtfWithMaterialTracks' 51 iter2HPTracksMonitoringHLT = trackingMonHLT.clone()
52 iter2HPTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2HP' 53 iter2HPTracksMonitoringHLT.TrackProducer =
'hltIter2PFlowTrackSelectionHighPurity' 54 iter2HPTracksMonitoringHLT.allTrackProducer =
'hltIter2PFlowTrackSelectionHighPurity' 56 iter2MergedTracksMonitoringHLT = trackingMonHLT.clone()
57 iter2MergedTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2Merged' 58 iter2MergedTracksMonitoringHLT.TrackProducer =
'hltIter2Merged' 59 iter2MergedTracksMonitoringHLT.allTrackProducer =
'hltIter2Merged' 61 iterHLTTracksMonitoringHLT = trackingMonHLT.clone()
62 iterHLTTracksMonitoringHLT.FolderName =
'HLT/Tracking/tracks' 63 iterHLTTracksMonitoringHLT.TrackProducer =
'hltMergedTracks' 64 iterHLTTracksMonitoringHLT.allTrackProducer =
'hltMergedTracks' 66 iter3TracksMonitoringHLT = trackingMonHLT.clone()
67 iter3TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter3Merged' 68 iter3TracksMonitoringHLT.TrackProducer =
'hltIter3Merged' 69 iter3TracksMonitoringHLT.allTrackProducer =
'hltIter3Merged' 71 iter4TracksMonitoringHLT = trackingMonHLT.clone()
72 iter4TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter4Merged' 73 iter4TracksMonitoringHLT.TrackProducer =
'hltIter4Merged' 74 iter4TracksMonitoringHLT.allTrackProducer =
'hltIter4Merged' 76 trackingMonitorHLT = cms.Sequence(
77 pixelTracksMonitoringHLT
78 + iter0HPTracksMonitoringHLT
81 + iter2MergedTracksMonitoringHLT
82 + iterHLTTracksMonitoringHLT
85 trackingMonitorHLTall = cms.Sequence(
86 pixelTracksMonitoringHLT
87 + iter0TracksMonitoringHLT
88 + iter2HPTracksMonitoringHLT
89 + iter1TracksMonitoringHLT
90 + iter1HPTracksMonitoringHLT
91 + iter2TracksMonitoringHLT
92 + iter2HPTracksMonitoringHLT
93 + iter2MergedTracksMonitoringHLT
94 + iterHLTTracksMonitoringHLT
105 egmTrackingMonHLT = trackingMonHLT.clone()
106 egmTrackingMonHLT.primaryVertex = cms.InputTag(
"hltElectronsVertex")
108 gsfTracksMonitoringHLT = egmTrackingMonHLT.clone()
109 gsfTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/GSF' 110 gsfTracksMonitoringHLT.TrackProducer =
'hltEgammaGsfTracks' 111 gsfTracksMonitoringHLT.allTrackProducer =
'hltEgammaGsfTracks' 113 pixelTracksForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
114 pixelTracksForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/pixelTracks' 115 pixelTracksForElectronsTracksMonitoringHLT.TrackProducer =
'hltPixelTracksElectrons' 116 pixelTracksForElectronsTracksMonitoringHLT.allTrackProducer =
'hltPixelTracksElectrons' 118 iter0ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
119 iter0ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter0' 120 iter0ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks' 121 iter0ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks' 123 iter0HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
124 iter0HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter0HP' 125 iter0HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity' 126 iter0HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity' 128 iter1ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
129 iter1ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter1' 130 iter1ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks' 131 iter1ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks' 133 iter1HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
134 iter1HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter1HP' 135 iter1HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity' 136 iter1HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity' 138 iter1MergedForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
139 iter1MergedForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter1Merged' 140 iter1MergedForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1MergedForElectrons' 141 iter1MergedForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1MergedForElectrons' 143 iter2ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
144 iter2ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter2' 145 iter2ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks' 146 iter2ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks' 148 iter2HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
149 iter2HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter2HP' 150 iter2HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity' 151 iter2HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity' 153 iterHLTTracksForElectronsMonitoringHLT = egmTrackingMonHLT.clone()
154 iterHLTTracksForElectronsMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter2Merged' 155 iterHLTTracksForElectronsMonitoringHLT.TrackProducer =
'hltIter2MergedForElectrons' 156 iterHLTTracksForElectronsMonitoringHLT.allTrackProducer =
'hltIter2MergedForElectrons' 159 egmTrackingMonitorHLT = cms.Sequence(
160 gsfTracksMonitoringHLT
161 + pixelTracksForElectronsTracksMonitoringHLT
162 + iter0HPForElectronsTracksMonitoringHLT
165 + iterHLTTracksForElectronsMonitoringHLT