ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AnalysisR3_Tier0.cxx
Go to the documentation of this file.
1 
11 #include <cmath>
12 
16 
18 
20  double /*pTCut*/,
21  double /*etaCut*/,
22  double /*d0Cut*/,
23  double /*z0Cut*/)
25  // m_pTCut(pTCut), /// left in commented for development purposes
26  // m_etaCut(etaCut),
27  // m_d0Cut(d0Cut),
28  // m_z0Cut(z0Cut),
29  m_nVtx(0),
30  m_debug(false),
31  m_eventid(0),
32  m_vtxanal(0),
33  m_monTool(0)
34 {}
35 
37  if ( m_monTool ) initialise_R3();
38 }
39 
41 
43 
44  ChainString cname = name();
45 
46  // std::cout << "AnalysisR3_Tier0::initialise() name " << name() << std::endl;
47 
48 #if 0
49  std::cout << "\nAnalysisR3_Tier0:: chain specification: " << cname << "\t" << cname.raw() << std::endl;
51  std::cout << "\tchain: " << cname.head() << std::endl;
52  std::cout << "\tkey: " << cname.tail() << std::endl;
53  std::cout << "\troi: " << cname.roi() << std::endl;
54  std::cout << "\tvtx: " << cname.vtx() << std::endl;
55  std::cout << "\tte: " << cname.element() << std::endl;
56 #endif
57 
58  m_debug = false;
59 
60  m_hchain = TIDA::Histogram<float>( monTool(), "Chain" );
61 
62  m_hroieta = TIDA::Histogram<float>( monTool(), "roi_eta" );
63 
66 
67  m_hntrk = TIDA::Histogram<float>( monTool(), "reftrk_N" );
68 
70 
71  m_htrkpT = TIDA::Histogram<float>( monTool(), "reftrk_pT" );
72  m_htrkphi = TIDA::Histogram<float>( monTool(), "reftrk_phi" );
73  m_htrketa = TIDA::Histogram<float>( monTool(), "reftrk_eta" );
74  if (name().find("LRT")!=std::string::npos || name().find("lrt")!=std::string::npos) {
75  m_htrkd0 = TIDA::Histogram<float>( monTool(), "reftrk_d0" );
76  } else {
77  m_htrkd0 = TIDA::Histogram<float>( monTool(), "reftrk_d0" );
78  }
79  m_htrkz0 = TIDA::Histogram<float>( monTool(), "reftrk_z0" );
80 
82  m_htrkdd0 = TIDA::Histogram<float>( monTool(), "reftrk_dd0" );
83  m_htrkdz0 = TIDA::Histogram<float>( monTool(), "reftrk_dz0" );
84 
85  m_htrkd0sig = TIDA::Histogram<float>( monTool(), "reftrk_d0sig" );
86 
87 
89 
92  // m_hntrk_rec = TIDA::Histogram<float>( monTool(), "testtrk_N", "Test tracks", 100, vnbins );
93  m_hntrk_rec = TIDA::Histogram<float>( monTool(), "testtrk_N" );
94 
95 
96  // m_htrkpT_rec = TIDA::Histogram<float>( monTool(), "testtrk_pT" , "Test track pT", 25, 0., 100.);
97  m_htrkpT_rec = TIDA::Histogram<float>( monTool(), "testtrk_pT" );
98  m_htrkphi_rec = TIDA::Histogram<float>( monTool(), "testtrk_phi" );
99  m_htrketa_rec = TIDA::Histogram<float>( monTool(), "testtrk_eta" );
100  if (name().find("LRT")!=std::string::npos || name().find("lrt")!=std::string::npos) {
101  m_htrkd0_rec = TIDA::Histogram<float>( monTool(), "testtrk_d0" );
102  } else {
103  m_htrkd0_rec = TIDA::Histogram<float>( monTool(), "testtrk_d0" );
104  }
105  m_htrkz0_rec = TIDA::Histogram<float>( monTool(), "testtrk_z0" );
106 
107  m_htrkdd0_rec = TIDA::Histogram<float>( monTool(), "testtrk_dd0" );
108  m_htrkdz0_rec = TIDA::Histogram<float>( monTool(), "testtrk_dz0" );
109 
110  m_htrkd0sig_rec = TIDA::Histogram<float>( monTool(), "testtrk_d0sig" );
111 
112 
113 
115 
116 
117  m_htotal_efficiency = TIDA::Histogram<float>( monTool(), "Eff_overall" );
118 
119  m_hpTeff = TIDA::Histogram<float>( monTool(), "Eff_pT" );
120  m_hetaeff = TIDA::Histogram<float>( monTool(), "Eff_Eta" );
121  m_hphieff = TIDA::Histogram<float>( monTool(), "Eff_Phi" );
122  if (name().find("LRT")!=std::string::npos || name().find("lrt")!=std::string::npos) {
123  m_hd0eff = TIDA::Histogram<float>( monTool(), "Eff_d0" );
124  } else {
125  m_hd0eff = TIDA::Histogram<float>( monTool(), "Eff_d0" );
126  }
127  m_hz0eff = TIDA::Histogram<float>( monTool(), "Eff_z0" );
128  m_hnVtxeff = TIDA::Histogram<float>( monTool(), "Eff_nVtx" );
129 
130 
131  m_hlbeff = TIDA::Histogram<float>( monTool(), "Eff_lb" );
132 
133 
134  m_htrkvtx_x_lb = TIDA::Histogram<float>( monTool(), "trkvtx_x_vs_lb" );
135  m_htrkvtx_y_lb = TIDA::Histogram<float>( monTool(), "trkvtx_y_vs_lb" );
136  m_htrkvtx_z_lb = TIDA::Histogram<float>( monTool(), "trkvtx_z_vs_lb" );
137 
140  // m_hotrkvtx_x_lb = TIDA::Histogram<float>( monTool(), "otrkvtx_x_vs_lb" );
141  // m_hotrkvtx_y_lb = TIDA::Histogram<float>( monTool(), "otrkvtx_y_vs_lb" );
142  // m_hotrkvtx_z_lb = TIDA::Histogram<float>( monTool(), "otrkvtx_z_vs_lb" );
143 
144 
146  m_hnpixvseta = TIDA::Histogram<float>( monTool(), "npix_vs_eta" );
147  m_hnpixvseta_rec = TIDA::Histogram<float>( monTool(), "npix_vs_eta_rec" );
148 
149  m_hnsctvseta = TIDA::Histogram<float>( monTool(), "nsct_vs_eta" );
150  m_hnsctvseta_rec = TIDA::Histogram<float>( monTool(), "nsct_vs_eta_rec" );
151 
152  m_hntrtvseta = TIDA::Histogram<float>( monTool(), "ntrt_vs_eta" );
153  m_hntrtvseta_rec = TIDA::Histogram<float>( monTool(), "ntrt_vs_eta_rec" );
154 
155  m_hnpixvsphi = TIDA::Histogram<float>( monTool(), "npix_vs_phi" );
156  m_hnpixvsphi_rec = TIDA::Histogram<float>( monTool(), "npix_vs_phi_rec" );
157 
158  m_hnsctvsphi = TIDA::Histogram<float>( monTool(), "nsct_vs_phi" );
159  m_hnsctvsphi_rec = TIDA::Histogram<float>( monTool(), "nsct_vs_phi_rec" );
160 
161  m_hntrtvsphi = TIDA::Histogram<float>( monTool(), "ntrt_vs_phi" );
162  m_hntrtvsphi_rec = TIDA::Histogram<float>( monTool(), "ntrt_vs_phi_rec" );
163 
164  if (name().find("LRT")!=std::string::npos || name().find("lrt")!=std::string::npos) {
165  m_hnpixvsd0 = TIDA::Histogram<float>( monTool(), "npix_vs_d0" );
166  m_hnpixvsd0_rec = TIDA::Histogram<float>( monTool(), "npix_vs_d0_rec" );
167 
168  m_hnsctvsd0 = TIDA::Histogram<float>( monTool(), "nsct_vs_d0" );
169  m_hnsctvsd0_rec = TIDA::Histogram<float>( monTool(), "nsct_vs_d0_rec" );
170  } else {
171  m_hnpixvsd0 = TIDA::Histogram<float>( monTool(), "npix_vs_d0" );
172  m_hnpixvsd0_rec = TIDA::Histogram<float>( monTool(), "npix_vs_d0_rec" );
173 
174  m_hnsctvsd0 = TIDA::Histogram<float>( monTool(), "nsct_vs_d0" );
175  m_hnsctvsd0_rec = TIDA::Histogram<float>( monTool(), "nsct_vs_d0_rec" );
176  }
177 
178  m_hnpixvspT = TIDA::Histogram<float>( monTool(), "npix_vs_pT" );
179  m_hnpixvspT_rec = TIDA::Histogram<float>( monTool(), "npix_vs_pT_rec" );
180 
181  m_hnsctvspT = TIDA::Histogram<float>( monTool(), "nsct_vs_pT" );
182  m_hnsctvspT_rec = TIDA::Histogram<float>( monTool(), "nsct_vs_pT_rec" );
183 
184 
185  m_hnsihits_lb = TIDA::Histogram<float>( monTool(), "nsihits_lb" );
186  m_hnsihits_lb_rec = TIDA::Histogram<float>( monTool(), "nsihits_lb_rec" );
187 
188 
189  m_hlayer_rec = TIDA::Histogram<float>( monTool(), "layer_rec" );
190  m_hlayer = TIDA::Histogram<float>( monTool(), "layer" );
191 
193 
194 
195  m_hpTres = TIDA::Histogram<float>( monTool(), "Res_pT" );
196  m_hipTres = TIDA::Histogram<float>( monTool(), "Res_ipT" );
197  m_hetares = TIDA::Histogram<float>( monTool(), "Res_eta" );
198  m_hphires = TIDA::Histogram<float>( monTool(), "Res_phi" );
199  m_hd0res = TIDA::Histogram<float>( monTool(), "Res_d0" );
200  m_hz0res = TIDA::Histogram<float>( monTool(), "Res_z0" );
201 
202 
204 
205  m_htrkpT_residual = TIDA::Histogram<float>( monTool(), "residual_pT" );
206  m_htrkipT_residual = TIDA::Histogram<float>( monTool(), "residual_ipT" );
207  m_htrkphi_residual = TIDA::Histogram<float>( monTool(), "residual_phi" );
208  m_htrketa_residual = TIDA::Histogram<float>( monTool(), "residual_eta" );
209  m_htrkd0_residual = TIDA::Histogram<float>( monTool(), "residual_d0" );
210  m_htrkz0_residual = TIDA::Histogram<float>( monTool(), "residual_z0" );
211 
212  m_htrkdd0_residual = TIDA::Histogram<float>( monTool(), "residual_dd0" );
213  m_htrkdz0_residual = TIDA::Histogram<float>( monTool(), "residual_dz0" );
214 
215 
216 
217  m_hnpix = TIDA::Histogram<float>( monTool(), "npix" );
218  m_hnpix_rec = TIDA::Histogram<float>( monTool(), "npix_rec" );
219 
220  m_hnsct = TIDA::Histogram<float>( monTool(), "nsct" );
221  m_hnsct_rec = TIDA::Histogram<float>( monTool(), "nsct_rec" );
222 
223  m_hnsihits = TIDA::Histogram<float>( monTool(), "nsiHits" );
224  m_hnsihits_rec = TIDA::Histogram<float>( monTool(), "nsiHits_rec" );
225 
226  m_hntrt = TIDA::Histogram<float>( monTool(), "ntrt" );
227  m_hntrt_rec = TIDA::Histogram<float>( monTool(), "ntrt_rec" );
228 
229  m_chi2dof = TIDA::Histogram<float>( monTool(), "chi2dof" );
230  m_chi2dof_rec = TIDA::Histogram<float>( monTool(), "chi2dof_rec" );
231 
232  // m_hmu = TIDA::Histogram<float>( monTool(), "mu" );
233  m_hmu = TIDA::Histogram<float>( monTool(), "mu" );
234 
235 
237 
238  m_hd0vsphi = TIDA::Histogram<float>( monTool(), "d0_vs_phi_prof" );
239  m_hd0vsphi_rec = TIDA::Histogram<float>( monTool(), "d0_vs_phi_rec_prof" );
240 
244 
245  if ( m_vtxanal ) delete m_vtxanal;
246  m_vtxanal = 0;
247 
248 
249 #if 1
250 
252  // if ( name().find("vtx")!=std::string::npos || name().find("Vtx")!=std::string::npos ||
253  // name().find("vx")!=std::string::npos || name().find("Vx")!=std::string::npos ) {
254 
255  if ( ChainString(name()).vtx()!="" ) {
256 
257  m_vtxanal = new VtxR3Analysis("VTX");
258 
260 
262  store().insert( m_vtxanal, "VTX" );
263 
266 
267  }
268 
269 #endif
270 
271 }
272 
273 extern TIDARoiDescriptor* agroi;
274 
275 
276 void AnalysisR3_Tier0::execute(const std::vector<TIDA::Track*>& referenceTracks,
277  const std::vector<TIDA::Track*>& testTracks,
278  TrackAssociator* associator,
279  const TIDA::Event* tevt,
280  double* beamline,
281  TIDARoiDescriptor* roi)
282 {
283 
285  std::vector<TIDA::Track*>::const_iterator reference = referenceTracks.begin();
286  std::vector<TIDA::Track*>::const_iterator referenceEnd = referenceTracks.end();
287 
290  m_hchain->Fill( 0.5, 1 );
291 
292 
293  if ( roi!=nullptr ) m_hroieta->Fill( roi->eta(), 1 );
294 
295  if ( tevt!=nullptr && m_eventid != tevt->event_number() ) {
298  // m_eventid = event()->event_number();
299  m_eventid = tevt->event_number();
300  m_hchain->Fill( 1.5, 1 );
301 
302  m_hmu->Fill( tevt->mu() );
303 
304  }
305 
306  m_hntrk->Fill( referenceTracks.size() );
307  m_hntrk_rec->Fill( testTracks.size() );
308 
310  m_hchain->Fill(4.5, testTracks.size() );
311 
312  for( ; reference!=referenceEnd ; ++reference ) {
313 
314  // Get reference parameters
315  double referenceEta = (*reference)->eta();
316  double referencePhi = phi((*reference)->phi());
317  double referenceZ0 = (*reference)->z0();
318  double referenceD0 = (*reference)->a0();
319  double referencePT = (*reference)->pT();
320 
321  double referenceDZ0 = (*reference)->dz0();
322  double referenceDD0 = (*reference)->da0();
323 
324  // Find matched tracks
325  const TIDA::Track* test = associator->matched(*reference);
326 
327  float eff_weight = 0;
328  if (test) eff_weight = 1;
329 
330  m_htotal_efficiency->Fill(0.5, eff_weight );
331 
332  m_hpTeff->Fill( std::fabs(referencePT)*0.001, eff_weight );
333  m_hz0eff->Fill( referenceZ0, eff_weight );
334  m_hd0eff->Fill( referenceD0, eff_weight );
335  m_hetaeff->Fill( referenceEta, eff_weight );
336  m_hphieff->Fill( referencePhi, eff_weight );
338  if (beamline) m_hnVtxeff->Fill( beamline[3], eff_weight );
339 
340  if (tevt) m_hlbeff->Fill( tevt->lumi_block(), eff_weight );
341 
342  m_htrkpT->Fill( std::fabs(referencePT)*0.001 );
343  m_htrketa->Fill( referenceEta );
344  m_htrkphi->Fill( referencePhi );
345  m_htrkd0->Fill( referenceD0 );
346  m_htrkz0->Fill( referenceZ0 );
347 
348  m_htrkdd0->Fill( referenceDD0 );
349  m_htrkdz0->Fill( referenceDZ0 );
350 
351  if ( referenceDD0!=0 ) m_htrkd0sig->Fill( referenceD0/referenceDD0 );
352 
353  m_hnpixvseta->Fill( referenceEta, int(((*reference)->pixelHits()+0.5)*0.5) );
354  m_hnsctvseta->Fill( referenceEta, (*reference)->sctHits() );
355  m_hntrtvseta->Fill( referenceEta, (*reference)->strawHits() );
356 
357  if ( (*reference)->dof()!=0 ) m_chi2dof->Fill( (*reference)->chi2()/(*reference)->dof() );
358 
359  m_hnpixvsphi->Fill( referencePhi, int(((*reference)->pixelHits()+0.5)*0.5) );
360  m_hnsctvsphi->Fill( referencePhi, (*reference)->sctHits() );
361  m_hntrtvsphi->Fill( referencePhi, (*reference)->strawHits() );
362 
363  m_hnpixvsd0->Fill( referenceD0, int(((*reference)->pixelHits()+0.5)*0.5) );
364  m_hnsctvsd0->Fill( referenceD0, (*reference)->sctHits() );
365 
366  m_hnpixvspT->Fill( std::fabs(referencePT)*0.001, int(((*reference)->pixelHits()+0.5)*0.5) );
367  m_hnsctvspT->Fill( std::fabs(referencePT)*0.001, (*reference)->sctHits() );
368 
369 
370  m_hnpix->Fill( int(((*reference)->pixelHits()+0.5)*0.5) );
371  m_hnsct->Fill( (*reference)->sctHits() );
372  m_hnsihits->Fill( (*reference)->siHits() );
373  m_hntrt->Fill( (*reference)->strawHits() );
374 
375 
376  // m_hnsihits_lb->Fill( event()->lumi_block(), (*reference)->siHits() );
377  if (tevt) m_hnsihits_lb->Fill( tevt->lumi_block(), (*reference)->siHits() );
378 
379  m_hd0vsphi->Fill(referencePhi, referenceD0 );
380 
382  m_hchain->Fill(2.5, 1);
383 
384 
385  for ( size_t ilayer=0 ; ilayer<32 ; ilayer++ ) {
386  if ( (*reference)->hitPattern()&(1U<<ilayer) ) m_hlayer->Fill( ilayer );
387  }
388 
389  if (test) {
390 
391  m_hchain->Fill(3.5, 1);
392 
395 
397  // m_hpTres->Fill( referencePT*0.001, (test->pT() - referencePT)*0.001 );
398  // m_hipTres->Fill( 1000/referencePT, (1000/test->pT() - 1000/referencePT) );
399  // m_hetares->Fill( referenceEta, test->eta() - referenceEta );
400  // m_hphires->Fill( referencePhi, phi(test->phi() - referencePhi) );
401  // m_hd0res->Fill( referenceD0, test->a0() - referenceD0 );
402  // m_hz0res->Fill( referenceZ0, test->z0() - referenceZ0 );
403 
405  m_hpTres->Fill( referenceEta, (test->pT() - referencePT)*0.001 );
406  m_hipTres->Fill( referenceEta, (1000/test->pT() - 1000/referencePT) );
407  m_hetares->Fill( referenceEta, test->eta() - referenceEta );
408  m_hphires->Fill( referenceEta, phi(test->phi() - referencePhi) );
409  m_hd0res->Fill( referenceEta, test->a0() - referenceD0 );
410  m_hz0res->Fill( referenceEta, test->z0() - referenceZ0 );
411 
412  // m_htrkvtx_x_lb->Fill( event()->lumi_block(), beamTestx() );
413  // m_htrkvtx_y_lb->Fill( event()->lumi_block(), beamTesty() );
414  // m_htrkvtx_z_lb->Fill( event()->lumi_block(), beamTestz() );
415 
416  if (tevt && beamline) {
417  m_htrkvtx_x_lb->Fill( tevt->lumi_block(), beamline[0] );
418  m_htrkvtx_y_lb->Fill( tevt->lumi_block(), beamline[1] );
419  m_htrkvtx_z_lb->Fill( tevt->lumi_block(), beamline[2] );
420  }
421 
422  for ( size_t ilayer=0 ; ilayer<32 ; ilayer++ ) {
423  if ( test->hitPattern()&(1U<<ilayer) ) m_hlayer_rec->Fill( ilayer );
424  }
425 
426  // std::cout << "SUTT beam x " << beamTestx() << " " << "\tx " << beamTesty() << " " << "\ty " << beamTestz() << std::endl;
427 
428 #if 0
429  m_htrkpT_rec->Fill( referencePT*0.001 );
431  m_htrketa_rec->Fill( referenceEta );
432  m_htrkphi_rec->Fill( referencePhi );
433  m_htrkd0_rec->Fill( referenceD0 );
434  m_htrkz0_rec->Fill( referenceZ0 );
435 
436 #endif
437 
439  m_htrkpT_rec->Fill( std::fabs(test->pT())*0.001 );
440  m_htrketa_rec->Fill( test->eta() );
441  m_htrkphi_rec->Fill( test->phi() );
442  m_htrkd0_rec->Fill( test->a0() );
443  m_htrkz0_rec->Fill( test->z0() );
444 
445  m_htrkdd0_rec->Fill( test->da0() );
446  m_htrkdz0_rec->Fill( test->dz0() );
447 
448  if ( test->da0()!=0 ) m_htrkd0sig_rec->Fill( test->a0()/test->da0() );
449 
450 
452  m_htrkpT_residual->Fill( (test->pT() - referencePT)*0.001 );
453  m_htrkipT_residual->Fill( (1000/test->pT() - 1000/referencePT) );
454  m_htrketa_residual->Fill( test->eta() - referenceEta );
455  m_htrkphi_residual->Fill( phi(test->phi() - referencePhi) );
456 
457  m_htrkd0_residual->Fill( test->a0() - referenceD0 );
458  m_htrkz0_residual->Fill( test->z0() - referenceZ0 );
459 
460  m_htrkdd0_residual->Fill( test->da0() - referenceDD0 );
461  m_htrkdz0_residual->Fill( test->dz0() - referenceDZ0 );
462 
463  m_hnpixvseta_rec->Fill( referenceEta, int((test->pixelHits()+0.5)*0.5) );
464  m_hnsctvseta_rec->Fill( referenceEta, test->sctHits() );
465 
466  m_hnpixvsphi_rec->Fill( referencePhi, int((test->pixelHits()+0.5)*0.5) );
467  m_hnsctvsphi_rec->Fill( referencePhi, test->sctHits() );
468 
469  m_hnpixvsd0_rec->Fill( referenceD0, int((test->pixelHits()+0.5)*0.5) );
470  m_hnsctvsd0_rec->Fill( referenceD0, test->sctHits() );
471 
472  m_hnpixvspT_rec->Fill( std::fabs(referencePT)*0.001, int((test->pixelHits()+0.5)*0.5) );
473  m_hnsctvspT_rec->Fill( std::fabs(referencePT)*0.001, test->sctHits() );
474 
475  m_hnpix_rec->Fill( int((test->pixelHits()+0.5)*0.5) );
476  m_hnsct_rec->Fill( test->sctHits() );
477  m_hnsihits_rec->Fill( test->siHits() );
478 
479  if (tevt) m_hnsihits_lb_rec->Fill( tevt->lumi_block(), test->siHits() );
480 
481 
482  m_hntrt_rec->Fill( test->strawHits() );
483 
484  m_hntrtvseta_rec->Fill( referenceEta, test->strawHits() );
485  m_hntrtvsphi_rec->Fill( referencePhi, test->strawHits() );
486 
487  m_hd0vsphi_rec->Fill( test->phi(), test->a0() );
488 
489  if ( test->dof()!=0 ) m_chi2dof_rec->Fill( test->chi2()/test->dof() );
490 
491  }
492 
493  }
494 }
495 
496 
497 
498 
499 void AnalysisR3_Tier0::execute_vtx(const std::vector<TIDA::Vertex*>& vtx0,
500  const std::vector<TIDA::Vertex*>& vtx1,
501  const TIDA::Event* tevt ) {
502  if ( m_vtxanal ) m_vtxanal->execute( vtx0, vtx1, tevt );
503 }
504 
505 
507  if ( m_vtxanal ) {
508  m_vtxanal->finalise();
509  delete m_vtxanal;
510  m_vtxanal = 0;
511  }
512 }
513 
514 
515 
516 double AnalysisR3_Tier0::phi(double p) {
517  if(p < -M_PI) p += 2*M_PI;
518  if(p > M_PI) p -= 2*M_PI;
519  return p;
520 }
521 
522 
523 
524 
525 
AnalysisR3_Tier0::initialise_R3
virtual void initialise_R3()
Definition: AnalysisR3_Tier0.cxx:42
AnalysisR3_Tier0::m_htrkz0_rec
TIDA::Histogram< float > m_htrkz0_rec
Definition: AnalysisR3_Tier0.h:203
AnalysisR3_Tier0::m_hnsihits_lb
TIDA::Histogram< float > m_hnsihits_lb
Definition: AnalysisR3_Tier0.h:145
TIDA::Associator
Definition: TIDAAssociator.h:24
Track.h
AnalysisR3_Tier0::m_hntrtvsphi_rec
TIDA::Histogram< float > m_hntrtvsphi_rec
Definition: AnalysisR3_Tier0.h:158
AnalysisR3_Tier0::m_hmu
TIDA::Histogram< float > m_hmu
Definition: AnalysisR3_Tier0.h:193
AnalysisR3_Tier0::m_hetaeff
TIDA::Histogram< float > m_hetaeff
Definition: AnalysisR3_Tier0.h:113
AnalysisR3_Tier0::m_hphieff
TIDA::Histogram< float > m_hphieff
Definition: AnalysisR3_Tier0.h:114
AnalysisR3_Tier0::m_htrkipT_residual
TIDA::Histogram< float > m_htrkipT_residual
Definition: AnalysisR3_Tier0.h:220
VtxR3Analysis
Definition: VtxR3Analysis.h:24
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
AnalysisR3_Tier0::m_htrketa_rec
TIDA::Histogram< float > m_htrketa_rec
Definition: AnalysisR3_Tier0.h:200
AnalysisR3_Tier0::m_htrkpT_residual
TIDA::Histogram< float > m_htrkpT_residual
Definition: AnalysisR3_Tier0.h:219
AnalysisR3_Tier0::phi
double phi(double p)
Definition: AnalysisR3_Tier0.cxx:516
AnalysisR3_Tier0::m_hpTres
TIDA::Histogram< float > m_hpTres
Definition: AnalysisR3_Tier0.h:120
AnalysisR3_Tier0::m_hipTres
TIDA::Histogram< float > m_hipTres
Definition: AnalysisR3_Tier0.h:121
AnalysisR3_Tier0::m_htrkvtx_y_lb
TIDA::Histogram< float > m_htrkvtx_y_lb
Definition: AnalysisR3_Tier0.h:128
VtxR3Analysis::set_monTool
void set_monTool(ToolHandle< GenericMonitoringTool > *m)
Definition: VtxR3Analysis.h:40
AnalysisR3_Tier0::m_hntrtvseta
TIDA::Histogram< float > m_hntrtvseta
Definition: AnalysisR3_Tier0.h:142
AnalysisR3_Tier0::m_htrkphi
TIDA::Histogram< float > m_htrkphi
Definition: AnalysisR3_Tier0.h:172
M_PI
#define M_PI
Definition: ActiveFraction.h:11
AnalysisR3_Tier0::m_htrkd0_rec
TIDA::Histogram< float > m_htrkd0_rec
Definition: AnalysisR3_Tier0.h:202
AnalysisR3_Tier0::m_hphires
TIDA::Histogram< float > m_hphires
Definition: AnalysisR3_Tier0.h:123
AnalysisR3_Tier0::m_htrkphi_rec
TIDA::Histogram< float > m_htrkphi_rec
Definition: AnalysisR3_Tier0.h:201
TIDARoiDescriptor
Describes the Region of Ineterest geometry It has basically 8 parameters.
Definition: TIDARoiDescriptor.h:42
AnalysisR3_Tier0::m_hnsihits_rec
TIDA::Histogram< float > m_hnsihits_rec
Definition: AnalysisR3_Tier0.h:212
AnalysisR3_Tier0::m_hz0eff
TIDA::Histogram< float > m_hz0eff
Definition: AnalysisR3_Tier0.h:116
AnalysisR3_Tier0::m_hnpixvsd0
TIDA::Histogram< float > m_hnpixvsd0
Definition: AnalysisR3_Tier0.h:134
ChainString
Definition: ChainString.h:23
reference
Definition: hcg.cxx:437
AnalysisR3_Tier0::m_htrkz0
TIDA::Histogram< float > m_htrkz0
Definition: AnalysisR3_Tier0.h:174
TrigInDetValidation_Base.test
test
Definition: TrigInDetValidation_Base.py:147
TrackAnalysis::roi
const TIDARoiDescriptor * roi() const
Definition: TrackAnalysis.h:138
AnalysisR3_Tier0::m_hntrtvsphi
TIDA::Histogram< float > m_hntrtvsphi
Definition: AnalysisR3_Tier0.h:143
AnalysisR3_Tier0::m_hntrk
TIDA::Histogram< float > m_hntrk
Definition: AnalysisR3_Tier0.h:168
AnalysisR3_Tier0::m_hnsctvseta
TIDA::Histogram< float > m_hnsctvseta
Definition: AnalysisR3_Tier0.h:137
TIDA::Event
Definition: TIDAEvent.h:33
TIDA::Event::lumi_block
void lumi_block(unsigned lb)
Definition: TIDAEvent.h:44
TIDA::Associator::matched
virtual const S * matched(T *t)
Definition: TIDAAssociator.h:45
AnalysisR3_Tier0::m_hnpixvseta_rec
TIDA::Histogram< float > m_hnpixvseta_rec
Definition: AnalysisR3_Tier0.h:147
TIDA::Histogram< float >
AnalysisR3_Tier0::m_hd0res
TIDA::Histogram< float > m_hd0res
Definition: AnalysisR3_Tier0.h:124
AnalysisR3_Tier0::finalise
virtual void finalise()
Definition: AnalysisR3_Tier0.cxx:506
AnalysisR3_Tier0::m_htrkz0_residual
TIDA::Histogram< float > m_htrkz0_residual
Definition: AnalysisR3_Tier0.h:224
TIDA::Histogram::Fill
void Fill(T d) const
Definition: TIDAHistogram.h:35
VtxR3Analysis::initialise
void initialise()
Definition: VtxR3Analysis.cxx:44
AnalysisR3_Tier0::m_hnpixvseta
TIDA::Histogram< float > m_hnpixvseta
Definition: AnalysisR3_Tier0.h:132
AnalysisR3_Tier0::m_hnsct
TIDA::Histogram< float > m_hnsct
Definition: AnalysisR3_Tier0.h:183
TrackAnalysis::name
const std::string & name() const
return identifier
Definition: TrackAnalysis.h:52
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
VtxR3Analysis::execute
void execute(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *te=0)
Definition: VtxR3Analysis.cxx:88
AnalysisR3_Tier0::m_htrkdz0_rec
TIDA::Histogram< float > m_htrkdz0_rec
Definition: AnalysisR3_Tier0.h:206
AnalysisR3_Tier0::AnalysisR3_Tier0
AnalysisR3_Tier0(const std::string &name, double pTCut, double etaCut, double d0Cut, double z0Cut)
Definition: AnalysisR3_Tier0.cxx:19
AnalysisR3_Tier0::m_htrkdd0_residual
TIDA::Histogram< float > m_htrkdd0_residual
Definition: AnalysisR3_Tier0.h:226
AnalysisR3_Tier0::m_hd0eff
TIDA::Histogram< float > m_hd0eff
Definition: AnalysisR3_Tier0.h:115
AnalysisR3_Tier0::m_chi2dof
TIDA::Histogram< float > m_chi2dof
Definition: AnalysisR3_Tier0.h:189
ChainString::tail
const std::string & tail() const
Definition: ChainString.h:34
AnalysisR3_Tier0::monTool
ToolHandle< GenericMonitoringTool > * monTool()
Definition: AnalysisR3_Tier0.h:90
TIDA::Event::event_number
void event_number(unsigned long long e)
Definition: TIDAEvent.h:43
AnalysisR3_Tier0::m_htrkd0sig
TIDA::Histogram< float > m_htrkd0sig
Definition: AnalysisR3_Tier0.h:180
AnalysisR3_Tier0::m_htrkvtx_z_lb
TIDA::Histogram< float > m_htrkvtx_z_lb
Definition: AnalysisR3_Tier0.h:129
AnalysisR3_Tier0::m_hnsihits_lb_rec
TIDA::Histogram< float > m_hnsihits_lb_rec
Definition: AnalysisR3_Tier0.h:160
AnalysisR3_Tier0::m_htrkpT_rec
TIDA::Histogram< float > m_htrkpT_rec
Definition: AnalysisR3_Tier0.h:199
TrackAnalysis
Definition: TrackAnalysis.h:32
AnalysisR3_Tier0::m_htrketa_residual
TIDA::Histogram< float > m_htrketa_residual
Definition: AnalysisR3_Tier0.h:221
AnalysisR3_Tier0::m_hnsihits
TIDA::Histogram< float > m_hnsihits
Definition: AnalysisR3_Tier0.h:184
AnalysisR3_Tier0::m_hnsctvsd0_rec
TIDA::Histogram< float > m_hnsctvsd0_rec
Definition: AnalysisR3_Tier0.h:154
AnalysisR3_Tier0::m_hnpixvspT_rec
TIDA::Histogram< float > m_hnpixvspT_rec
Definition: AnalysisR3_Tier0.h:150
TIDA::FeatureStore::insert
void insert(T *t, const std::string &key)
Definition: TIDAFeatureStore.h:44
AnalysisR3_Tier0::m_hntrt_rec
TIDA::Histogram< float > m_hntrt_rec
Definition: AnalysisR3_Tier0.h:213
AnalysisR3_Tier0::m_hnpix_rec
TIDA::Histogram< float > m_hnpix_rec
Definition: AnalysisR3_Tier0.h:210
AnalysisR3_Tier0::m_hnpix
TIDA::Histogram< float > m_hnpix
Definition: AnalysisR3_Tier0.h:182
AnalysisR3_Tier0::m_htrkvtx_x_lb
TIDA::Histogram< float > m_htrkvtx_x_lb
Definition: AnalysisR3_Tier0.h:127
AnalysisR3_Tier0::m_hnpixvsd0_rec
TIDA::Histogram< float > m_hnpixvsd0_rec
Definition: AnalysisR3_Tier0.h:149
AnalysisR3_Tier0::m_vtxanal
VtxR3Analysis * m_vtxanal
Definition: AnalysisR3_Tier0.h:239
VtxR3Analysis::finalise
void finalise()
Definition: VtxR3Analysis.cxx:176
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
AnalysisR3_Tier0::m_htrkpT
TIDA::Histogram< float > m_htrkpT
Definition: AnalysisR3_Tier0.h:169
AnalysisR3_Tier0::m_hroieta
TIDA::Histogram< float > m_hroieta
Definition: AnalysisR3_Tier0.h:167
AnalysisR3_Tier0::m_hchain
TIDA::Histogram< float > m_hchain
Definition: AnalysisR3_Tier0.h:166
AnalysisR3_Tier0::m_htrketa
TIDA::Histogram< float > m_htrketa
Definition: AnalysisR3_Tier0.h:171
ChainString.h
AnalysisR3_Tier0::m_hd0vsphi_rec
TIDA::Histogram< float > m_hd0vsphi_rec
Definition: AnalysisR3_Tier0.h:163
AnalysisR3_Tier0::m_hlayer_rec
TIDA::Histogram< float > m_hlayer_rec
Definition: AnalysisR3_Tier0.h:216
TIDARoiDescriptor::eta
double eta() const
Definition: TIDARoiDescriptor.h:134
AnalysisR3_Tier0::m_hnsct_rec
TIDA::Histogram< float > m_hnsct_rec
Definition: AnalysisR3_Tier0.h:211
AnalysisR3_Tier0::m_htrkd0_residual
TIDA::Histogram< float > m_htrkd0_residual
Definition: AnalysisR3_Tier0.h:223
AnalysisR3_Tier0::m_htrkd0
TIDA::Histogram< float > m_htrkd0
Definition: AnalysisR3_Tier0.h:173
TIDA::Event::mu
void mu(double m)
Definition: TIDAEvent.h:47
AnalysisR3_Tier0::m_htotal_efficiency
TIDA::Histogram< float > m_htotal_efficiency
Monitorwd::AScalar Histogram wrapper class.
Definition: AnalysisR3_Tier0.h:111
AnalysisR3_Tier0::m_hnpixvsphi_rec
TIDA::Histogram< float > m_hnpixvsphi_rec
Definition: AnalysisR3_Tier0.h:148
AnalysisR3_Tier0::m_htrkd0sig_rec
TIDA::Histogram< float > m_htrkd0sig_rec
Definition: AnalysisR3_Tier0.h:208
AnalysisR3_Tier0::m_hntrtvseta_rec
TIDA::Histogram< float > m_hntrtvseta_rec
Definition: AnalysisR3_Tier0.h:157
ChainString::head
const std::string & head() const
Definition: ChainString.h:33
AnalysisR3_Tier0::m_hpTeff
TIDA::Histogram< float > m_hpTeff
Definition: AnalysisR3_Tier0.h:112
AnalysisR3_Tier0::m_hnpixvspT
TIDA::Histogram< float > m_hnpixvspT
Definition: AnalysisR3_Tier0.h:135
ChainString::roi
const std::string & roi() const
Definition: ChainString.h:35
AnalysisR3_Tier0::execute_vtx
virtual void execute_vtx(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *tevt=0)
Definition: AnalysisR3_Tier0.cxx:499
VtxR3Analysis.h
AnalysisR3_Tier0.h
AnalysisR3_Tier0::m_monTool
ToolHandle< GenericMonitoringTool > * m_monTool
Definition: AnalysisR3_Tier0.h:241
AnalysisR3_Tier0::m_chi2dof_rec
TIDA::Histogram< float > m_chi2dof_rec
Definition: AnalysisR3_Tier0.h:190
AnalysisR3_Tier0::m_htrkdd0
TIDA::Histogram< float > m_htrkdd0
Definition: AnalysisR3_Tier0.h:177
AnalysisR3_Tier0::m_hnpixvsphi
TIDA::Histogram< float > m_hnpixvsphi
Definition: AnalysisR3_Tier0.h:133
agroi
TIDARoiDescriptor * agroi
dq_make_web_display.reference
reference
Definition: dq_make_web_display.py:44
TIDA::Track
Definition: Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h:26
AnalysisR3_Tier0::initialise
virtual void initialise()
standard operation interface
Definition: AnalysisR3_Tier0.cxx:36
AnalysisR3_Tier0::m_hz0res
TIDA::Histogram< float > m_hz0res
Definition: AnalysisR3_Tier0.h:125
AnalysisR3_Tier0::m_hnVtxeff
TIDA::Histogram< float > m_hnVtxeff
Definition: AnalysisR3_Tier0.h:117
AnalysisR3_Tier0::execute
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
Definition: AnalysisR3_Tier0.h:45
AnalysisR3_Tier0::m_hnsctvsphi_rec
TIDA::Histogram< float > m_hnsctvsphi_rec
Definition: AnalysisR3_Tier0.h:153
AnalysisR3_Tier0::m_htrkphi_residual
TIDA::Histogram< float > m_htrkphi_residual
Definition: AnalysisR3_Tier0.h:222
AnalysisR3_Tier0::m_hnsctvsd0
TIDA::Histogram< float > m_hnsctvsd0
Definition: AnalysisR3_Tier0.h:139
ChainString::element
const std::string & element() const
Definition: ChainString.h:37
AnalysisR3_Tier0::m_hnsctvspT
TIDA::Histogram< float > m_hnsctvspT
Definition: AnalysisR3_Tier0.h:140
AnalysisR3_Tier0::m_hnsctvsphi
TIDA::Histogram< float > m_hnsctvsphi
Definition: AnalysisR3_Tier0.h:138
ChainString::raw
const std::string & raw() const
Definition: ChainString.h:42
AnalysisR3_Tier0::m_eventid
unsigned long long m_eventid
Definition: AnalysisR3_Tier0.h:237
AnalysisR3_Tier0::m_hntrt
TIDA::Histogram< float > m_hntrt
Definition: AnalysisR3_Tier0.h:185
AnalysisR3_Tier0::m_hnsctvspT_rec
TIDA::Histogram< float > m_hnsctvspT_rec
Definition: AnalysisR3_Tier0.h:155
AnalysisR3_Tier0::m_hetares
TIDA::Histogram< float > m_hetares
Definition: AnalysisR3_Tier0.h:122
AnalysisR3_Tier0::m_hntrk_rec
TIDA::Histogram< float > m_hntrk_rec
Definition: AnalysisR3_Tier0.h:187
AnalysisR3_Tier0::m_htrkdd0_rec
TIDA::Histogram< float > m_htrkdd0_rec
Definition: AnalysisR3_Tier0.h:205
AnalysisR3_Tier0::initialise_R2
virtual void initialise_R2()
Definition: AnalysisR3_Tier0.cxx:40
TrackAnalysis::store
TIDA::FeatureStore & store()
Definition: TrackAnalysis.h:133
AnalysisR3_Tier0::m_htrkdz0
TIDA::Histogram< float > m_htrkdz0
Definition: AnalysisR3_Tier0.h:178
AnalysisR3_Tier0::m_debug
bool m_debug
Definition: AnalysisR3_Tier0.h:235
AnalysisR3_Tier0::m_hlayer
TIDA::Histogram< float > m_hlayer
Definition: AnalysisR3_Tier0.h:196
AnalysisR3_Tier0::m_hd0vsphi
TIDA::Histogram< float > m_hd0vsphi
Definition: AnalysisR3_Tier0.h:162
AnalysisR3_Tier0::m_hlbeff
TIDA::Histogram< float > m_hlbeff
Definition: AnalysisR3_Tier0.h:118
AnalysisR3_Tier0::m_hnsctvseta_rec
TIDA::Histogram< float > m_hnsctvseta_rec
Definition: AnalysisR3_Tier0.h:152
ChainString::vtx
const std::string & vtx() const
Definition: ChainString.h:36
AnalysisR3_Tier0::m_htrkdz0_residual
TIDA::Histogram< float > m_htrkdz0_residual
Definition: AnalysisR3_Tier0.h:227