CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
hTMaxCell Class Reference

#include <vDriftHistos.h>

Public Member Functions

void Fill (float tmax123, float tmax124, float tmax134, float tmax234, dttmaxenums::SigmaFactor s124, dttmaxenums::SigmaFactor s134, unsigned t0_123, unsigned t0_124, unsigned t0_134, unsigned t0_234, unsigned hSubGroup)
 
int GetT0Factor (TH1F *hist)
 
 hTMaxCell (const TString &name_)
 
 hTMaxCell (const TString &name_, TFile *file)
 
void Write ()
 
 ~hTMaxCell ()
 

Public Attributes

TH1F * hTmax123
 
TH1F * hTmax124s72
 
TH1F * hTmax124s78
 
TH1F * hTmax134s72
 
TH1F * hTmax134s78
 
TH1F * hTmax234
 
TH1F * hTmax_0
 
TH1F * hTmax_2t0
 
TH1F * hTmax_2t0_0
 
TH1F * hTmax_2t0_1
 
TH1F * hTmax_2t0_2
 
TH1F * hTmax_2t0_3
 
TH1F * hTmax_2t0_4
 
TH1F * hTmax_2t0_5
 
TH1F * hTmax_3t0
 
TH1F * hTmax_3t0_0
 
TH1F * hTmax_3t0_1
 
TH1F * hTmax_3t0_2
 
TH1F * hTmax_3t0_3
 
TH1F * hTmax_3t0_4
 
TH1F * hTmax_3t0_5
 
TH1F * hTmax_t0
 
TH1F * hTmax_t0_0
 
TH1F * hTmax_t0_1
 
TH1F * hTmax_t0_2
 
TH1F * hTmax_t0_3
 
TH1F * hTmax_t0_4
 
TH1F * hTmax_t0_5
 
TString name
 

Detailed Description

Definition at line 111 of file vDriftHistos.h.

Constructor & Destructor Documentation

◆ hTMaxCell() [1/2]

hTMaxCell::hTMaxCell ( const TString &  name_)
inline

Definition at line 113 of file vDriftHistos.h.

References hTmax123, hTmax124s72, hTmax124s78, hTmax134s72, hTmax134s78, hTmax234, hTmax_0, hTmax_2t0, hTmax_2t0_0, hTmax_2t0_1, hTmax_2t0_2, hTmax_2t0_3, hTmax_2t0_4, hTmax_2t0_5, hTmax_3t0, hTmax_3t0_0, hTmax_3t0_1, hTmax_3t0_2, hTmax_3t0_3, hTmax_3t0_4, hTmax_3t0_5, hTmax_t0, hTmax_t0_0, hTmax_t0_1, hTmax_t0_2, hTmax_t0_3, hTmax_t0_4, hTmax_t0_5, and name.

