CMS 3D CMS Logo

TrackingMonitoringPA_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi
4 PAtrackingMonHLT = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone()
5 PAtrackingMonHLT.beamSpot = cms.InputTag("hltOnlineBeamSpot")
6 PAtrackingMonHLT.primaryVertex = cms.InputTag("hltPixelVertices")
7 PAtrackingMonHLT.doAllPlots = cms.bool(False)
8 PAtrackingMonHLT.doLumiAnalysis = cms.bool(False)
9 PAtrackingMonHLT.doProfilesVsLS = cms.bool(True)
10 PAtrackingMonHLT.doDCAPlots = cms.bool(True)
11 PAtrackingMonHLT.doPUmonitoring = cms.bool(False)
12 PAtrackingMonHLT.doPlotsVsGoodPVtx = cms.bool(False)
13 PAtrackingMonHLT.doEffFromHitPatternVsPU = cms.bool(False)
14 PAtrackingMonHLT.pvNDOF = cms.int32(1)
15 PAtrackingMonHLT.numCut = cms.string(" pt >= 0.4 & quality('highPurity') ")
16 PAtrackingMonHLT.denCut = cms.string(" pt >= 0.4")
17 PAtrackingMonHLT.FolderName = cms.string("TrackingPA/GlobalParameters")
18 PAtrackingMonHLT.BSFolderName = cms.string("TrackingPA/ParametersVsBeamSpot")
19 
20 PApixelTracksMonitoringHLT = PAtrackingMonHLT.clone()
21 PApixelTracksMonitoringHLT.FolderName = 'HLT/TrackingPA/pixelTracks'
22 PApixelTracksMonitoringHLT.TrackProducer = 'hltPixelTracks'
23 PApixelTracksMonitoringHLT.allTrackProducer = 'hltPixelTracks'
24 
25 PApixelTracksForHighMultMonitoringHLT = PAtrackingMonHLT.clone()
26 PApixelTracksForHighMultMonitoringHLT.FolderName = 'HLT/TrackingPA/pixelTracksForHighMult'
27 PApixelTracksForHighMultMonitoringHLT.primaryVertex = 'hltPixelVerticesForHighMult'
28 PApixelTracksForHighMultMonitoringHLT.TrackProducer = 'hltPixelTracksForHighMult'
29 PApixelTracksForHighMultMonitoringHLT.allTrackProducer = 'hltPixelTracksForHighMult'
30 
31 PAiter0TracksMonitoringHLT = PAtrackingMonHLT.clone()
32 PAiter0TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter0'
33 PAiter0TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
34 PAiter0TracksMonitoringHLT.TrackProducer = 'hltPAIter0CtfWithMaterialTracks'
35 PAiter0TracksMonitoringHLT.allTrackProducer = 'hltPAIter0CtfWithMaterialTracks'
36 
37 PAiter1TracksMonitoringHLT = PAtrackingMonHLT.clone()
38 PAiter1TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter1'
39 PAiter1TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
40 PAiter1TracksMonitoringHLT.TrackProducer = 'hltPAIter1CtfWithMaterialTracks'
41 PAiter1TracksMonitoringHLT.allTrackProducer = 'hltPAIter1CtfWithMaterialTracks'
42 
43 PAiter2TracksMonitoringHLT = PAtrackingMonHLT.clone()
44 PAiter2TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter2'
45 PAiter2TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
46 PAiter2TracksMonitoringHLT.TrackProducer = 'hltPAIter2CtfWithMaterialTracks'
47 PAiter2TracksMonitoringHLT.allTrackProducer = 'hltPAIter2CtfWithMaterialTracks'
48 
49 PAiter3TracksMonitoringHLT = PAtrackingMonHLT.clone()
50 PAiter3TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter3'
51 PAiter3TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
52 PAiter3TracksMonitoringHLT.TrackProducer = 'hltPAIter3CtfWithMaterialTracks'
53 PAiter3TracksMonitoringHLT.allTrackProducer = 'hltPAIter3CtfWithMaterialTracks'
54 
55 PAiter4TracksMonitoringHLT = PAtrackingMonHLT.clone()
56 PAiter4TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter4'
57 PAiter4TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
58 PAiter4TracksMonitoringHLT.TrackProducer = 'hltPAIter4CtfWithMaterialTracks'
59 PAiter4TracksMonitoringHLT.allTrackProducer = 'hltPAIter4CtfWithMaterialTracks'
60 
61 PAiter5TracksMonitoringHLT = PAtrackingMonHLT.clone()
62 PAiter5TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter5'
63 PAiter5TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
64 PAiter5TracksMonitoringHLT.TrackProducer = 'hltPAIter5CtfWithMaterialTracks'
65 PAiter5TracksMonitoringHLT.allTrackProducer = 'hltPAIter5CtfWithMaterialTracks'
66 
67 PAiter6TracksMonitoringHLT = PAtrackingMonHLT.clone()
68 PAiter6TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter6'
69 PAiter6TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
70 PAiter6TracksMonitoringHLT.TrackProducer = 'hltPAIter6CtfWithMaterialTracks'
71 PAiter6TracksMonitoringHLT.allTrackProducer = 'hltPAIter6CtfWithMaterialTracks'
72 
73 PAiter7TracksMonitoringHLT = PAtrackingMonHLT.clone()
74 PAiter7TracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iter7'
75 PAiter7TracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
76 PAiter7TracksMonitoringHLT.TrackProducer = 'hltPAIter7CtfWithMaterialTracks'
77 PAiter7TracksMonitoringHLT.allTrackProducer = 'hltPAIter7CtfWithMaterialTracks'
78 
79 PAiterHLTTracksMonitoringHLT = PAtrackingMonHLT.clone()
80 PAiterHLTTracksMonitoringHLT.FolderName = 'HLT/TrackingPA/iterMerged'
81 PAiterHLTTracksMonitoringHLT.primaryVertex = 'hltPAOnlinePrimaryVertices'
82 PAiterHLTTracksMonitoringHLT.TrackProducer = 'hltPAIterativeTrackingMerged'
83 PAiterHLTTracksMonitoringHLT.allTrackProducer = 'hltPAIterativeTrackingMerged'
84 
85 PAtrackingMonitorHLT = cms.Sequence(
86  PApixelTracksMonitoringHLT
87  + PApixelTracksForHighMultMonitoringHLT
88  + PAiter0TracksMonitoringHLT
89  + PAiter1TracksMonitoringHLT
90  + PAiter2TracksMonitoringHLT
91  + PAiter3TracksMonitoringHLT
92  + PAiter4TracksMonitoringHLT
93  + PAiter5TracksMonitoringHLT
94  + PAiter6TracksMonitoringHLT
95  + PAiter7TracksMonitoringHLT
96  + PAiterHLTTracksMonitoringHLT
97 )