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 iterHLTTracksMonitoringHLT = trackingMonHLT.clone()
57 iterHLTTracksMonitoringHLT.FolderName =
'HLT/Tracking/iter2Merged' 58 iterHLTTracksMonitoringHLT.TrackProducer =
'hltIter2Merged' 59 iterHLTTracksMonitoringHLT.allTrackProducer =
'hltIter2Merged' 61 iter3TracksMonitoringHLT = trackingMonHLT.clone()
62 iter3TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter3Merged' 63 iter3TracksMonitoringHLT.TrackProducer =
'hltIter3Merged' 64 iter3TracksMonitoringHLT.allTrackProducer =
'hltIter3Merged' 66 iter4TracksMonitoringHLT = trackingMonHLT.clone()
67 iter4TracksMonitoringHLT.FolderName =
'HLT/Tracking/iter4Merged' 68 iter4TracksMonitoringHLT.TrackProducer =
'hltIter4Merged' 69 iter4TracksMonitoringHLT.allTrackProducer =
'hltIter4Merged' 71 trackingMonitorHLT = cms.Sequence(
72 pixelTracksMonitoringHLT
73 + iter0HPTracksMonitoringHLT
76 + iterHLTTracksMonitoringHLT
79 trackingMonitorHLTall = cms.Sequence(
80 pixelTracksMonitoringHLT
81 + iter0TracksMonitoringHLT
82 + iter2HPTracksMonitoringHLT
83 + iter1TracksMonitoringHLT
84 + iter1HPTracksMonitoringHLT
85 + iter2TracksMonitoringHLT
86 + iter2HPTracksMonitoringHLT
87 + iterHLTTracksMonitoringHLT
98 egmTrackingMonHLT = trackingMonHLT.clone()
99 egmTrackingMonHLT.primaryVertex = cms.InputTag(
"hltElectronsVertex")
101 gsfTracksMonitoringHLT = egmTrackingMonHLT.clone()
102 gsfTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/GSF' 103 gsfTracksMonitoringHLT.TrackProducer =
'hltEgammaGsfTracks' 104 gsfTracksMonitoringHLT.allTrackProducer =
'hltEgammaGsfTracks' 106 pixelTracksForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
107 pixelTracksForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/pixelTracks' 108 pixelTracksForElectronsTracksMonitoringHLT.TrackProducer =
'hltPixelTracksElectrons' 109 pixelTracksForElectronsTracksMonitoringHLT.allTrackProducer =
'hltPixelTracksElectrons' 111 iter0ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
112 iter0ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter0' 113 iter0ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks' 114 iter0ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter0ElectronsCtfWithMaterialTracks' 116 iter0HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
117 iter0HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter0HP' 118 iter0HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity' 119 iter0HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter0ElectronsTrackSelectionHighPurity' 121 iter1ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
122 iter1ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter1' 123 iter1ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks' 124 iter1ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1ElectronsCtfWithMaterialTracks' 126 iter1HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
127 iter1HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter1HP' 128 iter1HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity' 129 iter1HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1ElectronsTrackSelectionHighPurity' 131 iter1MergedForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
132 iter1MergedForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter1Merged' 133 iter1MergedForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter1MergedForElectrons' 134 iter1MergedForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter1MergedForElectrons' 136 iter2ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
137 iter2ForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter2' 138 iter2ForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks' 139 iter2ForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter2ElectronsCtfWithMaterialTracks' 141 iter2HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone()
142 iter2HPForElectronsTracksMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter2HP' 143 iter2HPForElectronsTracksMonitoringHLT.TrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity' 144 iter2HPForElectronsTracksMonitoringHLT.allTrackProducer =
'hltIter2ElectronsTrackSelectionHighPurity' 146 iterHLTTracksForElectronsMonitoringHLT = egmTrackingMonHLT.clone()
147 iterHLTTracksForElectronsMonitoringHLT.FolderName =
'HLT/EG/Tracking/iter2Merged' 148 iterHLTTracksForElectronsMonitoringHLT.TrackProducer =
'hltIter2MergedForElectrons' 149 iterHLTTracksForElectronsMonitoringHLT.allTrackProducer =
'hltIter2MergedForElectrons' 152 egmTrackingMonitorHLT = cms.Sequence(
153 gsfTracksMonitoringHLT
154 + pixelTracksForElectronsTracksMonitoringHLT
155 + iter0HPForElectronsTracksMonitoringHLT
158 + iterHLTTracksForElectronsMonitoringHLT