113  {
114  name = name_;
115 
116  // book TMax histograms
117  hTmax123 = new TH1F(name + "_Tmax123", "Tmax123 value", 2000, -1000., 1000.);
118  hTmax124s72 = new TH1F(name + "_Tmax124_s72", "Tmax124 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
119  hTmax124s78 = new TH1F(name + "_Tmax124_s78", "Tmax124 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
120  hTmax134s72 = new TH1F(name + "_Tmax134_s72", "Tmax134 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
121  hTmax134s78 = new TH1F(name + "_Tmax134_s78", "Tmax134 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
122  hTmax234 = new TH1F(name + "_Tmax234", "Tmax234 value", 2000, -1000., 1000.);
123  hTmax_3t0 = new TH1F(name + "_3t0", "Tmax+3*Delta(t0)", 2000, -1000., 1000.);
124  hTmax_3t0_0 = new TH1F(name + "_3t0_0", "Tmax+3*Delta(t0); 3 hits", 2000, -1000., 1000.);
125  hTmax_3t0_1 = new TH1F(name + "_3t0_1", "Tmax+3*Delta(t0); one t<5ns", 2000, -1000., 1000.);
126  hTmax_3t0_2 = new TH1F(name + "_3t0_2", "Tmax+3*Delta(t0); one t<10ns", 2000, -1000., 1000.);
127  hTmax_3t0_3 = new TH1F(name + "_3t0_3", "Tmax+3*Delta(t0); one t<20ns", 2000, -1000., 1000.);
128  hTmax_3t0_4 = new TH1F(name + "_3t0_4", "Tmax+3*Delta(t0); one t<50ns", 2000, -1000., 1000.);
129  hTmax_3t0_5 = new TH1F(name + "_3t0_5", "Tmax+3*Delta(t0); all t>50ns", 2000, -1000., 1000.);
130  hTmax_2t0 = new TH1F(name + "_2t0", "Tmax+2*Delta(t0)", 2000, -1000., 1000.);
131  hTmax_2t0_0 = new TH1F(name + "_2t0_0", "Tmax+2*Delta(t0); 3 hits", 2000, -1000., 1000.);
132  hTmax_2t0_1 = new TH1F(name + "_2t0_1", "Tmax+2*Delta(t0); one t<5ns", 2000, -1000., 1000.);
133  hTmax_2t0_2 = new TH1F(name + "_2t0_2", "Tmax+2*Delta(t0); one t<10ns", 2000, -1000., 1000.);
134  hTmax_2t0_3 = new TH1F(name + "_2t0_3", "Tmax+2*Delta(t0); one t<20ns", 2000, -1000., 1000.);
135  hTmax_2t0_4 = new TH1F(name + "_2t0_4", "Tmax+2*Delta(t0); one t<50ns", 2000, -1000., 1000.);
136  hTmax_2t0_5 = new TH1F(name + "_2t0_5", "Tmax+2*Delta(t0); all t>50ns", 2000, -1000., 1000.);
137  hTmax_t0 = new TH1F(name + "_t0", "Tmax+Delta(t0)", 2000, -1000., 1000.);
138  hTmax_t0_0 = new TH1F(name + "_t0_0", "Tmax+Delta(t0); 3 hits", 2000, -1000., 1000.);
139  hTmax_t0_1 = new TH1F(name + "_t0_1", "Tmax+Delta(t0); one t<5ns", 2000, -1000., 1000.);
140  hTmax_t0_2 = new TH1F(name + "_t0_2", "Tmax+Delta(t0); one t<10ns", 2000, -1000., 1000.);
141  hTmax_t0_3 = new TH1F(name + "_t0_3", "Tmax+Delta(t0); one t<20ns", 2000, -1000., 1000.);
142  hTmax_t0_4 = new TH1F(name + "_t0_4", "Tmax+Delta(t0); one t<50ns", 2000, -1000., 1000.);
143  hTmax_t0_5 = new TH1F(name + "_t0_5", "Tmax+Delta(t0); all t>50ns", 2000, -1000., 1000.);
144  hTmax_0 = new TH1F(name + "_0", "Tmax", 2000, -1000., 1000.);
145  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:514
TH1F * hTmax_2t0
Definition: vDriftHistos.h:523
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:534
TH1F * hTmax_3t0
Definition: vDriftHistos.h:516
TH1F * hTmax234
Definition: vDriftHistos.h:515
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:526
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:521
TH1F * hTmax_t0
Definition: vDriftHistos.h:530
TH1F * hTmax134s72
Definition: vDriftHistos.h:513
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:524
TH1F * hTmax124s72
Definition: vDriftHistos.h:511
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:528
TH1F * hTmax_0
Definition: vDriftHistos.h:537
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:527
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:531
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:532
TH1F * hTmax124s78
Definition: vDriftHistos.h:512
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:525
TString name
Definition: vDriftHistos.h:539
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:536
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:519
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:533
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:529
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:520
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:518
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:517
TH1F * hTmax123
Definition: vDriftHistos.h:510
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:522
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:535

◆ hTMaxCell() [2/2]

hTMaxCell::hTMaxCell ( const TString &  name_,
TFile *  file 
)
inline

Definition at line 147 of file vDriftHistos.h.

References geometryDiff::file, hTmax123, hTmax124s72, hTmax124s78, hTmax134s72, hTmax134s78, hTmax234, hTmax_0, hTmax_2t0, hTmax_2t0_0, hTmax_2t0_1, hTmax_2t0_2, hTmax_2t0_3, hTmax_2t0_4, hTmax_2t0_5, hTmax_3t0, hTmax_3t0_0, hTmax_3t0_1, hTmax_3t0_2, hTmax_3t0_3, hTmax_3t0_4, hTmax_3t0_5, hTmax_t0, hTmax_t0_1, hTmax_t0_2, hTmax_t0_3, hTmax_t0_4, hTmax_t0_5, and name.

147  {
148  name = name_;
149  hTmax123 = (TH1F *)file->Get(name + "_Tmax123");
150  hTmax124s72 = (TH1F *)file->Get(name + "_Tmax124_s72");
151  hTmax124s78 = (TH1F *)file->Get(name + "_Tmax124_s78");
152  hTmax134s72 = (TH1F *)file->Get(name + "_Tmax134_s72");
153  hTmax134s78 = (TH1F *)file->Get(name + "_Tmax134_s78");
154  hTmax234 = (TH1F *)file->Get(name + "_Tmax234");
155  hTmax_3t0 = (TH1F *)file->Get(name + "_3t0");
156  hTmax_3t0_0 = (TH1F *)file->Get(name + "_3t0_0");
157  hTmax_3t0_1 = (TH1F *)file->Get(name + "_3t0_1");
158  hTmax_3t0_2 = (TH1F *)file->Get(name + "_3t0_2");
159  hTmax_3t0_3 = (TH1F *)file->Get(name + "_3t0_3");
160  hTmax_3t0_4 = (TH1F *)file->Get(name + "_3t0_4");
161  hTmax_3t0_5 = (TH1F *)file->Get(name + "_3t0_5");
162  hTmax_2t0 = (TH1F *)file->Get(name + "_2t0");
163  hTmax_2t0_0 = (TH1F *)file->Get(name + "_2t0_0");
164  hTmax_2t0_1 = (TH1F *)file->Get(name + "_2t0_1");
165  hTmax_2t0_2 = (TH1F *)file->Get(name + "_2t0_2");
166  hTmax_2t0_3 = (TH1F *)file->Get(name + "_2t0_3");
167  hTmax_2t0_4 = (TH1F *)file->Get(name + "_2t0_4");
168  hTmax_2t0_5 = (TH1F *)file->Get(name + "_2t0_5");
169  hTmax_t0 = (TH1F *)file->Get(name + "_t0");
170  hTmax_t0_1 = (TH1F *)file->Get(name + "_t0_1");
171  hTmax_t0_2 = (TH1F *)file->Get(name + "_t0_2");
172  hTmax_t0_3 = (TH1F *)file->Get(name + "_t0_3");
173  hTmax_t0_4 = (TH1F *)file->Get(name + "_t0_4");
174  hTmax_t0_5 = (TH1F *)file->Get(name + "_t0_5");
175  hTmax_0 = (TH1F *)file->Get(name + "_0");
176  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:514
TH1F * hTmax_2t0
Definition: vDriftHistos.h:523
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:534
TH1F * hTmax_3t0
Definition: vDriftHistos.h:516
TH1F * hTmax234
Definition: vDriftHistos.h:515
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:526
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:521
TH1F * hTmax_t0
Definition: vDriftHistos.h:530
TH1F * hTmax134s72
Definition: vDriftHistos.h:513
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:524
TH1F * hTmax124s72
Definition: vDriftHistos.h:511
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:528
TH1F * hTmax_0
Definition: vDriftHistos.h:537
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:527
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:532
TH1F * hTmax124s78
Definition: vDriftHistos.h:512
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:525
TString name
Definition: vDriftHistos.h:539
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:536
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:519
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:533
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:529
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:520
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:518
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:517
TH1F * hTmax123
Definition: vDriftHistos.h:510
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:522
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:535

◆ ~hTMaxCell()

hTMaxCell::~hTMaxCell ( )
inline

Definition at line 178 of file vDriftHistos.h.

References hTmax123, hTmax124s72, hTmax124s78, hTmax134s72, hTmax134s78, hTmax234, hTmax_0, hTmax_2t0, hTmax_2t0_0, hTmax_2t0_1, hTmax_2t0_2, hTmax_2t0_3, hTmax_2t0_4, hTmax_2t0_5, hTmax_3t0, hTmax_3t0_0, hTmax_3t0_1, hTmax_3t0_2, hTmax_3t0_3, hTmax_3t0_4, hTmax_3t0_5, hTmax_t0, hTmax_t0_0, hTmax_t0_1, hTmax_t0_2, hTmax_t0_3, hTmax_t0_4, and hTmax_t0_5.

178  {
179  delete hTmax123;
180  delete hTmax124s72;
181  delete hTmax124s78;
182  delete hTmax134s72;
183  delete hTmax134s78;
184  delete hTmax234;
185  delete hTmax_3t0;
186  delete hTmax_3t0_0;
187  delete hTmax_3t0_1;
188  delete hTmax_3t0_2;
189  delete hTmax_3t0_3;
190  delete hTmax_3t0_4;
191  delete hTmax_3t0_5;
192  delete hTmax_2t0;
193  delete hTmax_2t0_0;
194  delete hTmax_2t0_1;
195  delete hTmax_2t0_2;
196  delete hTmax_2t0_3;
197  delete hTmax_2t0_4;
198  delete hTmax_2t0_5;
199  delete hTmax_t0;
200  delete hTmax_t0_0;
201  delete hTmax_t0_1;
202  delete hTmax_t0_2;
203  delete hTmax_t0_3;
204  delete hTmax_t0_4;
205  delete hTmax_t0_5;
206  delete hTmax_0;
207  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:514
TH1F * hTmax_2t0
Definition: vDriftHistos.h:523
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:534
TH1F * hTmax_3t0
Definition: vDriftHistos.h:516
TH1F * hTmax234
Definition: vDriftHistos.h:515
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:526
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:521
TH1F * hTmax_t0
Definition: vDriftHistos.h:530
TH1F * hTmax134s72
Definition: vDriftHistos.h:513
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:524
TH1F * hTmax124s72
Definition: vDriftHistos.h:511
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:528
TH1F * hTmax_0
Definition: vDriftHistos.h:537
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:527
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:531
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:532
TH1F * hTmax124s78
Definition: vDriftHistos.h:512
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:525
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:536
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:519
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:533
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:529
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:520
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:518
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:517
TH1F * hTmax123
Definition: vDriftHistos.h:510
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:522
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:535

Member Function Documentation

◆ Fill()

void hTMaxCell::Fill ( float  tmax123,
float  tmax124,
float  tmax134,
float  tmax234,
dttmaxenums::SigmaFactor  s124,
dttmaxenums::SigmaFactor  s134,
unsigned  t0_123,
unsigned  t0_124,
unsigned  t0_134,
unsigned  t0_234,
unsigned  hSubGroup 
)
inline

Definition at line 209 of file vDriftHistos.h.

References hTmax123, hTmax124s72, hTmax124s78, hTmax134s72, hTmax134s78, hTmax234, hTmax_0, hTmax_2t0, hTmax_2t0_0, hTmax_2t0_1, hTmax_2t0_2, hTmax_2t0_3, hTmax_2t0_4, hTmax_2t0_5, hTmax_3t0, hTmax_3t0_0, hTmax_3t0_1, hTmax_3t0_2, hTmax_3t0_3, hTmax_3t0_4, hTmax_3t0_5, hTmax_t0, hTmax_t0_0, hTmax_t0_1, hTmax_t0_2, hTmax_t0_3, hTmax_t0_4, hTmax_t0_5, and dttmaxenums::r72.

Referenced by DTVDriftCalibration::cellInfo::add().

220  {
221  if (tmax123 > 0.) {
222  hTmax123->Fill(tmax123);
223  if (t0_123 == 1) {
224  hTmax_t0->Fill(tmax123);
225  switch (hSubGroup) {
226  case 0:
227  hTmax_t0_0->Fill(tmax123);
228  break;
229  case 1:
230  hTmax_t0_1->Fill(tmax123);
231  break;
232  case 2:
233  hTmax_t0_2->Fill(tmax123);
234  break;
235  case 3:
236  hTmax_t0_3->Fill(tmax123);
237  break;
238  case 4:
239  hTmax_t0_4->Fill(tmax123);
240  break;
241  case 99:
242  hTmax_t0_5->Fill(tmax123);
243  break;
244  }
245  } else {
246  hTmax_2t0->Fill(tmax123);
247  switch (hSubGroup) {
248  case 0:
249  hTmax_2t0_0->Fill(tmax123);
250  break;
251  case 1:
252  hTmax_2t0_1->Fill(tmax123);
253  break;
254  case 2:
255  hTmax_2t0_2->Fill(tmax123);
256  break;
257  case 3:
258  hTmax_2t0_3->Fill(tmax123);
259  break;
260  case 4:
261  hTmax_2t0_4->Fill(tmax123);
262  break;
263  case 99:
264  hTmax_2t0_5->Fill(tmax123);
265  break;
266  }
267  }
268  }
269  if (tmax124 > 0.) {
270  (s124 == dttmaxenums::r72) ? hTmax124s72->Fill(tmax124) : hTmax124s78->Fill(tmax124);
271  if (t0_124 == 0)
272  hTmax_0->Fill(tmax124);
273  else if (t0_124 == 1) {
274  hTmax_t0->Fill(tmax124);
275  switch (hSubGroup) {
276  case 0:
277  hTmax_t0_0->Fill(tmax124);
278  break;
279  case 1:
280  hTmax_t0_1->Fill(tmax124);
281  break;
282  case 2:
283  hTmax_t0_2->Fill(tmax124);
284  break;
285  case 3:
286  hTmax_t0_3->Fill(tmax124);
287  break;
288  case 4:
289  hTmax_t0_4->Fill(tmax124);
290  break;
291  case 99:
292  hTmax_t0_5->Fill(tmax124);
293  break;
294  }
295  } else if (t0_124 == 2) {
296  hTmax_2t0->Fill(tmax124);
297  switch (hSubGroup) {
298  case 0:
299  hTmax_2t0_0->Fill(tmax124);
300  break;
301  case 1:
302  hTmax_2t0_1->Fill(tmax124);
303  break;
304  case 2:
305  hTmax_2t0_2->Fill(tmax124);
306  break;
307  case 3:
308  hTmax_2t0_3->Fill(tmax124);
309  break;
310  case 4:
311  hTmax_2t0_4->Fill(tmax124);
312  break;
313  case 99:
314  hTmax_2t0_5->Fill(tmax124);
315  break;
316  }
317  } else if (t0_124 == 3) {
318  hTmax_3t0->Fill(tmax124);
319  switch (hSubGroup) {
320  case 0:
321  hTmax_3t0_0->Fill(tmax124);
322  break;
323  case 1:
324  hTmax_3t0_1->Fill(tmax124);
325  break;
326  case 2:
327  hTmax_3t0_2->Fill(tmax124);
328  break;
329  case 3:
330  hTmax_3t0_3->Fill(tmax124);
331  break;
332  case 4:
333  hTmax_3t0_4->Fill(tmax124);
334  break;
335  case 99:
336  hTmax_3t0_5->Fill(tmax124);
337  break;
338  }
339  }
340  }
341  if (tmax134 > 0.) {
342  (s134 == dttmaxenums::r72) ? hTmax134s72->Fill(tmax134) : hTmax134s78->Fill(tmax134);
343  if (t0_134 == 0)
344  hTmax_0->Fill(tmax134);
345  else if (t0_134 == 1) {
346  hTmax_t0->Fill(tmax134);
347  switch (hSubGroup) {
348  case 0:
349  hTmax_t0_0->Fill(tmax134);
350  break;
351  case 1:
352  hTmax_t0_1->Fill(tmax134);
353  break;
354  case 2:
355  hTmax_t0_2->Fill(tmax134);
356  break;
357  case 3:
358  hTmax_t0_3->Fill(tmax134);
359  break;
360  case 4:
361  hTmax_t0_4->Fill(tmax134);
362  break;
363  case 99:
364  hTmax_t0_5->Fill(tmax134);
365  break;
366  }
367  } else if (t0_134 == 2) {
368  hTmax_2t0->Fill(tmax134);
369  switch (hSubGroup) {
370  case 0:
371  hTmax_2t0_0->Fill(tmax134);
372  break;
373  case 1:
374  hTmax_2t0_1->Fill(tmax134);
375  break;
376  case 2:
377  hTmax_2t0_2->Fill(tmax134);
378  break;
379  case 3:
380  hTmax_2t0_3->Fill(tmax134);
381  break;
382  case 4:
383  hTmax_2t0_4->Fill(tmax134);
384  break;
385  case 99:
386  hTmax_2t0_5->Fill(tmax134);
387  break;
388  }
389  } else if (t0_134 == 3) {
390  hTmax_3t0->Fill(tmax134);
391  switch (hSubGroup) {
392  case 0:
393  hTmax_3t0_0->Fill(tmax134);
394  break;
395  case 1:
396  hTmax_3t0_1->Fill(tmax134);
397  break;
398  case 2:
399  hTmax_3t0_2->Fill(tmax134);
400  break;
401  case 3:
402  hTmax_3t0_3->Fill(tmax134);
403  break;
404  case 4:
405  hTmax_3t0_4->Fill(tmax134);
406  break;
407  case 99:
408  hTmax_3t0_5->Fill(tmax134);
409  break;
410  }
411  }
412  }
413  if (tmax234 > 0.) {
414  hTmax234->Fill(tmax234);
415  if (t0_234 == 1) {
416  hTmax_t0->Fill(tmax234);
417  switch (hSubGroup) {
418  case 0:
419  hTmax_t0_0->Fill(tmax234);
420  break;
421  case 1:
422  hTmax_t0_1->Fill(tmax234);
423  break;
424  case 2:
425  hTmax_t0_2->Fill(tmax234);
426  break;
427  case 3:
428  hTmax_t0_3->Fill(tmax234);
429  break;
430  case 4:
431  hTmax_t0_4->Fill(tmax234);
432  break;
433  case 99:
434  hTmax_t0_5->Fill(tmax234);
435  break;
436  }
437  } else {
438  hTmax_2t0->Fill(tmax234);
439  switch (hSubGroup) {
440  case 0:
441  hTmax_2t0_0->Fill(tmax234);
442  break;
443  case 1:
444  hTmax_2t0_1->Fill(tmax234);
445  break;
446  case 2:
447  hTmax_2t0_2->Fill(tmax234);
448  break;
449  case 3:
450  hTmax_2t0_3->Fill(tmax234);
451  break;
452  case 4:
453  hTmax_2t0_4->Fill(tmax234);
454  break;
455  case 99:
456  hTmax_2t0_5->Fill(tmax234);
457  break;
458  }
459  }
460  }
461  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:514
TH1F * hTmax_2t0
Definition: vDriftHistos.h:523
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:534
TH1F * hTmax_3t0
Definition: vDriftHistos.h:516
TH1F * hTmax234
Definition: vDriftHistos.h:515
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:526
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:521
TH1F * hTmax_t0
Definition: vDriftHistos.h:530
TH1F * hTmax134s72
Definition: vDriftHistos.h:513
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:524
TH1F * hTmax124s72
Definition: vDriftHistos.h:511
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:528
TH1F * hTmax_0
Definition: vDriftHistos.h:537
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:527
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:531
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:532
TH1F * hTmax124s78
Definition: vDriftHistos.h:512
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:525
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:536
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:519
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:533
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:529
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:520
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:518
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:517
TH1F * hTmax123
Definition: vDriftHistos.h:510
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:522
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:535

◆ GetT0Factor()

int hTMaxCell::GetT0Factor ( TH1F *  hist)
inline

Definition at line 495 of file vDriftHistos.h.

References gpuVertexFinder::hist, hTmax_0, hTmax_2t0, hTmax_3t0, hTmax_t0, and FrontierCondition_GT_autoExpress_cfi::t0.

495  {
496  unsigned t0 = 999;
497 
498  if (hist == hTmax_3t0)
499  t0 = 3;
500  else if (hist == hTmax_2t0)
501  t0 = 2;
502  else if (hist == hTmax_t0)
503  t0 = 1;
504  else if (hist == hTmax_0)
505  t0 = 0;
506 
507  return t0;
508  }
TH1F * hTmax_2t0
Definition: vDriftHistos.h:523
TH1F * hTmax_3t0
Definition: vDriftHistos.h:516
TH1F * hTmax_t0
Definition: vDriftHistos.h:530
TH1F * hTmax_0
Definition: vDriftHistos.h:537

◆ Write()

void hTMaxCell::Write ( )
inline

Definition at line 463 of file vDriftHistos.h.

References hTmax123, hTmax124s72, hTmax124s78, hTmax134s72, hTmax134s78, hTmax234, hTmax_0, hTmax_2t0, hTmax_2t0_0, hTmax_2t0_1, hTmax_2t0_2, hTmax_2t0_3, hTmax_2t0_4, hTmax_2t0_5, hTmax_3t0, hTmax_3t0_0, hTmax_3t0_1, hTmax_3t0_2, hTmax_3t0_3, hTmax_3t0_4, hTmax_3t0_5, hTmax_t0, hTmax_t0_0, hTmax_t0_1, hTmax_t0_2, hTmax_t0_3, hTmax_t0_4, and hTmax_t0_5.

Referenced by DTVDriftCalibration::endJob().

463  {
464  // write the Tmax histograms
465  hTmax123->Write();
466  hTmax124s72->Write();
467  hTmax124s78->Write();
468  hTmax134s72->Write();
469  hTmax134s78->Write();
470  hTmax234->Write();
471  hTmax_3t0->Write();
472  hTmax_3t0_0->Write();
473  hTmax_3t0_1->Write();
474  hTmax_3t0_2->Write();
475  hTmax_3t0_3->Write();
476  hTmax_3t0_4->Write();
477  hTmax_3t0_5->Write();
478  hTmax_2t0->Write();
479  hTmax_2t0_0->Write();
480  hTmax_2t0_1->Write();
481  hTmax_2t0_2->Write();
482  hTmax_2t0_3->Write();
483  hTmax_2t0_4->Write();
484  hTmax_2t0_5->Write();
485  hTmax_t0->Write();
486  hTmax_t0_0->Write();
487  hTmax_t0_1->Write();
488  hTmax_t0_2->Write();
489  hTmax_t0_3->Write();
490  hTmax_t0_4->Write();
491  hTmax_t0_5->Write();
492  hTmax_0->Write();
493  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:514
TH1F * hTmax_2t0
Definition: vDriftHistos.h:523
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:534
TH1F * hTmax_3t0
Definition: vDriftHistos.h:516
TH1F * hTmax234
Definition: vDriftHistos.h:515
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:526
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:521
TH1F * hTmax_t0
Definition: vDriftHistos.h:530
TH1F * hTmax134s72
Definition: vDriftHistos.h:513
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:524
TH1F * hTmax124s72
Definition: vDriftHistos.h:511
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:528
TH1F * hTmax_0
Definition: vDriftHistos.h:537
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:527
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:531
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:532
TH1F * hTmax124s78
Definition: vDriftHistos.h:512
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:525
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:536
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:519
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:533
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:529
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:520
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:518
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:517
TH1F * hTmax123
Definition: vDriftHistos.h:510
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:522
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:535

Member Data Documentation

◆ hTmax123

TH1F* hTMaxCell::hTmax123

Definition at line 510 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax124s72

TH1F* hTMaxCell::hTmax124s72

Definition at line 511 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax124s78

TH1F* hTMaxCell::hTmax124s78

Definition at line 512 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax134s72

TH1F* hTMaxCell::hTmax134s72

Definition at line 513 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax134s78

TH1F* hTMaxCell::hTmax134s78

Definition at line 514 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax234

TH1F* hTMaxCell::hTmax234

Definition at line 515 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_0

TH1F* hTMaxCell::hTmax_0

Definition at line 537 of file vDriftHistos.h.

Referenced by Fill(), GetT0Factor(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0

TH1F* hTMaxCell::hTmax_2t0

Definition at line 523 of file vDriftHistos.h.

Referenced by Fill(), GetT0Factor(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0_0

TH1F* hTMaxCell::hTmax_2t0_0

Definition at line 524 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0_1

TH1F* hTMaxCell::hTmax_2t0_1

Definition at line 525 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0_2

TH1F* hTMaxCell::hTmax_2t0_2

Definition at line 526 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0_3

TH1F* hTMaxCell::hTmax_2t0_3

Definition at line 527 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0_4

TH1F* hTMaxCell::hTmax_2t0_4

Definition at line 528 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_2t0_5

TH1F* hTMaxCell::hTmax_2t0_5

Definition at line 529 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0

TH1F* hTMaxCell::hTmax_3t0

Definition at line 516 of file vDriftHistos.h.

Referenced by Fill(), GetT0Factor(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0_0

TH1F* hTMaxCell::hTmax_3t0_0

Definition at line 517 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0_1

TH1F* hTMaxCell::hTmax_3t0_1

Definition at line 518 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0_2

TH1F* hTMaxCell::hTmax_3t0_2

Definition at line 519 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0_3

TH1F* hTMaxCell::hTmax_3t0_3

Definition at line 520 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0_4

TH1F* hTMaxCell::hTmax_3t0_4

Definition at line 521 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_3t0_5

TH1F* hTMaxCell::hTmax_3t0_5

Definition at line 522 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0

TH1F* hTMaxCell::hTmax_t0

Definition at line 530 of file vDriftHistos.h.

Referenced by Fill(), GetT0Factor(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0_0

TH1F* hTMaxCell::hTmax_t0_0

Definition at line 531 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0_1

TH1F* hTMaxCell::hTmax_t0_1

Definition at line 532 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0_2

TH1F* hTMaxCell::hTmax_t0_2

Definition at line 533 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0_3

TH1F* hTMaxCell::hTmax_t0_3

Definition at line 534 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0_4

TH1F* hTMaxCell::hTmax_t0_4

Definition at line 535 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ hTmax_t0_5

TH1F* hTMaxCell::hTmax_t0_5

Definition at line 536 of file vDriftHistos.h.

Referenced by Fill(), hTMaxCell(), Write(), and ~hTMaxCell().

◆ name

TString hTMaxCell::name

Definition at line 539 of file vDriftHistos.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), FWLite.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), DisplayManager.DisplayManager::__del__(), dqm_interfaces.DirID::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), core.autovars.NTupleVariable::__repr__(), core.autovars.NTupleObjectType::__repr__(), core.autovars.NTupleObject::__repr__(), core.autovars.NTupleCollection::__repr__(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.Service::__setattr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), FWLite.WorkingPoints::_reformat_cut_definitions(), core.autovars.NTupleObjectType::addSubObjects(), core.autovars.NTupleObjectType::addVariables(), core.autovars.NTupleObjectType::allVars(), dataset.CMSDataset::buildListOfFiles(), dataset.LocalDataset::buildListOfFiles(), dataset.CMSDataset::buildListOfFilesDBS(), dirstructure.Directory::calcStats(), crabFunctions.CrabTask::crabConfig(), crabFunctions.CrabTask::crabFolder(), validation.Sample::digest(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), DisplayManager.DisplayManager::Draw(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), core.autovars.NTupleCollection::get_cpp_declaration(), core.autovars.NTupleCollection::get_cpp_wrapper_class(), core.autovars.NTupleCollection::get_py_wrapper_class(), utils.StatisticalTest::get_status(), production_tasks.Task::getname(), dataset.CMSDataset::getPrimaryDatasetEntries(), dataset.PrivateDataset::getPrimaryDatasetEntries(), crabFunctions.CrabTask::handleNoState(), hTMaxCell(), VIDSelectorBase.VIDSelectorBase::initialize(), crabFunctions.CrabTask::isData(), personalPlayback.Applet::log(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), dataset.BaseDataset::printInfo(), dataset.Dataset::printInfo(), crabFunctions.CrabTask::resubmit_failed(), production_tasks.MonitorJobs::run(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), crabFunctions.CrabTask::update(), crabFunctions.CrabTask::updateJobStats(), counter.Counter::write(), and average.Average::write().