CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  TrackProducer = "generalTracks",
23  beamSpot = "offlineBeamSpot",
24  FolderName = 'Tracking/GenTk/GlobalParameters',
25  BSFolderName = 'Tracking/GenTk/BeamSpotParameters',
26  AlgoName = 'GenTk',
27  doSeedParameterHistos = False
28 )
29 
30 
31 
32 # Step0
33 TrackMonStep0 = TrackMon.clone(
34  TrackProducer = "zeroStepTracksWithQuality",
35  SeedProducer = "initialStepSeeds",
36  TCProducer = "initialStepTrackCandidates",
37  beamSpot = "offlineBeamSpot",
38  FolderName = 'Tracking/Step0/GlobalParameters',
39  BSFolderName = 'Tracking/Step0/BeamSpotParameters',
40  AlgoName = 'Step0',
41  doSeedParameterHistos = True,
42  doTrackCandHistos = True
43 )
44 
45 # Step1
46 TrackMonStep1 = TrackMon.clone(
47  TrackProducer = "preMergingFirstStepTracksWithQuality",
48  SeedProducer = "newSeedFromPairs",
49  TCProducer = "stepOneTrackCandidateMaker",
50  beamSpot = "offlineBeamSpot",
51  FolderName = 'Tracking/Step1/GlobalParameters',
52  BSFolderName = 'Tracking/Step1/BeamSpotParameters',
53  AlgoName = 'Step1',
54  doSeedParameterHistos = True,
55  doTrackCandHistos = True
56 )
57 
58 # Step2
59 TrackMonStep2 = TrackMon.clone(
60  TrackProducer = "secStep",
61  SeedProducer = "secTriplets",
62  TCProducer = "secTrackCandidates",
63  beamSpot = "offlineBeamSpot",
64  FolderName = 'Tracking/Step2/GlobalParameters',
65  BSFolderName = 'Tracking/Step2/BeamSpotParameters',
66  AlgoName = 'Step2',
67  doSeedParameterHistos = True,
68  doTrackCandHistos = True
69 )
70 
71 # Step4
72 TrackMonStep4 = TrackMon.clone(
73  TrackProducer = "pixellessStep",
74  SeedProducer = "fourthPLSeeds",
75  TCProducer = "fourthTrackCandidates",
76  beamSpot = "offlineBeamSpot",
77  FolderName = 'Tracking/Step4/GlobalParameters',
78  BSFolderName = 'Tracking/Step4/BeamSpotParameters',
79  AlgoName = 'Step4',
80  doSeedParameterHistos = True,
81  doTrackCandHistos = True
82 )
83 
84 # Step4
85 TrackMonStep5 = TrackMon.clone(
86  TrackProducer = "tobtecStep",
87  SeedProducer = "fifthSeeds",
88  TCProducer = "fifthTrackCandidates",
89  beamSpot = "offlineBeamSpot",
90  FolderName = 'Tracking/Step5/GlobalParameters',
91  BSFolderName = 'Tracking/Step5/BeamSpotParameters',
92  AlgoName = 'Step5',
93  doSeedParameterHistos = True,
94  doTrackCandHistos = True
95 )
96 
97 # high Purity
98 # ---------------------------------------------------------------------------#
99 
100 
101 
102 
103 
104 #-------------------------------------------------
105 # Paths
106 #-------------------------------------------------
107 
108 # out of the box
109 trkmonootb = cms.Sequence(
110  TrackMonGenTk
111  * TrackMonStep0
112  * TrackMonStep1
113  * TrackMonStep2
114 # * TrackMonStep3
115  * TrackMonStep4
116  * TrackMonStep5
117 )
118 
119 
120 
121 # all paths
122 trkmon = cms.Sequence(
123  trkmonootb
124  # * trkmonhp
125  # * trkmontight
126  # * trkmonloose
127 )
128