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