CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 118 of file vDriftHistos.h.

Constructor & Destructor Documentation

hTMaxCell::hTMaxCell ( const TString &  name_)
inline

Definition at line 120 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.

120  {
121  name = name_;
122 
123  // book TMax histograms
124  hTmax123 = new TH1F (name+"_Tmax123", "Tmax123 value", 2000, -1000., 1000.);
125  hTmax124s72 = new TH1F (name+"_Tmax124_s72", "Tmax124 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
126  hTmax124s78 = new TH1F (name+"_Tmax124_s78", "Tmax124 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
127  hTmax134s72 = new TH1F (name+"_Tmax134_s72", "Tmax134 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
128  hTmax134s78 = new TH1F (name+"_Tmax134_s78", "Tmax134 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
129  hTmax234 = new TH1F (name+"_Tmax234", "Tmax234 value", 2000, -1000., 1000.);
130  hTmax_3t0 = new TH1F (name+"_3t0", "Tmax+3*Delta(t0)", 2000, -1000., 1000.);
131  hTmax_3t0_0 = new TH1F (name+"_3t0_0", "Tmax+3*Delta(t0); 3 hits", 2000, -1000., 1000.);
132  hTmax_3t0_1 = new TH1F (name+"_3t0_1", "Tmax+3*Delta(t0); one t<5ns", 2000, -1000., 1000.);
133  hTmax_3t0_2 = new TH1F (name+"_3t0_2", "Tmax+3*Delta(t0); one t<10ns", 2000, -1000., 1000.);
134  hTmax_3t0_3 = new TH1F (name+"_3t0_3", "Tmax+3*Delta(t0); one t<20ns", 2000, -1000., 1000.);
135  hTmax_3t0_4 = new TH1F (name+"_3t0_4", "Tmax+3*Delta(t0); one t<50ns", 2000, -1000., 1000.);
136  hTmax_3t0_5 = new TH1F (name+"_3t0_5", "Tmax+3*Delta(t0); all t>50ns", 2000, -1000., 1000.);
137  hTmax_2t0 = new TH1F (name+"_2t0", "Tmax+2*Delta(t0)", 2000, -1000., 1000.);
138  hTmax_2t0_0 = new TH1F (name+"_2t0_0", "Tmax+2*Delta(t0); 3 hits", 2000, -1000., 1000.);
139  hTmax_2t0_1 = new TH1F (name+"_2t0_1", "Tmax+2*Delta(t0); one t<5ns", 2000, -1000., 1000.);
140  hTmax_2t0_2 = new TH1F (name+"_2t0_2", "Tmax+2*Delta(t0); one t<10ns", 2000, -1000., 1000.);
141  hTmax_2t0_3 = new TH1F (name+"_2t0_3", "Tmax+2*Delta(t0); one t<20ns", 2000, -1000., 1000.);
142  hTmax_2t0_4 = new TH1F (name+"_2t0_4", "Tmax+2*Delta(t0); one t<50ns", 2000, -1000., 1000.);
143  hTmax_2t0_5 = new TH1F (name+"_2t0_5", "Tmax+2*Delta(t0); all t>50ns", 2000, -1000., 1000.);
144  hTmax_t0 = new TH1F (name+"_t0", "Tmax+Delta(t0)", 2000, -1000., 1000.);
145  hTmax_t0_0 = new TH1F (name+"_t0_0", "Tmax+Delta(t0); 3 hits", 2000, -1000., 1000.);
146  hTmax_t0_1 = new TH1F (name+"_t0_1", "Tmax+Delta(t0); one t<5ns", 2000, -1000., 1000.);
147  hTmax_t0_2 = new TH1F (name+"_t0_2", "Tmax+Delta(t0); one t<10ns", 2000, -1000., 1000.);
148  hTmax_t0_3 = new TH1F (name+"_t0_3", "Tmax+Delta(t0); one t<20ns", 2000, -1000., 1000.);
149  hTmax_t0_4 = new TH1F (name+"_t0_4", "Tmax+Delta(t0); one t<50ns", 2000, -1000., 1000.);
150  hTmax_t0_5 = new TH1F (name+"_t0_5", "Tmax+Delta(t0); all t>50ns", 2000, -1000., 1000.);
151  hTmax_0 = new TH1F (name+"_0", "Tmax", 2000, -1000., 1000.);
152  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:410
TH1F * hTmax_2t0
Definition: vDriftHistos.h:419
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:430
TH1F * hTmax_3t0
Definition: vDriftHistos.h:412
TH1F * hTmax234
Definition: vDriftHistos.h:411
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:422
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:417
TH1F * hTmax_t0
Definition: vDriftHistos.h:426
TH1F * hTmax134s72
Definition: vDriftHistos.h:409
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:420
TH1F * hTmax124s72
Definition: vDriftHistos.h:407
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:424
TH1F * hTmax_0
Definition: vDriftHistos.h:433
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:423
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:427
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:428
TH1F * hTmax124s78
Definition: vDriftHistos.h:408
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:421
TString name
Definition: vDriftHistos.h:435
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:432
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:415
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:429
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:425
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:416
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:414
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:413
TH1F * hTmax123
Definition: vDriftHistos.h:406
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:418
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:431
hTMaxCell::hTMaxCell ( const TString &  name_,
TFile *  file 
)
inline

Definition at line 155 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_1, hTmax_t0_2, hTmax_t0_3, hTmax_t0_4, hTmax_t0_5, and name.

155  {
156  name=name_;
157  hTmax123 = (TH1F *) file->Get(name+"_Tmax123");
158  hTmax124s72 = (TH1F *) file->Get(name+"_Tmax124_s72");
159  hTmax124s78 = (TH1F *) file->Get(name+"_Tmax124_s78");
160  hTmax134s72 = (TH1F *) file->Get(name+"_Tmax134_s72");
161  hTmax134s78 = (TH1F *) file->Get(name+"_Tmax134_s78");
162  hTmax234 = (TH1F *) file->Get(name+"_Tmax234");
163  hTmax_3t0 = (TH1F *) file->Get(name+"_3t0");
164  hTmax_3t0_0 = (TH1F *) file->Get(name+"_3t0_0");
165  hTmax_3t0_1 = (TH1F *) file->Get(name+"_3t0_1");
166  hTmax_3t0_2 = (TH1F *) file->Get(name+"_3t0_2");
167  hTmax_3t0_3 = (TH1F *) file->Get(name+"_3t0_3");
168  hTmax_3t0_4 = (TH1F *) file->Get(name+"_3t0_4");
169  hTmax_3t0_5 = (TH1F *) file->Get(name+"_3t0_5");
170  hTmax_2t0 = (TH1F *) file->Get(name+"_2t0");
171  hTmax_2t0_0 = (TH1F *) file->Get(name+"_2t0_0");
172  hTmax_2t0_1 = (TH1F *) file->Get(name+"_2t0_1");
173  hTmax_2t0_2 = (TH1F *) file->Get(name+"_2t0_2");
174  hTmax_2t0_3 = (TH1F *) file->Get(name+"_2t0_3");
175  hTmax_2t0_4 = (TH1F *) file->Get(name+"_2t0_4");
176  hTmax_2t0_5 = (TH1F *) file->Get(name+"_2t0_5");
177  hTmax_t0 = (TH1F *) file->Get(name+"_t0");
178  hTmax_t0_1 = (TH1F *) file->Get(name+"_t0_1");
179  hTmax_t0_2 = (TH1F *) file->Get(name+"_t0_2");
180  hTmax_t0_3 = (TH1F *) file->Get(name+"_t0_3");
181  hTmax_t0_4 = (TH1F *) file->Get(name+"_t0_4");
182  hTmax_t0_5 = (TH1F *) file->Get(name+"_t0_5");
183  hTmax_0 = (TH1F *) file->Get(name+"_0");
184 
185  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:410
TH1F * hTmax_2t0
Definition: vDriftHistos.h:419
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:430
TH1F * hTmax_3t0
Definition: vDriftHistos.h:412
TH1F * hTmax234
Definition: vDriftHistos.h:411
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:422
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:417
TH1F * hTmax_t0
Definition: vDriftHistos.h:426
TH1F * hTmax134s72
Definition: vDriftHistos.h:409
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:420
TH1F * hTmax124s72
Definition: vDriftHistos.h:407
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:424
TH1F * hTmax_0
Definition: vDriftHistos.h:433
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:423
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:428
TH1F * hTmax124s78
Definition: vDriftHistos.h:408
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:421
TString name
Definition: vDriftHistos.h:435
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:432
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:415
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:429
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:425
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:416
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:414
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:413
TH1F * hTmax123
Definition: vDriftHistos.h:406
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:418
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:431
hTMaxCell::~hTMaxCell ( )
inline

Definition at line 188 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.

188  {
189  delete hTmax123;
190  delete hTmax124s72;
191  delete hTmax124s78;
192  delete hTmax134s72;
193  delete hTmax134s78;
194  delete hTmax234;
195  delete hTmax_3t0;
196  delete hTmax_3t0_0;
197  delete hTmax_3t0_1;
198  delete hTmax_3t0_2;
199  delete hTmax_3t0_3;
200  delete hTmax_3t0_4;
201  delete hTmax_3t0_5;
202  delete hTmax_2t0;
203  delete hTmax_2t0_0;
204  delete hTmax_2t0_1;
205  delete hTmax_2t0_2;
206  delete hTmax_2t0_3;
207  delete hTmax_2t0_4;
208  delete hTmax_2t0_5;
209  delete hTmax_t0;
210  delete hTmax_t0_0;
211  delete hTmax_t0_1;
212  delete hTmax_t0_2;
213  delete hTmax_t0_3;
214  delete hTmax_t0_4;
215  delete hTmax_t0_5;
216  delete hTmax_0;
217 
218  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:410
TH1F * hTmax_2t0
Definition: vDriftHistos.h:419
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:430
TH1F * hTmax_3t0
Definition: vDriftHistos.h:412
TH1F * hTmax234
Definition: vDriftHistos.h:411
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:422
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:417
TH1F * hTmax_t0
Definition: vDriftHistos.h:426
TH1F * hTmax134s72
Definition: vDriftHistos.h:409
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:420
TH1F * hTmax124s72
Definition: vDriftHistos.h:407
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:424
TH1F * hTmax_0
Definition: vDriftHistos.h:433
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:423
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:427
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:428
TH1F * hTmax124s78
Definition: vDriftHistos.h:408
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:421
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:432
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:415
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:429
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:425
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:416
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:414
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:413
TH1F * hTmax123
Definition: vDriftHistos.h:406
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:418
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:431

Member Function Documentation

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 220 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().

228  {
229 
230  if(tmax123 > 0.) {
231  hTmax123->Fill(tmax123);
232  if(t0_123==1) {
233  hTmax_t0->Fill(tmax123);
234  switch(hSubGroup) {
235  case 0: hTmax_t0_0->Fill(tmax123); break;
236  case 1: hTmax_t0_1->Fill(tmax123); break;
237  case 2: hTmax_t0_2->Fill(tmax123); break;
238  case 3: hTmax_t0_3->Fill(tmax123); break;
239  case 4: hTmax_t0_4->Fill(tmax123); break;
240  case 99: hTmax_t0_5->Fill(tmax123); break;
241  }
242  }
243  else {
244  hTmax_2t0->Fill(tmax123);
245  switch(hSubGroup) {
246  case 0: hTmax_2t0_0->Fill(tmax123); break;
247  case 1: hTmax_2t0_1->Fill(tmax123); break;
248  case 2: hTmax_2t0_2->Fill(tmax123); break;
249  case 3: hTmax_2t0_3->Fill(tmax123); break;
250  case 4: hTmax_2t0_4->Fill(tmax123); break;
251  case 99: hTmax_2t0_5->Fill(tmax123); break;
252  }
253  }
254  }
255  if(tmax124 > 0.) {
256  (s124==dttmaxenums::r72)? hTmax124s72->Fill(tmax124):hTmax124s78->Fill(tmax124);
257  if(t0_124==0)
258  hTmax_0->Fill(tmax124);
259  else if(t0_124==1) {
260  hTmax_t0->Fill(tmax124);
261  switch(hSubGroup) {
262  case 0: hTmax_t0_0->Fill(tmax124); break;
263  case 1: hTmax_t0_1->Fill(tmax124); break;
264  case 2: hTmax_t0_2->Fill(tmax124); break;
265  case 3: hTmax_t0_3->Fill(tmax124); break;
266  case 4: hTmax_t0_4->Fill(tmax124); break;
267  case 99: hTmax_t0_5->Fill(tmax124); break;
268  }
269  }
270  else if(t0_124== 2) {
271  hTmax_2t0->Fill(tmax124);
272  switch(hSubGroup) {
273  case 0: hTmax_2t0_0->Fill(tmax124); break;
274  case 1: hTmax_2t0_1->Fill(tmax124); break;
275  case 2: hTmax_2t0_2->Fill(tmax124); break;
276  case 3: hTmax_2t0_3->Fill(tmax124); break;
277  case 4: hTmax_2t0_4->Fill(tmax124); break;
278  case 99: hTmax_2t0_5->Fill(tmax124); break;
279  }
280  }
281  else if(t0_124==3) {
282  hTmax_3t0->Fill(tmax124);
283  switch(hSubGroup) {
284  case 0: hTmax_3t0_0->Fill(tmax124); break;
285  case 1: hTmax_3t0_1->Fill(tmax124); break;
286  case 2: hTmax_3t0_2->Fill(tmax124); break;
287  case 3: hTmax_3t0_3->Fill(tmax124); break;
288  case 4: hTmax_3t0_4->Fill(tmax124); break;
289  case 99: hTmax_3t0_5->Fill(tmax124);break;
290  }
291  }
292  }
293  if(tmax134 > 0.) {
294  (s134==dttmaxenums::r72)? hTmax134s72->Fill(tmax134):hTmax134s78->Fill(tmax134);
295  if(t0_134==0)
296  hTmax_0->Fill(tmax134);
297  else if(t0_134==1) {
298  hTmax_t0->Fill(tmax134);
299  switch(hSubGroup) {
300  case 0: hTmax_t0_0->Fill(tmax134); break;
301  case 1: hTmax_t0_1->Fill(tmax134); break;
302  case 2: hTmax_t0_2->Fill(tmax134); break;
303  case 3: hTmax_t0_3->Fill(tmax134); break;
304  case 4: hTmax_t0_4->Fill(tmax134); break;
305  case 99: hTmax_t0_5->Fill(tmax134); break;
306  }
307  }
308  else if(t0_134== 2) {
309  hTmax_2t0->Fill(tmax134);
310  switch(hSubGroup) {
311  case 0: hTmax_2t0_0->Fill(tmax134); break;
312  case 1: hTmax_2t0_1->Fill(tmax134); break;
313  case 2: hTmax_2t0_2->Fill(tmax134); break;
314  case 3: hTmax_2t0_3->Fill(tmax134); break;
315  case 4: hTmax_2t0_4->Fill(tmax134); break;
316  case 99: hTmax_2t0_5->Fill(tmax134); break;
317  }
318  }
319  else if(t0_134==3) {
320  hTmax_3t0->Fill(tmax134);
321  switch(hSubGroup) {
322  case 0: hTmax_3t0_0->Fill(tmax134); break;
323  case 1: hTmax_3t0_1->Fill(tmax134); break;
324  case 2: hTmax_3t0_2->Fill(tmax134); break;
325  case 3: hTmax_3t0_3->Fill(tmax134); break;
326  case 4: hTmax_3t0_4->Fill(tmax134); break;
327  case 99: hTmax_3t0_5->Fill(tmax134); break;
328  }
329  }
330  }
331  if(tmax234 > 0.) {
332  hTmax234->Fill(tmax234);
333  if(t0_234==1) {
334  hTmax_t0->Fill(tmax234);
335  switch(hSubGroup) {
336  case 0: hTmax_t0_0->Fill(tmax234); break;
337  case 1: hTmax_t0_1->Fill(tmax234); break;
338  case 2: hTmax_t0_2->Fill(tmax234); break;
339  case 3: hTmax_t0_3->Fill(tmax234); break;
340  case 4: hTmax_t0_4->Fill(tmax234); break;
341  case 99: hTmax_t0_5->Fill(tmax234);break;
342  }
343  }
344  else {
345  hTmax_2t0->Fill(tmax234);
346  switch(hSubGroup) {
347  case 0: hTmax_2t0_0->Fill(tmax234); break;
348  case 1: hTmax_2t0_1->Fill(tmax234); break;
349  case 2: hTmax_2t0_2->Fill(tmax234); break;
350  case 3: hTmax_2t0_3->Fill(tmax234); break;
351  case 4: hTmax_2t0_4->Fill(tmax234); break;
352  case 99: hTmax_2t0_5->Fill(tmax234); break;
353  }
354  }
355  }
356  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:410
TH1F * hTmax_2t0
Definition: vDriftHistos.h:419
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:430
TH1F * hTmax_3t0
Definition: vDriftHistos.h:412
TH1F * hTmax234
Definition: vDriftHistos.h:411
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:422
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:417
TH1F * hTmax_t0
Definition: vDriftHistos.h:426
TH1F * hTmax134s72
Definition: vDriftHistos.h:409
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:420
TH1F * hTmax124s72
Definition: vDriftHistos.h:407
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:424
TH1F * hTmax_0
Definition: vDriftHistos.h:433
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:423
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:427
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:428
TH1F * hTmax124s78
Definition: vDriftHistos.h:408
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:421
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:432
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:415
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:429
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:425
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:416
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:414
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:413
TH1F * hTmax123
Definition: vDriftHistos.h:406
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:418
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:431
int hTMaxCell::GetT0Factor ( TH1F *  hist)
inline

Definition at line 391 of file vDriftHistos.h.

References hTmax_0, hTmax_2t0, hTmax_3t0, and hTmax_t0.

Referenced by DTMeanTimerFitter::evaluateVDriftAndReso().

391  {
392  unsigned t0 = 999;
393 
394  if (hist == hTmax_3t0)
395  t0 = 3;
396  else if(hist == hTmax_2t0)
397  t0 = 2;
398  else if(hist == hTmax_t0)
399  t0 = 1;
400  else if (hist == hTmax_0)
401  t0 = 0;
402 
403  return t0;
404  }
TH1F * hTmax_2t0
Definition: vDriftHistos.h:419
TH1F * hTmax_3t0
Definition: vDriftHistos.h:412
TH1F * hTmax_t0
Definition: vDriftHistos.h:426
TH1F * hTmax_0
Definition: vDriftHistos.h:433
void hTMaxCell::Write ( )
inline

Definition at line 358 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().

358  {
359  // write the Tmax histograms
360  hTmax123->Write();
361  hTmax124s72->Write();
362  hTmax124s78->Write();
363  hTmax134s72->Write();
364  hTmax134s78->Write();
365  hTmax234->Write();
366  hTmax_3t0->Write();
367  hTmax_3t0_0->Write();
368  hTmax_3t0_1->Write();
369  hTmax_3t0_2->Write();
370  hTmax_3t0_3->Write();
371  hTmax_3t0_4->Write();
372  hTmax_3t0_5->Write();
373  hTmax_2t0->Write();
374  hTmax_2t0_0->Write();
375  hTmax_2t0_1->Write();
376  hTmax_2t0_2->Write();
377  hTmax_2t0_3->Write();
378  hTmax_2t0_4->Write();
379  hTmax_2t0_5->Write();
380  hTmax_t0->Write();
381  hTmax_t0_0->Write();
382  hTmax_t0_1->Write();
383  hTmax_t0_2->Write();
384  hTmax_t0_3->Write();
385  hTmax_t0_4->Write();
386  hTmax_t0_5->Write();
387  hTmax_0->Write();
388 
389  }
TH1F * hTmax134s78
Definition: vDriftHistos.h:410
TH1F * hTmax_2t0
Definition: vDriftHistos.h:419
TH1F * hTmax_t0_3
Definition: vDriftHistos.h:430
TH1F * hTmax_3t0
Definition: vDriftHistos.h:412
TH1F * hTmax234
Definition: vDriftHistos.h:411
TH1F * hTmax_2t0_2
Definition: vDriftHistos.h:422
TH1F * hTmax_3t0_4
Definition: vDriftHistos.h:417
TH1F * hTmax_t0
Definition: vDriftHistos.h:426
TH1F * hTmax134s72
Definition: vDriftHistos.h:409
TH1F * hTmax_2t0_0
Definition: vDriftHistos.h:420
TH1F * hTmax124s72
Definition: vDriftHistos.h:407
TH1F * hTmax_2t0_4
Definition: vDriftHistos.h:424
TH1F * hTmax_0
Definition: vDriftHistos.h:433
TH1F * hTmax_2t0_3
Definition: vDriftHistos.h:423
TH1F * hTmax_t0_0
Definition: vDriftHistos.h:427
TH1F * hTmax_t0_1
Definition: vDriftHistos.h:428
TH1F * hTmax124s78
Definition: vDriftHistos.h:408
TH1F * hTmax_2t0_1
Definition: vDriftHistos.h:421
TH1F * hTmax_t0_5
Definition: vDriftHistos.h:432
TH1F * hTmax_3t0_2
Definition: vDriftHistos.h:415
TH1F * hTmax_t0_2
Definition: vDriftHistos.h:429
TH1F * hTmax_2t0_5
Definition: vDriftHistos.h:425
TH1F * hTmax_3t0_3
Definition: vDriftHistos.h:416
TH1F * hTmax_3t0_1
Definition: vDriftHistos.h:414
TH1F * hTmax_3t0_0
Definition: vDriftHistos.h:413
TH1F * hTmax123
Definition: vDriftHistos.h:406
TH1F * hTmax_3t0_5
Definition: vDriftHistos.h:418
TH1F * hTmax_t0_4
Definition: vDriftHistos.h:431

Member Data Documentation

TH1F* hTMaxCell::hTmax123
TH1F* hTMaxCell::hTmax124s72
TH1F* hTMaxCell::hTmax124s78
TH1F* hTMaxCell::hTmax134s72
TH1F* hTMaxCell::hTmax134s78
TH1F* hTMaxCell::hTmax234
TH1F* hTMaxCell::hTmax_0
TH1F* hTMaxCell::hTmax_2t0
TH1F* hTMaxCell::hTmax_2t0_0

Definition at line 420 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_2t0_1

Definition at line 421 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_2t0_2

Definition at line 422 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_2t0_3

Definition at line 423 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_2t0_4

Definition at line 424 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_2t0_5

Definition at line 425 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_3t0
TH1F* hTMaxCell::hTmax_3t0_0

Definition at line 413 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_3t0_1

Definition at line 414 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_3t0_2

Definition at line 415 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_3t0_3

Definition at line 416 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_3t0_4

Definition at line 417 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_3t0_5

Definition at line 418 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_t0
TH1F* hTMaxCell::hTmax_t0_0

Definition at line 427 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_t0_1

Definition at line 428 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_t0_2

Definition at line 429 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_t0_3

Definition at line 430 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_t0_4

Definition at line 431 of file vDriftHistos.h.

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

TH1F* hTMaxCell::hTmax_t0_5

Definition at line 432 of file vDriftHistos.h.

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

TString hTMaxCell::name

Definition at line 435 of file vDriftHistos.h.

Referenced by ElectronMVAID.ElectronMVAID::__call__(), dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), BeautifulSoup.Tag::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), config.CFG::__str__(), counter.Counter::__str__(), average.Average::__str__(), BeautifulSoup.Tag::__str__(), BeautifulSoup.SoupStrainer::__str__(), core.autovars.NTupleObjectType::allVars(), dirstructure.Directory::calcStats(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), TreeCrawler.Package::dump(), core.autovars.NTupleVariable::fillBranch(), core.autovars.NTupleObject::fillBranches(), core.autovars.NTupleCollection::fillBranchesScalar(), core.autovars.NTupleCollection::fillBranchesVector(), utils.StatisticalTest::get_status(), hTMaxCell(), core.autovars.NTupleVariable::makeBranch(), core.autovars.NTupleObject::makeBranches(), core.autovars.NTupleCollection::makeBranchesScalar(), core.autovars.NTupleCollection::makeBranchesVector(), dirstructure.Directory::print_report(), BeautifulSoup.SoupStrainer::searchTag(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), Vispa.Views.PropertyView.Property::valueChanged(), counter.Counter::write(), and average.Average::write().