15 def addSPHistograms(montool, name):
16 if name
in [
'FS',
'JetFS',
'FullScan',
'fullScan',
'fullScanUTT',
'jet']:
17 montool.defineHistogram(
'roi_nSPsPIX', path=
'EXPERT',type=
'TH1F',title=
"Number of Pixel SPs", xbins = 500, xmin=-0.5, xmax=49999.5)
18 montool.defineHistogram(
'roi_nSPsSCT', path=
'EXPERT',type=
'TH1F',title=
"Number of SCT SPs", xbins = 500, xmin=-0.5, xmax=99999.5)
19 montool.defineHistogram(
'roi_phiWidth',path=
'EXPERT',type=
'TH1F',title=
"Phi width of the input RoI",xbins = 100, xmin=0, xmax=6.4)
20 montool.defineHistogram(
'roi_etaWidth',path=
'EXPERT',type=
'TH1F',title=
"Eta width of the input RoI",xbins = 100, xmin=0, xmax=5)
22 montool.defineHistogram(
'roi_nSPsPIX', path=
'EXPERT',type=
'TH1F',title=
"Number of Pixel SPs", xbins = 50, xmin=-0.5, xmax=4999.5)
23 montool.defineHistogram(
'roi_nSPsSCT', path=
'EXPERT',type=
'TH1F',title=
"Number of SCT SPs", xbins = 50, xmin=-0.5, xmax=4999.5)
24 montool.defineHistogram(
'roi_phiWidth',path=
'EXPERT',type=
'TH1F',title=
"Phi width of the input RoI",xbins = 100, xmin=0, xmax=1.0)
25 montool.defineHistogram(
'roi_etaWidth',path=
'EXPERT',type=
'TH1F',title=
"Eta width of the input RoI",xbins = 100, xmin=0, xmax=1.0)
27 montool.defineHistogram(
'roi_eta', path=
'EXPERT',type=
'TH1F',title=
'Eta of the input RoI;;Entries', xbins=100, xmin=-5, xmax=5)
28 montool.defineHistogram(
'roi_phi', path=
'EXPERT',type=
'TH1F',title=
"Phi of the input RoI",xbins = 100, xmin=-3.2, xmax=3.2)
29 montool.defineHistogram(
'roi_z', path=
'EXPERT',type=
'TH1F',title=
"z of the input RoI",xbins = 200, xmin=-400, xmax=400)
30 montool.defineHistogram(
'roi_zWidth', path=
'EXPERT',type=
'TH1F',title=
"z width of the input RoI",xbins = 100, xmin=0, xmax=500)
32 def addDataErrorHistograms(montool):
33 montool.defineHistogram(
'roi_lastStageExecuted',path=
'EXPERT',type=
'TH1F',title=
"Last Step Successfully Executed", xbins = 8 , xmin=-0.5, xmax=7.5,
34 xlabels=[
"Start",
"GetRoI",
"GetSPs",
"ZFinder",
"Triplets",
"TrackMaker",
"TrackFitter",
"TrackConverter"])
36 def addTimingHistograms(montool, name):
37 if name
in [
'FS',
'JetFS',
'FullScan',
'fullScan',
'fullScanUTT',
'jet']:
38 montool.defineHistogram(
'roi_nSPs, TIME_PattReco', path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nSPs", xbins = 200, xmin=0.0, xmax=200000.0, ybins = 100, ymin=0.0, ymax=5000.0)
39 montool.defineHistogram(
'roi_nTracks, TIME_PattReco',path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nTracks", xbins = 50, xmin=0.0, xmax=5000.0, ybins = 100, ymin=0.0, ymax=5000.0)
40 montool.defineHistogram(
'TIME_Total', path=
'EXPERT',type=
'TH1F',title=
"Total time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
41 montool.defineHistogram(
'TIME_PattReco', path=
'EXPERT',type=
'TH1F',title=
"Pure PattReco time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
42 montool.defineHistogram(
'TIME_SpacePointConversion', path=
'EXPERT',type=
'TH1F',title=
"SP Conversion time (ms)", xbins = 100, xmin=0.0, xmax=100.0)
43 montool.defineHistogram(
'TIME_ZFinder', path=
'EXPERT',type=
'TH1F',title=
"ZFinder time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
44 montool.defineHistogram(
'TIME_Triplets', path=
'EXPERT',type=
'TH1F',title=
"Triplets Making time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
45 montool.defineHistogram(
'TIME_CmbTrack', path=
'EXPERT',type=
'TH1F',title=
"Combined Tracking time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
46 montool.defineHistogram(
'TIME_TrackFitter', path=
'EXPERT',type=
'TH1F',title=
"Track Fitter time (ms)", xbins = 200, xmin=0.0, xmax=1000.0)
47 elif name==
'jetSuper':
48 montool.defineHistogram(
'roi_nSPs, TIME_PattR1eco', path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nSPs", xbins = 200, xmin=0.0, xmax=3000.0, ybins = 100, ymin=0.0, ymax=1000.0)
49 montool.defineHistogram(
'roi_nTracks, TIME_PattReco',path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nTracks", xbins = 50, xmin=0.0, xmax=200.0, ybins = 100, ymin=0.0, ymax=1000.0)
50 montool.defineHistogram(
'TIME_Total', path=
'EXPERT',type=
'TH1F',title=
"Total time (ms)", xbins = 200, xmin=0.0, xmax=2000.0)
51 montool.defineHistogram(
'TIME_PattReco', path=
'EXPERT',type=
'TH1F',title=
"Pure PattReco time (ms)", xbins = 200, xmin=0.0, xmax=1000.0)
52 montool.defineHistogram(
'TIME_SpacePointConversion', path=
'EXPERT',type=
'TH1F',title=
"SP Conversion time (ms)", xbins = 100, xmin=0.0, xmax=100.0)
53 montool.defineHistogram(
'TIME_ZFinder', path=
'EXPERT',type=
'TH1F',title=
"ZFinder time (ms)", xbins = 200, xmin=0.0, xmax=1000.0)
54 montool.defineHistogram(
'TIME_Triplets', path=
'EXPERT',type=
'TH1F',title=
"Triplets Making time (ms)", xbins = 200, xmin=0.0, xmax=1000.0)
55 montool.defineHistogram(
'TIME_CmbTrack', path=
'EXPERT',type=
'TH1F',title=
"Combined Tracking time (ms)", xbins = 200, xmin=0.0, xmax=1000.0)
56 montool.defineHistogram(
'TIME_TrackFitter', path=
'EXPERT',type=
'TH1F',title=
"Track Fitter time (ms)", xbins = 200, xmin=0.0, xmax=200.0)
57 elif name
in [
'beamSpot',
'beamSpotFS',
'bphysics',
'bmumux']:
58 montool.defineHistogram(
'roi_nSPs, TIME_PattReco', path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nSPs", xbins = 200, xmin=0.0, xmax=3000.0, ybins = 100, ymin=0.0, ymax=2000.0)
59 montool.defineHistogram(
'roi_nTracks, TIME_PattReco',path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nTracks", xbins = 50, xmin=0.0, xmax=200.0, ybins = 100, ymin=0.0, ymax=2000.0)
60 montool.defineHistogram(
'TIME_Total', path=
'EXPERT',type=
'TH1F',title=
"Total time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
61 montool.defineHistogram(
'TIME_PattReco', path=
'EXPERT',type=
'TH1F',title=
"Pure PattReco time (ms)", xbins = 200, xmin=0.0, xmax=2000.0)
62 montool.defineHistogram(
'TIME_SpacePointConversion', path=
'EXPERT',type=
'TH1F',title=
"SP Conversion time (ms)", xbins = 50, xmin=0.0, xmax=50.0)
63 montool.defineHistogram(
'TIME_Triplets', path=
'EXPERT',type=
'TH1F',title=
"Triplets Making time (ms)", xbins = 200, xmin=0.0, xmax=2000.0)
64 montool.defineHistogram(
'TIME_CmbTrack', path=
'EXPERT',type=
'TH1F',title=
"Combined Tracking time (ms)", xbins = 200, xmin=0.0, xmax=2000.0)
65 montool.defineHistogram(
'TIME_TrackFitter', path=
'EXPERT',type=
'TH1F',title=
"Track Fitter time (ms)", xbins = 200, xmin=0.0, xmax=200.0)
66 elif name
in [
'fullScanLRT',
'FullScanLRT']:
67 montool.defineHistogram(
'roi_nSPs, TIME_PattReco', path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nSPs", xbins = 200, xmin=0.0, xmax=3000.0, ybins = 100, ymin=0.0, ymax=500.0)
68 montool.defineHistogram(
'roi_nTracks, TIME_PattReco',path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nTracks", xbins = 50, xmin=0.0, xmax=200.0, ybins = 100, ymin=0.0, ymax=500.0)
69 montool.defineHistogram(
'TIME_Total', path=
'EXPERT',type=
'TH1F',title=
"Total time (ms)", xbins = 200, xmin=0.0, xmax=5000.0)
70 montool.defineHistogram(
'TIME_PattReco', path=
'EXPERT',type=
'TH1F',title=
"Pure PattReco time (ms)", xbins = 200, xmin=0.0, xmax=2000.0)
71 montool.defineHistogram(
'TIME_SpacePointConversion', path=
'EXPERT',type=
'TH1F',title=
"SP Conversion time (ms)", xbins = 200, xmin=0.0, xmax=200.0)
72 montool.defineHistogram(
'TIME_Triplets', path=
'EXPERT',type=
'TH1F',title=
"Triplets Making time (ms)", xbins = 200, xmin=0.0, xmax=400.0)
73 montool.defineHistogram(
'TIME_CmbTrack', path=
'EXPERT',type=
'TH1F',title=
"Combined Tracking time (ms)", xbins = 200, xmin=0.0, xmax=2000.0)
74 montool.defineHistogram(
'TIME_TrackFitter', path=
'EXPERT',type=
'TH1F',title=
"Track Fitter time (ms)", xbins = 200, xmin=0.0, xmax=200.0)
76 montool.defineHistogram(
'roi_nSPs, TIME_PattReco', path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nSPs", xbins = 200, xmin=0.0, xmax=3000.0, ybins = 100, ymin=0.0, ymax=400.0)
77 montool.defineHistogram(
'roi_nTracks, TIME_PattReco',path=
'EXPERT',type=
'TH2F',title=
"PattReco time; nTracks", xbins = 50, xmin=0.0, xmax=200.0, ybins = 100, ymin=0.0, ymax=400.0)
78 montool.defineHistogram(
'TIME_Total', path=
'EXPERT',type=
'TH1F',title=
"Total time (ms)", xbins = 200, xmin=0.0, xmax=1000.0)
79 montool.defineHistogram(
'TIME_PattReco', path=
'EXPERT',type=
'TH1F',title=
"Pure PattReco time (ms)", xbins = 200, xmin=0.0, xmax=400.0)
80 montool.defineHistogram(
'TIME_SpacePointConversion', path=
'EXPERT',type=
'TH1F',title=
"SP Conversion time (ms)", xbins = 20, xmin=0.0, xmax=20.0)
81 montool.defineHistogram(
'TIME_Triplets', path=
'EXPERT',type=
'TH1F',title=
"Triplets Making time (ms)", xbins = 100, xmin=0.0, xmax=100.0)
82 montool.defineHistogram(
'TIME_CmbTrack', path=
'EXPERT',type=
'TH1F',title=
"Combined Tracking time (ms)", xbins = 200, xmin=0.0, xmax=400.0)
83 montool.defineHistogram(
'TIME_TrackFitter', path=
'EXPERT',type=
'TH1F',title=
"Track Fitter time (ms)", xbins = 50, xmin=0.0, xmax=50.0)
87 def addTrackHistograms(montool, name):
88 if name
in [
'FS',
'JetFS',
'FullScan',
'fullScan',
'fullScanUTT',
'jet']:
89 montool.defineHistogram(
'roi_nSeeds', path=
'EXPERT',type=
'TH1F',title=
"Number of seeds",xbins = 1000, xmin=-0.5, xmax=99999.5)
90 montool.defineHistogram(
'roi_nTracks', path=
'EXPERT',type=
'TH1F',title=
"Number of Tracks",xbins = 100, xmin=-0.5, xmax=9999.5)
91 elif name
in [
'fullScanLRT',
'FullScanLRT']:
92 montool.defineHistogram(
'roi_nSeeds', path=
'EXPERT',type=
'TH1F',title=
"Number of seeds",xbins = 1000, xmin=-0.5, xmax=99999.5)
93 montool.defineHistogram(
'roi_nTracks', path=
'EXPERT',type=
'TH1F',title=
"Number of Tracks",xbins = 100, xmin=-0.5, xmax=5000.5)
95 montool.defineHistogram(
'roi_nSeeds', path=
'EXPERT',type=
'TH1F',title=
"Number of seeds",xbins = 100, xmin=-0.5, xmax=4999.5)
96 montool.defineHistogram(
'roi_nTracks', path=
'EXPERT',type=
'TH1F',title=
"Number of Tracks",xbins = 50, xmin=-0.5, xmax=199.5)
98 montool.defineHistogram(
'roi_nZvertices', path=
'EXPERT',type=
'TH1F',title=
"Number of z vertices",xbins = 60 , xmin=-0.5, xmax=49.5)
99 montool.defineHistogram(
'roi_zVertices', path=
'EXPERT',type=
'TH1F',title=
"ZFinder Vertices",xbins = 501, xmin=-250, xmax=250)
100 montool.defineHistogram(
'roi_nTrk_zVtx', path=
'EXPERT',type=
'TH1F',title=
"Ntrk ZFinder Vertices",xbins = 100, xmin=-0.5, xmax=49.5)
101 montool.defineHistogram(
'trk_nSiHits', path=
'EXPERT',type=
'TH1F',title=
"Total number of Silicon Hits per Track",xbins = 20, xmin=-0.5, xmax=19.5)
102 montool.defineHistogram(
'trk_nPIXHits', path=
'EXPERT',type=
'TH1F',title=
"Number of Pixel Hits per Track",xbins = 10, xmin=-0.5, xmax=9.5)
103 montool.defineHistogram(
'trk_nSCTHits', path=
'EXPERT',type=
'TH1F',title=
"Number of SCT Hits per Track",xbins = 10, xmin=-0.5, xmax=9.5)
104 montool.defineHistogram(
'trk_seedSize', path=
'EXPERT',type=
'TH1F',title=
"Number of Spacepoints per Seed",xbins = 10, xmin=-0.5, xmax=9.5)
105 montool.defineHistogram(
'trk_chi2dof', path=
'EXPERT',type=
'TH1F',title=
"ChiSqd / nDoF",xbins = 100, xmin=0.0, xmax=5)
106 montool.defineHistogram(
'trk_pt', path=
'EXPERT',type=
'TH1F',title=
"pt",xbins = 100, xmin=-2.5e5, xmax=2.5e5)
107 montool.defineHistogram(
'trk_phi0', path=
'EXPERT',type=
'TH1F',title=
"phi",xbins = 100, xmin=-3.2, xmax=3.2)
108 montool.defineHistogram(
'trk_eta', path=
'EXPERT',type=
'TH1F',title=
"eta",xbins = 100, xmin=-5, xmax=5)
109 montool.defineHistogram(
'trk_dPhi0', path=
'EXPERT',type=
'TH1F',title=
"dphi",xbins = 160, xmin=-0.8, xmax=0.8)
110 montool.defineHistogram(
'trk_dEta', path=
'EXPERT',type=
'TH1F',title=
"deta",xbins = 160, xmin=-0.8, xmax=0.8)
112 montool.defineHistogram(
'trk_a0', path=
'EXPERT',type=
'TH1F',title=
"a0",xbins = 100, xmin=-300, xmax=300)
113 montool.defineHistogram(
'trk_a0beam', path=
'EXPERT',type=
'TH1F',title=
"a0beam",xbins = 100, xmin=-300, xmax=300)
114 montool.defineHistogram(
'trk_z0', path=
'EXPERT',type=
'TH1F',title=
"z0",xbins = 100, xmin=-800, xmax=800)
115 montool.defineHistogram(
'trk_z0beam', path=
'EXPERT',type=
'TH1F',title=
"z0beam",xbins = 100, xmin=-800, xmax=800)
116 elif name
in [
'fullScanLRT',
'FullScanLRT']:
117 montool.defineHistogram(
'trk_a0', path=
'EXPERT',type=
'TH1F',title=
"a0",xbins = 100, xmin=-300, xmax=300)
118 montool.defineHistogram(
'trk_a0beam', path=
'EXPERT',type=
'TH1F',title=
"a0beam",xbins = 100, xmin=-300, xmax=300)
119 montool.defineHistogram(
'trk_z0', path=
'EXPERT',type=
'TH1F',title=
"z0",xbins = 100, xmin=-550, xmax=550)
120 montool.defineHistogram(
'trk_z0beam', path=
'EXPERT',type=
'TH1F',title=
"z0beam",xbins = 100, xmin=-550, xmax=550)
122 montool.defineHistogram(
'trk_a0', path=
'EXPERT',type=
'TH1F',title=
"a0",xbins = 200, xmin=-10, xmax=10)
123 montool.defineHistogram(
'trk_a0beam', path=
'EXPERT',type=
'TH1F',title=
"a0beam",xbins = 200, xmin=-10, xmax=10)
124 montool.defineHistogram(
'trk_z0', path=
'EXPERT',type=
'TH1F',title=
"z0",xbins = 200, xmin=-400, xmax=400)
125 montool.defineHistogram(
'trk_z0beam', path=
'EXPERT',type=
'TH1F',title=
"z0beam",xbins = 200, xmin=-400, xmax=400)
127 def addResidualHistograms(self):
128 montool.defineHistogram(
'layer_IBL', path=
'EXPERT',type=
'TH1F',title=
"IBL layer",xbins = 10, xmin=0., xmax=10.)
129 montool.defineHistogram(
'layer_PixB', path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel layer",xbins = 10, xmin=0., xmax=10.)
130 montool.defineHistogram(
'layer_PixE', path=
'EXPERT',type=
'TH1F',title=
"Pixel Endcap layer",xbins = 10, xmin=0., xmax=10.)
131 montool.defineHistogram(
'layer_SCTB', path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel layer",xbins = 10, xmin=0., xmax=10.)
132 montool.defineHistogram(
'layer_SCTE', path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap layer",xbins = 10, xmin=0., xmax=10.)
134 montool.defineHistogram(
'hit_IBLPhiResidual', path=
'EXPERT',type=
'TH1F',title=
"IBL hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
135 montool.defineHistogram(
'hit_IBLEtaResidual', path=
'EXPERT',type=
'TH1F',title=
"IBL hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
136 montool.defineHistogram(
'hit_IBLPhiPull', path=
'EXPERT',type=
'TH1F',title=
"IBL hit-track phi pull",xbins = 100, xmin=-5., xmax=5.)
137 montool.defineHistogram(
'hit_IBLEtaPull', path=
'EXPERT',type=
'TH1F',title=
"IBL hit-track eta pull",xbins = 100, xmin=-5., xmax=5.)
139 montool.defineHistogram(
'hit_PIXBarrelPhiResidual', path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
140 montool.defineHistogram(
'hit_PIXBarrelEtaResidual', path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
141 montool.defineHistogram(
'hit_PIXBarrelL1PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel L1 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
142 montool.defineHistogram(
'hit_PIXBarrelL1EtaResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel L1 hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
143 montool.defineHistogram(
'hit_PIXBarrelL2PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel L2 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
144 montool.defineHistogram(
'hit_PIXBarrelL2EtaResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel L2 hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
145 montool.defineHistogram(
'hit_PIXBarrelL3PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel L3 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
146 montool.defineHistogram(
'hit_PIXBarrelL3EtaResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel L3 hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
147 montool.defineHistogram(
'hit_PIXBarrelPhiPull', path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel hit-track phi pull",xbins = 100, xmin=-5., xmax=5.)
148 montool.defineHistogram(
'hit_PIXBarrelEtaPull', path=
'EXPERT',type=
'TH1F',title=
"Pixel Barrel hit-track eta pull",xbins = 100, xmin=-5., xmax=5.)
150 montool.defineHistogram(
'hit_PIXEndcapPhiResidual', path=
'EXPERT',type=
'TH1F',title=
"Pixel EC hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
151 montool.defineHistogram(
'hit_PIXEndcapEtaResidual', path=
'EXPERT',type=
'TH1F',title=
"Pixel EC hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
152 montool.defineHistogram(
'hit_PIXEndcapL1PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel EC L1 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
153 montool.defineHistogram(
'hit_PIXEndcapL1EtaResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel EC L1 hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
154 montool.defineHistogram(
'hit_PIXEndcapL2PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel EC L2 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
155 montool.defineHistogram(
'hit_PIXEndcapL2EtaResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel EC L2 hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
156 montool.defineHistogram(
'hit_PIXEndcapL3PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel EC L3 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
157 montool.defineHistogram(
'hit_PIXEndcapL3EtaResidual',path=
'EXPERT',type=
'TH1F',title=
"Pixel EC L3 hit-track eta residual",xbins = 100, xmin=-1.0, xmax=1.0)
158 montool.defineHistogram(
'hit_PIXEndcapPhiPull', path=
'EXPERT',type=
'TH1F',title=
"Pixel EC hit-track phi pull",xbins = 100, xmin=-5., xmax=5.)
159 montool.defineHistogram(
'hit_PIXEndcapEtaPull', path=
'EXPERT',type=
'TH1F',title=
"Pixel EC hit-track eta pull",xbins = 100, xmin=-5., xmax=5.)
161 montool.defineHistogram(
'hit_SCTBarrelResidual', path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel hit-track residual",xbins = 100, xmin=-0.5, xmax=0.5)
162 montool.defineHistogram(
'hit_SCTBarrelL1PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel L1 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
163 montool.defineHistogram(
'hit_SCTBarrelL2PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel L2 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
164 montool.defineHistogram(
'hit_SCTBarrelL3PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel L3 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
165 montool.defineHistogram(
'hit_SCTBarrelL4PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel L4 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
166 montool.defineHistogram(
'hit_SCTBarrelPull', path=
'EXPERT',type=
'TH1F',title=
"SCT Barrel hit-track pull",xbins = 100, xmin=-5., xmax=5.)
168 montool.defineHistogram(
'hit_SCTEndcapResidual', path=
'EXPERT',type=
'TH1F',title=
"SCT EC hit-track residual",xbins = 100, xmin=-1.0, xmax=1.0)
169 montool.defineHistogram(
'hit_SCTEndcapL1PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L1 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
170 montool.defineHistogram(
'hit_SCTEndcapL2PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L2 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
171 montool.defineHistogram(
'hit_SCTEndcapL3PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L3 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
172 montool.defineHistogram(
'hit_SCTEndcapL4PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L4 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
173 montool.defineHistogram(
'hit_SCTEndcapL5PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L5 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
174 montool.defineHistogram(
'hit_SCTEndcapL6PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L6 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
175 montool.defineHistogram(
'hit_SCTEndcapL7PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L7 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
176 montool.defineHistogram(
'hit_SCTEndcapL8PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L8 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
177 montool.defineHistogram(
'hit_SCTEndcapL9PhiResidual',path=
'EXPERT',type=
'TH1F',title=
"SCT Endcap L9 hit-track phi residual",xbins = 100, xmin=-0.5, xmax=0.5)
178 montool.defineHistogram(
'hit_SCTEndcapPull', path=
'EXPERT',type=
'TH1F',title=
"SCT EC hit-track pull",xbins = 100, xmin=-5., xmax=5.)
180 def addUTTHistograms(montool, name):
181 montool.defineHistogram(
'trk_dedx', path=
'EXPERT',type=
'TH1F',title=
"Track dEdx (pT > 3 GeV)", xbins = 140, xmin=-0.5, xmax=6.5)
182 montool.defineHistogram(
'trk_dedx_nusedhits', path=
'EXPERT',type=
'TH1F',title=
"Nr of used hits for dEdx",xbins = 11, xmin=-0.5, xmax=10.5)
184 montool.defineHistogram(
'disTrk_nVtx', path=
'EXPERT',type=
'TH1F',title=
"Nr of Vertex for disTrk",xbins = 11, xmin=-0.5, xmax=10.5)
185 montool.defineHistogram(
'disTrk_xVtx', path=
'EXPERT',type=
'TH1F',title=
"X position of primary vertex for disTrk", xbins = 120, xmin=-1.2, xmax=1.2)
186 montool.defineHistogram(
'disTrk_yVtx', path=
'EXPERT',type=
'TH1F',title=
"Y position of primary vertex for disTrk", xbins = 120, xmin=-1.2, xmax=1.2)
187 montool.defineHistogram(
'disTrk_zVtx', path=
'EXPERT',type=
'TH1F',title=
"Z position of primary vertex for disTrk", xbins = 150, xmin=-150, xmax=150)
189 montool.defineHistogram(
'disFailTrk_n', path=
'EXPERT',type=
'TH1F',title=
"Nr of disFailTrk", xbins = 50, xmin=0, xmax=3000)
190 montool.defineHistogram(
'disFailTrk_nclone', path=
'EXPERT',type=
'TH1F',title=
"Nr of disFailTrk (after clone removal)", xbins = 50, xmin=0, xmax=3000)
191 montool.defineHistogram(
'disFailTrk_ncand', path=
'EXPERT',type=
'TH1F',title=
"Nr of disFailTrk (after pre-selection)", xbins = 50, xmin=0, xmax=3000)
192 montool.defineHistogram(
'disCombTrk_n', path=
'EXPERT',type=
'TH1F',title=
"Nr of disCombTrk", xbins = 20, xmin=0, xmax=100)
193 montool.defineHistogram(
'disCombTrk_nclone', path=
'EXPERT',type=
'TH1F',title=
"Nr of disCombTrk (after clone removal)", xbins = 20, xmin=0, xmax=100)
194 montool.defineHistogram(
'disCombTrk_ncand', path=
'EXPERT',type=
'TH1F',title=
"Nr of disCombTrk (after pre-selection)", xbins = 20, xmin=0, xmax=100)
196 if name
in [
'FS',
'JetFS',
'FullScan',
'fullScan',
'fullScanUTT',
'jet']:
197 montool.defineHistogram(
'TIME_dEdxTrk', path=
'EXPERT',type=
'TH1F',title=
"Large dEdx search (ms)", xbins = 20, xmin=0.0, xmax=200.0)
198 montool.defineHistogram(
'TIME_disTrkZVertex', path=
'EXPERT',type=
'TH1F',title=
"UTT z-vertexing time (ms)", xbins = 10, xmin=0.0, xmax=100.0)
199 montool.defineHistogram(
'TIME_disappearingTrack', path=
'EXPERT',type=
'TH1F',title=
"Disappearing track reco time (ms)", xbins = 100, xmin=0.0, xmax=3000.0)
201 montool.defineHistogram(
'TIME_dEdxTrk', path=
'EXPERT',type=
'TH1F',title=
"Large dEdx search (ms)", xbins = 20, xmin=0.0, xmax=20.0)
202 montool.defineHistogram(
'TIME_disTrkZVertex', path=
'EXPERT',type=
'TH1F',title=
"UTT z-vertexing time (ms)", xbins = 10, xmin=0.0, xmax=10.0)
203 montool.defineHistogram(
'TIME_disappearingTrack', path=
'EXPERT',type=
'TH1F',title=
"Disappearing track reco time (ms)", xbins = 100, xmin=0.0, xmax=300.0)
206 addSPHistograms(montool, name)
207 addDataErrorHistograms(montool)
208 addTimingHistograms(montool, name)
209 addTrackHistograms(montool, name)
211 addResidualHistograms(montool)
212 uttMode = flags.Tracking.ActiveConfig.doHitDV
or flags.Tracking.ActiveConfig.doDisappearingTrk
214 addUTTHistograms(montool, name)