ATLAS Offline Software
Loading...
Searching...
No Matches
ConfVtxAnalysis.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
11
12#ifndef CONFVTXANALYSIS_H
13#define CONFVTXANALYSIS_H
14
15#include <iostream>
16
21
22#include "Resplot.h"
23
25
26public:
27
28 ConfVtxAnalysis( const std::string& n, bool use_secVtx_limits=false );
29
30 virtual ~ConfVtxAnalysis() { if ( m_dir ) delete m_dir; }
31
32 void initialise();
33
34 void execute(const std::vector<TIDA::Vertex*>& vtx0,
35 const std::vector<TIDA::Vertex*>& vtx1,
36 const TIDA::Event* tevt=0 );
37
38 void finalise();
39
40private:
41
42 template<typename Matcher>
43 void execute_internal(const std::vector<TIDA::Vertex*>& vtx0,
44 const std::vector<TIDA::Vertex*>& vtx1,
45 Matcher& m,
46 const TIDA::Event* tevt=0 );
47
50
52
54
55 TH1F* m_hnvtx = 0;
56 TH1F* m_hzed = 0;
57 TH1F* m_hx = 0;
58 TH1F* m_hy = 0;
59 TH1F* m_hntrax = 0;
60 TH1F* m_hmu = 0;
61 TH1F* m_hlb = 0;
62 TH1F* m_hr = 0;
63
64 TH1F* m_hnvtx_rec = 0;
65 TH1F* m_hzed_rec = 0;
66 TH1F* m_hx_rec = 0;
67 TH1F* m_hy_rec = 0;
68 TH1F* m_hntrax_rec = 0;
69 TH1F* m_hr_rec = 0;
70
71 TH1F* m_hzed_res = 0;
72 TH1F* m_hx_res = 0;
73 TH1F* m_hy_res = 0;
74
75 TH1F* m_h_dntrax = 0;
76
80
86
90
92
101
105
106 // Contour<Efficiency1D>* eff_zed_vs_ntrax;
107
108};
109
110
111inline std::ostream& operator<<( std::ostream& s, const ConfVtxAnalysis& ) {
112 return s;
113}
114
115
116#endif // CONFVTXANALYSIS_H
117
118
119
120
121
122
123
124
125
126
std::ostream & operator<<(std::ostream &s, const ConfVtxAnalysis &)
ConfVtxAnalysis(const std::string &n, bool use_secVtx_limits=false)
Resplot * m_rdr_vs_zed
Efficiency1D * m_eff_x
void execute_internal(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, Matcher &m, const TIDA::Event *tevt=0)
Efficiency1D * m_eff_zed
Resplot * m_rdntrax_vs_r
Efficiency1D * m_eff_mu
Resplot * m_rdz_vs_nvtx
Resplot * m_rdz_vs_ntrax
Efficiency1D * m_eff_y
Resplot * m_rnvtxrec_nvtx
void execute(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *tevt=0)
Efficiency1D * m_eff_lb
Resplot * m_rdz_vs_zed
TIDDirectory * m_dir
Resplot * m_rdr_vs_ntrax
Efficiency1D * m_eff_nvtx
Efficiency1D * m_eff_ntrax
Resplot * m_rdntrax_vs_zed
virtual ~ConfVtxAnalysis()
Efficiency1D * m_eff_r
Resplot * m_rdz_vs_mu
Resplot * m_rdntrax_vs_ntrax
VertexAnalysis(const std::string &n)