CMS 3D CMS Logo

TrackingMonitorAllTrackingSequences_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #-------------------------------------------------
4 # Tracking Monitor
5 #-------------------------------------------------
7 
8 # properties
9 TrackMon.MeasurementState = cms.string('ImpactPoint')
10 
11 # which plots to do
12 TrackMon.doTrackerSpecific = cms.bool(True)
13 TrackMon.doAllPlots = cms.bool(True)
14 TrackMon.doBeamSpotPlots = cms.bool(True)
15 TrackMon.doSeedParameterHistos = cms.bool(False)
16 
17 # out of the box
18 # ---------------------------------------------------------------------------#
19 
20 # generalTracks
21 TrackMonGenTk = TrackMon.clone()
22 TrackMonGenTk.TrackProducer = cms.InputTag("generalTracks")
23 TrackMonGenTk.beamSpot = cms.InputTag("offlineBeamSpot")
24 TrackMonGenTk.FolderName = cms.string('Tracking/GenTk/GlobalParameters')
25 TrackMonGenTk.BSFolderName = cms.string('Tracking/GenTk/BeamSpotParameters')
26 TrackMonGenTk.AlgoName = cms.string('GenTk')
27 TrackMonGenTk.doSeedParameterHistos = cms.bool(False)
28 
29 
30 
31 # Step0
32 TrackMonStep0 = TrackMon.clone()
33 TrackMonStep0.TrackProducer = cms.InputTag("zeroStepTracksWithQuality")
34 TrackMonStep0.SeedProducer = cms.InputTag("initialStepSeeds")
35 TrackMonStep0.TCProducer = cms.InputTag("initialStepTrackCandidates")
36 TrackMonStep0.beamSpot = cms.InputTag("offlineBeamSpot")
37 TrackMonStep0.FolderName = cms.string('Tracking/Step0/GlobalParameters')
38 TrackMonStep0.BSFolderName = cms.string('Tracking/Step0/BeamSpotParameters')
39 TrackMonStep0.AlgoName = cms.string('Step0')
40 TrackMonStep0.doSeedParameterHistos = cms.bool(True)
41 TrackMonStep0.doTrackCandHistos = cms.bool(True)
42 
43 # Step1
44 TrackMonStep1 = TrackMon.clone()
45 TrackMonStep1.TrackProducer = cms.InputTag("preMergingFirstStepTracksWithQuality")
46 TrackMonStep1.SeedProducer = cms.InputTag("newSeedFromPairs")
47 TrackMonStep1.TCProducer = cms.InputTag("stepOneTrackCandidateMaker")
48 TrackMonStep1.beamSpot = cms.InputTag("offlineBeamSpot")
49 TrackMonStep1.FolderName = cms.string('Tracking/Step1/GlobalParameters')
50 TrackMonStep1.BSFolderName = cms.string('Tracking/Step1/BeamSpotParameters')
51 TrackMonStep1.AlgoName = cms.string('Step1')
52 TrackMonStep1.doSeedParameterHistos = cms.bool(True)
53 TrackMonStep1.doTrackCandHistos = cms.bool(True)
54 
55 # Step2
56 TrackMonStep2 = TrackMon.clone()
57 TrackMonStep2.TrackProducer = cms.InputTag("secStep")
58 TrackMonStep2.SeedProducer = cms.InputTag("secTriplets")
59 TrackMonStep2.TCProducer = cms.InputTag("secTrackCandidates")
60 TrackMonStep2.beamSpot = cms.InputTag("offlineBeamSpot")
61 TrackMonStep2.FolderName = cms.string('Tracking/Step2/GlobalParameters')
62 TrackMonStep2.BSFolderName = cms.string('Tracking/Step2/BeamSpotParameters')
63 TrackMonStep2.AlgoName = cms.string('Step2')
64 TrackMonStep2.doSeedParameterHistos = cms.bool(True)
65 TrackMonStep2.doTrackCandHistos = cms.bool(True)
66 
67 # Step4
68 TrackMonStep4 = TrackMon.clone()
69 TrackMonStep4.TrackProducer = cms.InputTag("pixellessStep")
70 TrackMonStep4.SeedProducer = cms.InputTag("fourthPLSeeds")
71 TrackMonStep4.TCProducer = cms.InputTag("fourthTrackCandidates")
72 TrackMonStep4.beamSpot = cms.InputTag("offlineBeamSpot")
73 TrackMonStep4.FolderName = cms.string('Tracking/Step4/GlobalParameters')
74 TrackMonStep4.BSFolderName = cms.string('Tracking/Step4/BeamSpotParameters')
75 TrackMonStep4.AlgoName = cms.string('Step4')
76 TrackMonStep4.doSeedParameterHistos = cms.bool(True)
77 TrackMonStep4.doTrackCandHistos = cms.bool(True)
78 
79 # Step4
80 TrackMonStep5 = TrackMon.clone()
81 TrackMonStep5.TrackProducer = cms.InputTag("tobtecStep")
82 TrackMonStep5.SeedProducer = cms.InputTag("fifthSeeds")
83 TrackMonStep5.TCProducer = cms.InputTag("fifthTrackCandidates")
84 TrackMonStep5.beamSpot = cms.InputTag("offlineBeamSpot")
85 TrackMonStep5.FolderName = cms.string('Tracking/Step5/GlobalParameters')
86 TrackMonStep5.BSFolderName = cms.string('Tracking/Step5/BeamSpotParameters')
87 TrackMonStep5.AlgoName = cms.string('Step5')
88 TrackMonStep5.doSeedParameterHistos = cms.bool(True)
89 TrackMonStep5.doTrackCandHistos = cms.bool(True)
90 
91 # high Purity
92 # ---------------------------------------------------------------------------#
93 
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 #-------------------------------------------------
109 # Paths
110 #-------------------------------------------------
111 
112 # out of the box
113 trkmonootb = cms.Sequence(
114  TrackMonGenTk
115  * TrackMonStep0
116  * TrackMonStep1
117  * TrackMonStep2
118 # * TrackMonStep3
119  * TrackMonStep4
120  * TrackMonStep5
121 )
122 
123 
124 
125 # all paths
126 trkmon = cms.Sequence(
127  trkmonootb
128  # * trkmonhp
129  # * trkmontight
130  # * trkmonloose
131 )
132