ATLAS Offline Software
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 
22 
23 
25 
26  public:
27 
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
53  TH1* m_h_res_d0;
54  TH1* m_h_res_z0;
56 
57  // Pull Histograms
63 
64  // 2D histograms
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
TrackAnalysis::name
const std::string & name() const
return identifier
Definition: TrackAnalysis.h:52
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
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