ATLAS Offline Software
Trigger
TrigAnalysis
TrigInDetAnalysisExample
TrigInDetAnalysisExample
VtxAnalysis.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
12
#ifndef VTXANALYSIS_H
13
#define VTXANALYSIS_H
14
15
#include <iostream>
16
// #include <map>
17
#include <vector>
18
19
#include "
TrigInDetAnalysis/VertexAnalysis.h
"
20
#include "
TrigInDetAnalysis/TIDDirectory.h
"
21
22
#include "TH1F.h"
23
#include "TProfile.h"
24
25
class
VtxAnalysis
:
public
VertexAnalysis
{
26
27
public
:
28
29
VtxAnalysis
(
const
std::string&
n
);
30
31
virtual
~VtxAnalysis
() {
if
(
m_dir
)
delete
m_dir
; }
32
33
void
initialise
();
34
35
void
execute
(
const
std::vector<TIDA::Vertex*>& vtx0,
36
const
std::vector<TIDA::Vertex*>& vtx1,
37
const
TIDA::Event
* te=0);
38
39
void
finalise
();
40
41
private
:
42
43
bool
m_initialised
;
44
45
TIDDirectory
*
m_dir
;
46
47
TH1F
*
m_hnvtx
=
nullptr
;
48
TH1F
*
m_hzed
=
nullptr
;
49
TH1F
*
m_hntrax
=
nullptr
;
50
51
TH1F
*
m_hnvtx_rec
=
nullptr
;
52
TH1F
*
m_hzed_rec
=
nullptr
;
53
TH1F
*
m_hntrax_rec
=
nullptr
;
54
55
TH1F
*
m_hzed_res
=
nullptr
;
56
57
TProfile
*
m_rdz_vs_zed
=
nullptr
;
58
TProfile
*
m_rdz_vs_ntrax
=
nullptr
;
59
TProfile
*
m_rdz_vs_nvtx
=
nullptr
;
60
//No currently used
61
//but retained in case
62
//TProfile* m_rdz_vs_mu;
63
64
TProfile
*
m_eff_zed
=
nullptr
;
65
TProfile
*
m_eff_ntrax
=
nullptr
;
66
TProfile
*
m_eff_nvtx
=
nullptr
;
67
TProfile
*
m_eff_mu
=
nullptr
;
68
TProfile
*
m_eff_lb
=
nullptr
;
69
70
};
71
72
73
inline
std::ostream&
operator<<
( std::ostream&
s
,
const
VtxAnalysis
& ) {
74
return
s
;
75
}
76
77
78
#endif // VTXANALYSIS_H
79
80
81
82
83
84
85
86
87
88
VtxAnalysis::m_dir
TIDDirectory * m_dir
Definition:
VtxAnalysis.h:45
VtxAnalysis::m_rdz_vs_nvtx
TProfile * m_rdz_vs_nvtx
Definition:
VtxAnalysis.h:59
VtxAnalysis::m_eff_ntrax
TProfile * m_eff_ntrax
Definition:
VtxAnalysis.h:65
VtxAnalysis::m_hzed
TH1F * m_hzed
Definition:
VtxAnalysis.h:48
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
VtxAnalysis
Definition:
VtxAnalysis.h:25
VtxAnalysis::m_hntrax
TH1F * m_hntrax
Definition:
VtxAnalysis.h:49
VtxAnalysis::finalise
void finalise()
Definition:
VtxAnalysis.cxx:228
VtxAnalysis::m_hnvtx_rec
TH1F * m_hnvtx_rec
Definition:
VtxAnalysis.h:51
TIDA::Event
Definition:
TIDAEvent.h:33
VtxAnalysis::execute
void execute(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *te=0)
Definition:
VtxAnalysis.cxx:149
TIDDirectory
Definition:
TIDDirectory.h:25
VtxAnalysis::m_eff_zed
TProfile * m_eff_zed
Definition:
VtxAnalysis.h:64
TIDDirectory.h
class to keep a directory for each object in a root sort of way, but needed to keep the root objects ...
VtxAnalysis::VtxAnalysis
VtxAnalysis(const std::string &n)
Definition:
VtxAnalysis.cxx:16
VtxAnalysis::m_initialised
bool m_initialised
Definition:
VtxAnalysis.h:43
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition:
TrigEgammaMonitorHelper.py:81
beamspotman.n
n
Definition:
beamspotman.py:731
VtxAnalysis::m_hzed_rec
TH1F * m_hzed_rec
Definition:
VtxAnalysis.h:52
VtxAnalysis::m_hntrax_rec
TH1F * m_hntrax_rec
Definition:
VtxAnalysis.h:53
VtxAnalysis::m_rdz_vs_zed
TProfile * m_rdz_vs_zed
Definition:
VtxAnalysis.h:57
VertexAnalysis.h
VtxAnalysis::initialise
void initialise()
Definition:
VtxAnalysis.cxx:19
VtxAnalysis::m_rdz_vs_ntrax
TProfile * m_rdz_vs_ntrax
Definition:
VtxAnalysis.h:58
VtxAnalysis::m_hzed_res
TH1F * m_hzed_res
Definition:
VtxAnalysis.h:55
VtxAnalysis::m_eff_mu
TProfile * m_eff_mu
Definition:
VtxAnalysis.h:67
operator<<
std::ostream & operator<<(std::ostream &s, const VtxAnalysis &)
Definition:
VtxAnalysis.h:73
VertexAnalysis
Definition:
VertexAnalysis.h:25
VtxAnalysis::~VtxAnalysis
virtual ~VtxAnalysis()
Definition:
VtxAnalysis.h:31
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition:
TrigEgammaMonitorHelper.py:24
VtxAnalysis::m_eff_lb
TProfile * m_eff_lb
Definition:
VtxAnalysis.h:68
VtxAnalysis::m_hnvtx
TH1F * m_hnvtx
Definition:
VtxAnalysis.h:47
VtxAnalysis::m_eff_nvtx
TProfile * m_eff_nvtx
Definition:
VtxAnalysis.h:66
Generated on Sun Dec 22 2024 21:22:41 for ATLAS Offline Software by
1.8.18