ATLAS Offline Software
Loading...
Searching...
No Matches
Analysis_Efficiency.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
11
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
55 TH1* m_h_z0D;
56 TH1* m_h_d0D;
57 TH1* m_h_pTD;
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
Scalar phi() const
phi method
TIDA::Associator< TIDA::Track > TrackAssociator
virtual void initialise()
standard operation interface
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
Analysis_Efficiency(const std::string &name, double pTCut, double etaCut, double d0Cut, double z0Cut)
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
const std::string & name() const
return identifier
TrackAnalysis(const std::string &name)
the beam test parts are not really usable in a multithreaded environment