CMS 3D CMS Logo

MonitorTrackSTAMuons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # MonitorTrackGlobal
5 MonitorTrackSTAMuons = TrackMon.clone(
6  # input tags
7  TrackProducer = ("standAloneMuons","UpdatedAtVtx"),
8  SeedProducer = "combinedP5SeedsForCTF",
9  TCProducer = "ckfTrackCandidatesP5",
10  beamSpot = "offlineBeamSpot",
11  ClusterLabels = ('Tot',),
12 
13  # output parameters
14  AlgoName = 'sta',
15  Quality = '',
16  FolderName = 'Muons/standAloneMuonsUpdatedAtVtx',
17  BSFolderName = 'Muons/standAloneMuonsUpdatedAtVtx/BeamSpotParameters',
18 
19  # determines where to evaluate track parameters
20  # options: 'default' --> straight up track parametes
21  # 'ImpactPoint' --> evalutate at impact point
22  # 'InnerSurface' --> evalutate at innermost measurement state
23  # 'OuterSurface' --> evalutate at outermost measurement state
24  MeasurementState = 'default',
25 
26  # which plots to do
27  doTrackerSpecific = False,
28  doAllPlots = False,
29  doBeamSpotPlots = False,
30  doSeedParameterHistos = False,
31  doTrackCandHistos = False,
32  doDCAPlots = False,
33  doGeneralPropertiesPlots = True,
34  doHitPropertiesPlots = True,
35  doEffFromHitPatternVsPU = False,
36  doEffFromHitPatternVsBX = False,
37  #doGoodTrackPlots = False,
38  doMeasurementStatePlots = True,
39  doProfilesVsLS = False,
40  doRecHitVsPhiVsEtaPerTrack = False,
41  #doGoodTrackRecHitVsPhiVsEtaPerTrack = False,
42 
43  # which seed plots to do
44  doSeedNumberHisto= False,
45  doSeedVsClusterHisto = False,
46  doSeedPTHisto = False,
47  doSeedETAHisto = False,
48  doSeedPHIHisto = False,
49  doSeedPHIVsETAHisto = False,
50  doSeedThetaHisto = False,
51  doSeedQHisto = False,
52  doSeedDxyHisto = False,
53  doSeedDzHisto = False,
54  doSeedNRecHitsHisto = False,
55  doSeedNVsPhiProf = False,
56  doSeedNVsEtaProf = False,
57 
58  # paramters of the Track
59  # ============================================================
60 
61  # chi2
62  Chi2Bin = 250,
63  Chi2Max = 500.0,
64  Chi2Min = 0.0,
65  # chi2 dof
66  Chi2NDFBin = 200,
67  Chi2NDFMax = 19.5,
68  Chi2NDFMin = -0.5,
69  # chi^2 probability
70  Chi2ProbBin = 100,
71  Chi2ProbMax = 1.0,
72  Chi2ProbMin = 0.0,
73  # Number of Tracks per Event
74  TkSizeBin = 11,
75  TkSizeMax = 10.5,
76  TkSizeMin = -0.5,
77  # Number of seeds per Event
78  TkSeedSizeBin = 20,
79  TkSeedSizeMax = 19.5,
80  TkSeedSizeMin = -0.5,
81  # Number of Track Cadidates per Event
82  TCSizeBin = 150,
83  TCSizeMax = 149.5,
84  TCSizeMin = -0.5,
85  # num rec hits
86  TrackQBin = 8,
87  TrackQMax = 2.5,
88  TrackQMin = -2.5,
89  # num rec hits in seed
90  SeedHitBin = 6,
91  SeedHitMax = 5.5,
92  SeedHitMin = -0.5,
93  # num rec hits per track candidate
94  TCHitBin = 40,
95  TCHitMax = 39.5,
96  TCHitMin = -0.5,
97  # num rec hits
98  RecHitBin = 120,
99  RecHitMax = 120.0,
100  RecHitMin = 0.0,
101  # mean rec hits
102  MeanHitBin = 30,
103  MeanHitMax = 29.5,
104  MeanHitMin = -0.5,
105  # num TOB rec hits
106  TOBHitBin = cms.int32(15),
107  TOBHitMin = cms.double(-0.5),
108  TOBHitMax = cms.double(14.5),
109  # num TIB rec hits
110  TIBHitBin = cms.int32(15),
111  TIBHitMin = cms.double(-0.5),
112  TIBHitMax = cms.double(14.5),
113  # num TID rec hits
114  TIDHitBin = cms.int32(15),
115  TIDHitMin = cms.double(-0.5),
116  TIDHitMax = cms.double(14.5),
117  # num TEC rec hits
118  TECHitBin = cms.int32(25),
119  TECHitMin = cms.double(-0.5),
120  TECHitMax = cms.double(24.5),
121  # num PXB rec hits
122  PXBHitBin = cms.int32(10),
123  PXBHitMin = cms.double(-0.5),
124  PXBHitMax = cms.double(9.5),
125  # num PXF rec hits
126  PXFHitBin = cms.int32(10),
127  PXFHitMin = cms.double(-0.5),
128  PXFHitMax = cms.double(9.5),
129  # num rec hits lost
130  RecLostBin = 120,
131  RecLostMax = 20.,
132  RecLostMin = 0.0,
133  # num layers
134  RecLayBin = 120,
135  RecLayMax = 120.0,
136  RecLayMin = 0.0,
137  # mean layers
138  MeanLayBin = 20,
139  MeanLayMax = 19.5,
140  MeanLayMin = -0.5,
141  # num TOB layers
142  TOBLayBin = 10,
143  TOBLayMax = 9.5,
144  TOBLayMin = -0.5,
145  # num TIB layers
146  TIBLayBin = 6,
147  TIBLayMax = 5.5,
148  TIBLayMin = -0.5,
149  # num TID layers
150  TIDLayBin = 6,
151  TIDLayMax = 5.5,
152  TIDLayMin = -0.5,
153  # num TEC layers
154  TECLayBin = 15,
155  TECLayMax = 14.5,
156  TECLayMin = -0.5,
157  # num PXB layers
158  PXBLayBin = 6,
159  PXBLayMax = 5.5,
160  PXBLayMin = -0.5,
161  # num PXF layers
162  PXFLayBin = 6,
163  PXFLayMax = 5.5,
164  PXFLayMin = -0.5,
165  # Track |p|
166  TrackPBin = 1000,
167  TrackPMax = 1000.,
168  TrackPMin = 0.,
169  # Track pT
170  TrackPtBin = 1000,
171  TrackPtMax = 1000.,
172  TrackPtMin = 0.,
173  # Track px
174  TrackPxBin = 1000,
175  TrackPxMax = 500.0,
176  TrackPxMin = -500.0,
177  # Track py
178  TrackPyBin = 1000,
179  TrackPyMax = 500.0,
180  TrackPyMin = -500.0,
181  # Track pz
182  TrackPzMin = -500.0,
183  TrackPzMax = 500.0,
184  TrackPzBin = 1000,
185  # track theta
186  ThetaBin = 100,
187  ThetaMax = 3.2,
188  ThetaMin = 0.0,
189  # track eta
190  EtaBin = 100,
191  EtaMax = 3.0,
192  EtaMin = -3.0,
193  # track phi
194  PhiBin = 36,
195  PhiMax = 3.2,
196  PhiMin = -3.2,
197  # Track |p| error
198  pErrBin = 100,
199  pErrMax = 10.0,
200  pErrMin = 0.0,
201  # Track pT error
202  ptErrBin = 100,
203  ptErrMax = 10.0,
204  ptErrMin = 0.0,
205  # Track px error
206  pxErrBin = 100,
207  pxErrMax = 10.0,
208  pxErrMin = 0.0,
209  # Track py error
210  pyErrBin = 100,
211  pyErrMax = 10.0,
212  pyErrMin = 0.0,
213  # Track pz error
214  pzErrBin = 100,
215  pzErrMax = 10.0,
216  pzErrMin = 0.0,
217  # track eta error
218  etaErrBin = 100,
219  etaErrMax = 0.5,
220  etaErrMin = 0.0,
221  # track phi Error
222  phiErrBin = 100,
223  phiErrMax = 1.0,
224  phiErrMin = 0.0,
225  # PCA x position
226  VXBin = 20,
227  VXMax = 20.0,
228  VXMin = -20.0,
229  # PCA y position
230  VYBin = 20,
231  VYMax = 20.0,
232  VYMin = -20.0,
233  # PCA z position
234  VZBin = 50,
235  VZMax = 100.0,
236  VZMin = -100.0,
237  # PCA x position for 2D plot
238  X0Bin = 100,
239  X0Max = 3.0,
240  X0Min = -3.0,
241  # PCA y position for 2D plot
242  Y0Bin = 100,
243  Y0Max = 3.0,
244  Y0Min = -3.0,
245  # PCA z position for 2D plot
246  Z0Bin = 60,
247  Z0Max = 30.0,
248  Z0Min = -30.0,
249  # Track dxy (transverse impact parameter)
250  DxyBin = 100,
251  DxyMax = 0.5,
252  DxyMin = -0.5,
253  # Seed dxy (transverse impact parameter)
254  SeedDxyBin = 100,
255  SeedDxyMax = 0.5,
256  SeedDxyMin = -0.5,
257  # Seed dz (longitudinal impact parameter)
258  SeedDzBin = 200,
259  SeedDzMax = 30.0,
260  SeedDzMin = -30.0,
261  # Track Candidate dxy (transverse impact parameter)
262  TCDxyBin = 200,
263  TCDxyMax = 100.0,
264  TCDxyMin = -100.0,
265  # Track Candidate dz (transverse impact parameter)
266  TCDzBin = 200,
267  TCDzMax = 400.0,
268  TCDzMin = -400.0,
269  # NCluster Pixel
270  NClusPxBin = 50,
271  NClusPxMax = 1999.5,
272  NClusPxMin = -0.5,
273  # NCluster Strip
274  NClusStrBin = 150,
275  NClusStrMax = 14999.5,
276  NClusStrMin = -0.5,
277  # NCluster 2D
278  NClus2DPxBin = cms.int32(20),
279  NClus2DPxMax = cms.double(1999.5),
280  NClus2DPxMin = cms.double(-0.5),
281  NClus2DStrBin = cms.int32(50),
282  NClus2DStrMax = cms.double(14999.5),
283  NClus2DStrMin = cms.double(-0.5),
284  # NCluster Vs Tracks
285  NClus2DTotBin = cms.int32(50),
286  NClus2DTotMax = cms.double(14999.5),
287  NClus2DTotMin = cms.double(-0.5),
288  NTrk2D = TrackMon.NTrk2D.clone(
289  NTrk2DBin = 20,
290  NTrk2DMax = 199.5,
291  NTrk2DMin = -0.5
292  ),
293  TTRHBuilder = 'WithTrackAngle',
294  # For plots vs LS
295  LSBin = 2000,
296  LSMin = 0.,
297  LSMax = 2000.,
298  # Luminosity based analysis
299  doLumiAnalysis = False
300 )