CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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(False)
10 trackingMonHLT.pvNDOF = cms.int32(1)
11 
12 pixelTracksMonitoringHLT = trackingMonHLT.clone()
13 pixelTracksMonitoringHLT.FolderName = 'HLT/Tracking/pixelTracks'
14 pixelTracksMonitoringHLT.TrackProducer = 'hltPixelTracks'
15 pixelTracksMonitoringHLT.allTrackProducer = 'hltPixelTracks'
16 
17 iter0TracksMonitoringHLT = trackingMonHLT.clone()
18 iter0TracksMonitoringHLT.FolderName = 'HLT/Tracking/iter0'
19 iter0TracksMonitoringHLT.TrackProducer = 'hltIter0PFlowCtfWithMaterialTracks'
20 iter0TracksMonitoringHLT.allTrackProducer = 'hltIter0PFlowCtfWithMaterialTracks'
21 
22 iter0HPTracksMonitoringHLT = trackingMonHLT.clone()
23 iter0HPTracksMonitoringHLT.FolderName = 'HLT/Tracking/iter0HP'
24 iter0HPTracksMonitoringHLT.TrackProducer = 'hltIter0PFlowTrackSelectionHighPurity'
25 iter0HPTracksMonitoringHLT.allTrackProducer = 'hltIter0PFlowTrackSelectionHighPurity'
26 
27 iter1TracksMonitoringHLT = trackingMonHLT.clone()
28 iter1TracksMonitoringHLT.FolderName = 'HLT/Tracking/iter1'
29 iter1TracksMonitoringHLT.TrackProducer = 'hltIter1PFlowCtfWithMaterialTracks'
30 iter1TracksMonitoringHLT.allTrackProducer = 'hltIter1PFlowCtfWithMaterialTracks'
31 
32 iter1HPTracksMonitoringHLT = trackingMonHLT.clone()
33 iter1HPTracksMonitoringHLT.FolderName = 'HLT/Tracking/iter1HP'
34 iter1HPTracksMonitoringHLT.TrackProducer = 'hltIter1PFlowTrackSelectionHighPurity'
35 iter1HPTracksMonitoringHLT.allTrackProducer = 'hltIter1PFlowTrackSelectionHighPurity'
36 
37 iter2TracksMonitoringHLT = trackingMonHLT.clone()
38 iter2TracksMonitoringHLT.FolderName = 'HLT/Tracking/iter2'
39 iter2TracksMonitoringHLT.TrackProducer = 'hltIter2PFlowCtfWithMaterialTracks'
40 iter2TracksMonitoringHLT.allTrackProducer = 'hltIter2PFlowCtfWithMaterialTracks'
41 
42 iter2HPTracksMonitoringHLT = trackingMonHLT.clone()
43 iter2HPTracksMonitoringHLT.FolderName = 'HLT/Tracking/iter2HP'
44 iter2HPTracksMonitoringHLT.TrackProducer = 'hltIter2PFlowTrackSelectionHighPurity'
45 iter2HPTracksMonitoringHLT.allTrackProducer = 'hltIter2PFlowTrackSelectionHighPurity'
46 
47 iterHLTTracksMonitoringHLT = trackingMonHLT.clone()
48 iterHLTTracksMonitoringHLT.FolderName = 'HLT/Tracking/iter2Merged'
49 iterHLTTracksMonitoringHLT.TrackProducer = 'hltIter2Merged'
50 iterHLTTracksMonitoringHLT.allTrackProducer = 'hltIter2Merged'
51 
52 iter3TracksMonitoringHLT = trackingMonHLT.clone()
53 iter3TracksMonitoringHLT.FolderName = 'HLT/Tracking/iter3Merged'
54 iter3TracksMonitoringHLT.TrackProducer = 'hltIter3Merged'
55 iter3TracksMonitoringHLT.allTrackProducer = 'hltIter3Merged'
56 
57 iter4TracksMonitoringHLT = trackingMonHLT.clone()
58 iter4TracksMonitoringHLT.FolderName = 'HLT/Tracking/iter4Merged'
59 iter4TracksMonitoringHLT.TrackProducer = 'hltIter4Merged'
60 iter4TracksMonitoringHLT.allTrackProducer = 'hltIter4Merged'
61 
62 trackingMonitorHLT = cms.Sequence(
63  pixelTracksMonitoringHLT
64  + iter0HPTracksMonitoringHLT
65 # + iter1HPTracksMonitoringHLT
66 # + iter2HPTracksMonitoringHLT
67  + iterHLTTracksMonitoringHLT
68 )
69 
70 trackingMonitorHLTall = cms.Sequence(
71  pixelTracksMonitoringHLT
72  + iter0TracksMonitoringHLT
73  + iter2HPTracksMonitoringHLT
74  + iter1TracksMonitoringHLT
75  + iter1HPTracksMonitoringHLT
76  + iter2TracksMonitoringHLT
77  + iter2HPTracksMonitoringHLT
78  + iterHLTTracksMonitoringHLT
79 # + iter3TracksMonitoringHLT
80 # + iter4TracksMonitoringHLT
81 )
82