ATLAS Offline Software
Analysis_Distribution.h
Go to the documentation of this file.
1 /* emacs: this is -*- c++ -*- */
12 #ifndef TrigInDetAnalysisExample_Analysis_Distribution_H
13 #define TrigInDetAnalysisExample_Analysis_Distribution_H
14 
15 
16 #include <iostream>
17 
18 #include "TH1.h"
19 
21 
22 
24 
25  public:
26 
28 
29  public:
30 
31  Analysis_Distribution(const std::string& name);
32  //Analysis_Distribution(const std::string& name, double pTCut, double etaCut, double d0Cut, double z0Cut);
33 
34  virtual void initialise();
35 
36  virtual void execute(const std::vector<TIDA::Track*>& referenceTracks,
37  const std::vector<TIDA::Track*>& testTracks,
38  TrackAssociator* associator);
39 
40  virtual void finalise();
41 
42  private:
43 
44  double deltaR(double eta1, double eta2, double phi1, double phi2);
45  double phi(double p);
46 
47  private:
48 
49  // Track parameter histograms
50  TH1* m_h_eta;
51  TH1* m_h_phi;
52  TH1* m_h_d0;
53  TH1* m_h_z0;
54  TH1* m_h_pT;
55 
56  // Track hit histograms
57  TH1* m_h_blay;
58  TH1* m_h_pixel;
59  TH1* m_h_sct;
62  TH1* m_h_straw;
63  TH1* m_h_tr;
64 
65 };
66 
67 
68 #endif // TrigInDetAnalysisExample_Analysis_Distribution_H
Analysis_Distribution::deltaR
double deltaR(double eta1, double eta2, double phi1, double phi2)
Definition: Analysis_Distribution.cxx:121
TIDA::Associator
Definition: TIDAAssociator.h:24
Analysis_Distribution::m_h_z0
TH1 * m_h_z0
Definition: Analysis_Distribution.h:53
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
TrackAnalysis.h
TrackAnalysis::execute
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
Analysis_Distribution::m_h_phi
TH1 * m_h_phi
Definition: Analysis_Distribution.h:51
Analysis_Distribution::m_h_straw
TH1 * m_h_straw
Definition: Analysis_Distribution.h:62
Analysis_Distribution::m_h_pixel
TH1 * m_h_pixel
Definition: Analysis_Distribution.h:58
Analysis_Distribution::m_h_sct
TH1 * m_h_sct
Definition: Analysis_Distribution.h:59
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
Analysis_Distribution::execute
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
Definition: Analysis_Distribution.cxx:59
Analysis_Distribution::m_h_blay
TH1 * m_h_blay
Definition: Analysis_Distribution.h:57
Analysis_Distribution::m_h_tr
TH1 * m_h_tr
Definition: Analysis_Distribution.h:63
TrackAnalysis::name
const std::string & name() const
return identifier
Definition: TrackAnalysis.h:52
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TrackAnalysis
Definition: TrackAnalysis.h:32
Analysis_Distribution::m_h_silicon_match
TH1 * m_h_silicon_match
Definition: Analysis_Distribution.h:61
Analysis_Distribution::Analysis_Distribution
Analysis_Distribution(const std::string &name)
Definition: Analysis_Distribution.cxx:19
Analysis_Distribution::m_h_eta
TH1 * m_h_eta
Definition: Analysis_Distribution.h:50
Analysis_Distribution::m_h_silicon
TH1 * m_h_silicon
Definition: Analysis_Distribution.h:60
Analysis_Distribution::initialise
virtual void initialise()
standard operation interface
Definition: Analysis_Distribution.cxx:53
Analysis_Distribution::m_h_pT
TH1 * m_h_pT
Definition: Analysis_Distribution.h:54
Analysis_Distribution
Definition: Analysis_Distribution.h:23
Analysis_Distribution::phi
double phi(double p)
Definition: Analysis_Distribution.cxx:115
Analysis_Distribution::finalise
virtual void finalise()
Definition: Analysis_Distribution.cxx:109
Analysis_Distribution::m_h_d0
TH1 * m_h_d0
Definition: Analysis_Distribution.h:52