ATLAS Offline Software
Analysis_Efficiency.h
Go to the documentation of this file.
1 /* emacs: this is -*- c++ -*- */
12 #ifndef TrigInDetAnalysisExample_Analysis_Efficiency_H
13 #define TrigInDetAnalysisExample_Analysis_Efficiency_H
14 
15 
16 #include <iostream>
17 
18 #include "TH1.h"
19 
21 
22 
24 
25  public:
26 
28 
29  public:
30 
31  Analysis_Efficiency(const std::string& name, double pTCut, double etaCut, double d0Cut, double z0Cut);
32 
33  virtual void initialise();
34 
35  virtual void execute(const std::vector<TIDA::Track*>& referenceTracks,
36  const std::vector<TIDA::Track*>& testTracks,
37  TrackAssociator* associator);
38 
39  virtual void finalise();
40 
41  private:
42 
43  double phi(double p);
44 
45  private:
46 
47  // Integral efficiency histograms
51 
52  // Differential efficiency histograms
53  TH1* m_h_etaD;
54  TH1* m_h_phiD;
55  TH1* m_h_z0D;
56  TH1* m_h_d0D;
57  TH1* m_h_pTD;
58  TH1* m_h_etaN;
59  TH1* m_h_phiN;
60  TH1* m_h_z0N;
61  TH1* m_h_d0N;
62  TH1* m_h_pTN;
63  TH1* m_h_eta;
64  TH1* m_h_phi;
65  TH1* m_h_z0;
66  TH1* m_h_d0;
67  TH1* m_h_pT;
68 
69  // Efficiency plateau cuts
70  double m_pTCut;
71  double m_etaCut;
72  double m_d0Cut;
73  double m_z0Cut;
74 
75 };
76 
77 
78 #endif // TrigInDetAnalysisExample_Analysis_Efficiency_H
Analysis_Efficiency::m_d0Cut
double m_d0Cut
Definition: Analysis_Efficiency.h:72
Analysis_Efficiency::m_h_d0D
TH1 * m_h_d0D
Definition: Analysis_Efficiency.h:56
Analysis_Efficiency::m_h_d0
TH1 * m_h_d0
Definition: Analysis_Efficiency.h:66
TIDA::Associator
Definition: TIDAAssociator.h:24
Analysis_Efficiency::m_h_integral
TH1 * m_h_integral
Definition: Analysis_Efficiency.h:50
Analysis_Efficiency::m_h_z0
TH1 * m_h_z0
Definition: Analysis_Efficiency.h:65
Analysis_Efficiency::phi
double phi(double p)
Definition: Analysis_Efficiency.cxx:133
Analysis_Efficiency::m_h_d0N
TH1 * m_h_d0N
Definition: Analysis_Efficiency.h:61
TrackAnalysis.h
TrackAnalysis::execute
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
Analysis_Efficiency::m_h_z0D
TH1 * m_h_z0D
Definition: Analysis_Efficiency.h:55
Analysis_Efficiency::m_h_phi
TH1 * m_h_phi
Definition: Analysis_Efficiency.h:64
TrackAnalysis::name
const std::string & name() const
return identifier
Definition: TrackAnalysis.h:52
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Analysis_Efficiency::finalise
virtual void finalise()
Definition: Analysis_Efficiency.cxx:120
Analysis_Efficiency::m_h_z0N
TH1 * m_h_z0N
Definition: Analysis_Efficiency.h:60
Analysis_Efficiency::m_h_pTN
TH1 * m_h_pTN
Definition: Analysis_Efficiency.h:62
TrackAnalysis
Definition: TrackAnalysis.h:32
Analysis_Efficiency::m_h_etaD
TH1 * m_h_etaD
Definition: Analysis_Efficiency.h:53
Analysis_Efficiency::m_h_phiD
TH1 * m_h_phiD
Definition: Analysis_Efficiency.h:54
Analysis_Efficiency::m_h_pTD
TH1 * m_h_pTD
Definition: Analysis_Efficiency.h:57
Analysis_Efficiency::m_h_phiN
TH1 * m_h_phiN
Definition: Analysis_Efficiency.h:59
Analysis_Efficiency::m_pTCut
double m_pTCut
Definition: Analysis_Efficiency.h:70
Analysis_Efficiency::m_h_integralD
TH1 * m_h_integralD
Definition: Analysis_Efficiency.h:48
Analysis_Efficiency::execute
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
Definition: Analysis_Efficiency.cxx:73
Analysis_Efficiency::m_h_integralN
TH1 * m_h_integralN
Definition: Analysis_Efficiency.h:49
Analysis_Efficiency
Definition: Analysis_Efficiency.h:23
Analysis_Efficiency::m_etaCut
double m_etaCut
Definition: Analysis_Efficiency.h:71
Analysis_Efficiency::m_h_pT
TH1 * m_h_pT
Definition: Analysis_Efficiency.h:67
Analysis_Efficiency::Analysis_Efficiency
Analysis_Efficiency(const std::string &name, double pTCut, double etaCut, double d0Cut, double z0Cut)
Definition: Analysis_Efficiency.cxx:18
Analysis_Efficiency::m_z0Cut
double m_z0Cut
Definition: Analysis_Efficiency.h:73
Analysis_Efficiency::m_h_eta
TH1 * m_h_eta
Definition: Analysis_Efficiency.h:63
Analysis_Efficiency::initialise
virtual void initialise()
standard operation interface
Definition: Analysis_Efficiency.cxx:67
Analysis_Efficiency::m_h_etaN
TH1 * m_h_etaN
Definition: Analysis_Efficiency.h:58