ATLAS Offline Software
Loading...
Searching...
No Matches
Analysis_Fake.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
11
12#ifndef TrigInDetAnalysisExample_Analysis_Fake_H
13#define TrigInDetAnalysisExample_Analysis_Fake_H
14
15
16#include <iostream>
17
18#include "TH1.h"
19
21
22
24
25 public:
26
28
29 public:
30
31 Analysis_Fake(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
48
52
53 // Differential efficiency histograms
56 TH1* m_h_z0D;
57 TH1* m_h_d0D;
58 TH1* m_h_pTD;
61 TH1* m_h_z0N;
62 TH1* m_h_d0N;
63 TH1* m_h_pTN;
64 TH1* m_h_eta;
65 TH1* m_h_phi;
66 TH1* m_h_z0;
67 TH1* m_h_d0;
68 TH1* m_h_pT;
69
70 // Efficiency plateau cuts
71 double m_pTCut;
72 double m_etaCut;
73 double m_d0Cut;
74 double m_z0Cut;
75
76};
77
78
79#endif // TrigInDetAnalysisExample_Analysis_Fake_H
Scalar phi() const
phi method
TIDA::Associator< TIDA::Track > TrackAssociator
virtual void finalise()
virtual void initialise()
standard operation interface
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
Analysis_Fake(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