CMS 3D CMS Logo

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