ATLAS Offline Software
Trigger
TrigAnalysis
TrigInDetAnalysisExample
TrigInDetAnalysisExample
Analysis_Resolution.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
12
#ifndef TrigInDetAnalysisExample_Analysis_Resolution_H
13
#define TrigInDetAnalysisExample_Analysis_Resolution_H
14
15
16
#include <iostream>
17
18
#include "TH1.h"
19
#include "TH2.h"
20
21
#include "
TrigInDetAnalysis/TrackAnalysis.h
"
22
23
24
class
Analysis_Resolution
:
public
TrackAnalysis
{
25
26
public
:
27
28
using
TrackAnalysis::execute
;
29
30
public
:
31
32
// Analysis_Resolution(const std::string& name) : TrackAnalysis(name) {}
33
Analysis_Resolution
(
const
std::string&
name
,
double
pTCut,
double
etaCut,
double
d0Cut,
double
z0Cut);
34
35
36
virtual
void
initialise
();
37
38
virtual
void
execute
(
const
std::vector<TIDA::Track*>& referenceTracks,
39
const
std::vector<TIDA::Track*>& testTracks,
40
TrackAssociator
* associator);
41
42
virtual
void
finalise
();
43
44
private
:
45
46
double
phi
(
double
p
);
47
48
private
:
49
50
// Resolution Histograms
51
TH1*
m_h_res_eta
;
52
TH1*
m_h_res_phi
;
53
TH1*
m_h_res_d0
;
54
TH1*
m_h_res_z0
;
55
TH1*
m_h_res_invpT
;
56
57
// Pull Histograms
58
TH1*
m_h_pull_eta
;
59
TH1*
m_h_pull_phi
;
60
TH1*
m_h_pull_d0
;
61
TH1*
m_h_pull_z0
;
62
TH1*
m_h_pull_invpT
;
63
64
// 2D histograms
65
TH2*
m_h_res_d0VsPt
;
66
TH2*
m_h_res_z0VsPt
;
67
TH2*
m_h_res_d0VsD0
;
68
TH2*
m_h_res_z0VsEta
;
69
TH2*
m_h_res_d0VsPixelHits_withBLayer
;
70
TH2*
m_h_res_d0VsPixelHits_withoutBLayer
;
71
TH2*
m_h_pull_d0VsEta
;
72
TH2*
m_h_pull_z0VsEta
;
73
TH2*
m_h_pull_d0VsPixelHits_withoutBLayer
;
74
TH2*
m_h_pull_z0VsPixelHits_withoutBLayer
;
75
TH2*
m_h_pull_d0VsPixelHits_withBLayer
;
76
TH2*
m_h_pull_z0VsPixelHits_withBLayer
;
77
78
// Efficiency platau cuts
79
double
m_pTCut
;
80
double
m_etaCut
;
81
double
m_d0Cut
;
82
double
m_z0Cut
;
83
84
85
86
87
};
88
89
90
#endif // TrigInDetAnalysisExample_Analysis_Resolution_H
Analysis_Resolution::m_h_res_z0
TH1 * m_h_res_z0
Definition:
Analysis_Resolution.h:54
TIDA::Associator
Definition:
TIDAAssociator.h:24
Analysis_Resolution::initialise
virtual void initialise()
standard operation interface
Definition:
Analysis_Resolution.cxx:87
Analysis_Resolution::finalise
virtual void finalise()
Definition:
Analysis_Resolution.cxx:195
TrackAnalysis.h
TrackAnalysis::execute
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
Analysis_Resolution::m_h_pull_invpT
TH1 * m_h_pull_invpT
Definition:
Analysis_Resolution.h:62
Analysis_Resolution::m_h_res_z0VsPt
TH2 * m_h_res_z0VsPt
Definition:
Analysis_Resolution.h:66
Analysis_Resolution::m_h_res_d0
TH1 * m_h_res_d0
Definition:
Analysis_Resolution.h:53
Analysis_Resolution
Definition:
Analysis_Resolution.h:24
Analysis_Resolution::m_h_pull_d0VsPixelHits_withoutBLayer
TH2 * m_h_pull_d0VsPixelHits_withoutBLayer
Definition:
Analysis_Resolution.h:73
Analysis_Resolution::m_h_pull_phi
TH1 * m_h_pull_phi
Definition:
Analysis_Resolution.h:59
Analysis_Resolution::m_h_pull_z0VsPixelHits_withoutBLayer
TH2 * m_h_pull_z0VsPixelHits_withoutBLayer
Definition:
Analysis_Resolution.h:74
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
Analysis_Resolution::execute
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
Definition:
Analysis_Resolution.cxx:93
Analysis_Resolution::phi
double phi(double p)
Definition:
Analysis_Resolution.cxx:201
Analysis_Resolution::Analysis_Resolution
Analysis_Resolution(const std::string &name, double pTCut, double etaCut, double d0Cut, double z0Cut)
Definition:
Analysis_Resolution.cxx:17
Analysis_Resolution::m_h_res_eta
TH1 * m_h_res_eta
Definition:
Analysis_Resolution.h:51
TrackAnalysis
Definition:
TrackAnalysis.h:32
TrackAnalysis::name
std::string name() const
return identifier
Definition:
TrackAnalysis.h:52
Analysis_Resolution::m_pTCut
double m_pTCut
Definition:
Analysis_Resolution.h:79
Analysis_Resolution::m_h_res_z0VsEta
TH2 * m_h_res_z0VsEta
Definition:
Analysis_Resolution.h:68
Analysis_Resolution::m_h_res_d0VsD0
TH2 * m_h_res_d0VsD0
Definition:
Analysis_Resolution.h:67
Analysis_Resolution::m_h_pull_d0
TH1 * m_h_pull_d0
Definition:
Analysis_Resolution.h:60
Analysis_Resolution::m_h_res_d0VsPt
TH2 * m_h_res_d0VsPt
Definition:
Analysis_Resolution.h:65
Analysis_Resolution::m_h_pull_z0
TH1 * m_h_pull_z0
Definition:
Analysis_Resolution.h:61
Analysis_Resolution::m_h_pull_d0VsPixelHits_withBLayer
TH2 * m_h_pull_d0VsPixelHits_withBLayer
Definition:
Analysis_Resolution.h:75
Analysis_Resolution::m_z0Cut
double m_z0Cut
Definition:
Analysis_Resolution.h:82
Analysis_Resolution::m_h_res_phi
TH1 * m_h_res_phi
Definition:
Analysis_Resolution.h:52
Analysis_Resolution::m_h_pull_d0VsEta
TH2 * m_h_pull_d0VsEta
Definition:
Analysis_Resolution.h:71
Analysis_Resolution::m_h_pull_z0VsEta
TH2 * m_h_pull_z0VsEta
Definition:
Analysis_Resolution.h:72
Analysis_Resolution::m_h_res_d0VsPixelHits_withoutBLayer
TH2 * m_h_res_d0VsPixelHits_withoutBLayer
Definition:
Analysis_Resolution.h:70
Analysis_Resolution::m_d0Cut
double m_d0Cut
Definition:
Analysis_Resolution.h:81
Analysis_Resolution::m_h_res_invpT
TH1 * m_h_res_invpT
Definition:
Analysis_Resolution.h:55
Analysis_Resolution::m_h_pull_z0VsPixelHits_withBLayer
TH2 * m_h_pull_z0VsPixelHits_withBLayer
Definition:
Analysis_Resolution.h:76
Analysis_Resolution::m_h_pull_eta
TH1 * m_h_pull_eta
Definition:
Analysis_Resolution.h:58
Analysis_Resolution::m_h_res_d0VsPixelHits_withBLayer
TH2 * m_h_res_d0VsPixelHits_withBLayer
Definition:
Analysis_Resolution.h:69
Analysis_Resolution::m_etaCut
double m_etaCut
Definition:
Analysis_Resolution.h:80
Generated on Thu Nov 7 2024 21:09:58 for ATLAS Offline Software by
1.8.18