ATLAS Offline Software
Loading...
Searching...
No Matches
VtxAnalysis.h
Go to the documentation of this file.
1/* emacs: this is -*- c++ -*- */
10
11
12#ifndef VTXANALYSIS_H
13#define VTXANALYSIS_H
14
15#include <iostream>
16#include <memory>
17#include <vector>
18
21
22#include "TH1F.h"
23#include "TProfile.h"
24
26
27public:
28
29 VtxAnalysis( const std::string& n );
30
31 void initialise();
32
33 void execute(const std::vector<TIDA::Vertex*>& vtx0,
34 const std::vector<TIDA::Vertex*>& vtx1,
35 const TIDA::Event* te=0);
36
37 void finalise();
38
39private:
40
42
43 std::unique_ptr<TIDDirectory> m_dir;
44
45 TH1F* m_hnvtx = nullptr;
46 TH1F* m_hzed = nullptr;
47 TH1F* m_hntrax = nullptr;
48
49 TH1F* m_hnvtx_rec = nullptr;
50 TH1F* m_hzed_rec = nullptr;
51 TH1F* m_hntrax_rec = nullptr;
52
53 TH1F* m_hzed_res = nullptr;
54
55 TProfile* m_rdz_vs_zed = nullptr;
56 TProfile* m_rdz_vs_ntrax = nullptr;
57 TProfile* m_rdz_vs_nvtx = nullptr;
58 //No currently used
59 //but retained in case
60 //TProfile* m_rdz_vs_mu;
61
62 TProfile* m_eff_zed = nullptr;
63 TProfile* m_eff_ntrax = nullptr;
64 TProfile* m_eff_nvtx = nullptr;
65 TProfile* m_eff_mu = nullptr;
66 TProfile* m_eff_lb = nullptr;
67
68};
69
70
71inline std::ostream& operator<<( std::ostream& s, const VtxAnalysis& ) {
72 return s;
73}
74
75
76#endif // VTXANALYSIS_H
77
78
79
80
81
82
83
84
85
86
std::ostream & operator<<(std::ostream &s, const VtxAnalysis &)
Definition VtxAnalysis.h:71
VertexAnalysis(const std::string &n)
TH1F * m_hnvtx_rec
Definition VtxAnalysis.h:49
bool m_initialised
Definition VtxAnalysis.h:41
TH1F * m_hnvtx
Definition VtxAnalysis.h:45
void execute(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *te=0)
TProfile * m_eff_ntrax
Definition VtxAnalysis.h:63
TProfile * m_rdz_vs_ntrax
Definition VtxAnalysis.h:56
TH1F * m_hzed_rec
Definition VtxAnalysis.h:50
VtxAnalysis(const std::string &n)
std::unique_ptr< TIDDirectory > m_dir
Definition VtxAnalysis.h:43
TProfile * m_rdz_vs_zed
Definition VtxAnalysis.h:55
TProfile * m_eff_nvtx
Definition VtxAnalysis.h:64
TProfile * m_rdz_vs_nvtx
Definition VtxAnalysis.h:57
void initialise()
TH1F * m_hzed_res
Definition VtxAnalysis.h:53
TProfile * m_eff_zed
Definition VtxAnalysis.h:62
TH1F * m_hntrax
Definition VtxAnalysis.h:47
TH1F * m_hzed
Definition VtxAnalysis.h:46
TProfile * m_eff_mu
Definition VtxAnalysis.h:65
TH1F * m_hntrax_rec
Definition VtxAnalysis.h:51
TProfile * m_eff_lb
Definition VtxAnalysis.h:66