ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigEgammaMonitoring
src
egammaMonitorBaseAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef egammaMonitorBaseAlgorithm_h
6
#define egammaMonitorBaseAlgorithm_h
7
8
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
9
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
10
#include "
xAODEventInfo/EventInfo.h
"
11
#include "
xAODTruth/TruthParticleContainer.h
"
12
#include "
xAODEgamma/Egamma.h
"
13
#include "
xAODEgamma/EgammaxAODHelpers.h
"
14
#include "
xAODEgamma/ElectronContainer.h
"
15
#include "
xAODEgamma/PhotonContainer.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
#include "
egammaRecEvent/egammaRec.h
"
20
#include "
egammaRecEvent/egammaRecContainer.h
"
21
22
23
class
egammaMonitorBaseAlgorithm
:
public
AthReentrantAlgorithm
{
24
public
:
25
26
egammaMonitorBaseAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
27
28
virtual
~egammaMonitorBaseAlgorithm
();
29
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext&
/*ctx*/
)
const override
{
return
StatusCode::SUCCESS;};
32
33
34
35
protected
:
36
38
#define GETTER(_name_) float getShowerShape_##_name_(const xAOD::Egamma* eg) const;
39
GETTER
(e011)
40
GETTER
(e132)
41
GETTER
(e237)
42
GETTER
(e277)
43
GETTER
(ethad)
44
GETTER
(ethad1)
45
GETTER
(weta1)
46
GETTER
(weta2)
47
GETTER
(f1)
48
GETTER
(e2tsts1)
49
GETTER
(emins1)
50
GETTER
(emaxs1)
51
GETTER
(wtots1)
52
GETTER
(fracs1)
53
GETTER
(Reta)
54
GETTER
(Rphi)
55
GETTER
(f3)
56
GETTER
(f3core)
57
GETTER
(Eratio)
58
GETTER
(Rhad)
59
GETTER
(Rhad1)
60
GETTER
(DeltaE)
61
#undef GETTER
62
63
64
// GETTER for Isolation monitoring
65
#define GETTER(_name_) float getIsolation_##_name_(const xAOD::Egamma* eg) const;
66
GETTER
(ptcone20)
67
GETTER
(ptcone30)
68
GETTER
(ptcone40)
69
GETTER
(ptvarcone20)
70
GETTER
(ptvarcone30)
71
GETTER
(ptvarcone40)
72
#undef GETTER
73
#define GETTER(_name_) float getIsolation_##_name_(const xAOD::Egamma* eg) const;
74
GETTER
(etcone20)
75
GETTER
(etcone30)
76
GETTER
(etcone40)
77
GETTER
(topoetcone20)
78
GETTER
(topoetcone30)
79
GETTER
(topoetcone40)
80
#undef GETTER
81
// GETTERs for CaloCluster monitoring
82
#define GETTER(_name_) float getCluster_##_name_(const xAOD::Egamma* eg) const;
83
GETTER
(
et
)
84
GETTER
(
phi
)
85
GETTER
(
eta
)
86
#undef GETTER
87
88
// GETTERs for Track monitoring
89
#define GETTER(_name_) float getTrack_##_name_(const xAOD::Electron* eg) const;
90
GETTER
(pt)
91
GETTER
(
phi
)
92
GETTER
(
eta
)
93
GETTER
(d0)
94
GETTER
(z0)
95
#undef GETTER
96
97
98
// GETTERs for Calo-Track monitoring
99
#define GETTER(_name_) float getCaloTrackMatch_##_name_(const xAOD::Electron* eg) const;
100
GETTER
(deltaEta0)
101
GETTER
(deltaPhi0)
102
GETTER
(deltaPhiRescaled0)
103
GETTER
(deltaEta1)
104
GETTER
(deltaPhi1)
105
GETTER
(deltaPhiRescaled1)
106
GETTER
(deltaEta2)
107
GETTER
(deltaPhi2)
108
GETTER
(deltaPhiRescaled2)
109
GETTER
(deltaEta3)
110
GETTER
(deltaPhi3)
111
GETTER
(deltaPhiRescaled3)
112
GETTER
(deltaPhiFromLastMeasurement)
113
#undef GETTER
114
115
116
};
117
#endif
118
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
AthMonitorAlgorithm.h
AthReentrantAlgorithm.h
Egamma.h
EgammaxAODHelpers.h
ElectronContainer.h
PhotonContainer.h
TruthParticleContainer.h
GenericMonitoringTool.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
egammaMonitorBaseAlgorithm::egammaMonitorBaseAlgorithm
egammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
egammaMonitorBaseAlgorithm.cxx:9
egammaMonitorBaseAlgorithm::~egammaMonitorBaseAlgorithm
virtual ~egammaMonitorBaseAlgorithm()
Definition
egammaMonitorBaseAlgorithm.cxx:13
egammaMonitorBaseAlgorithm::execute
virtual StatusCode execute(const EventContext &) const override
Definition
egammaMonitorBaseAlgorithm.h:31
egammaMonitorBaseAlgorithm::initialize
virtual StatusCode initialize() override
Definition
egammaMonitorBaseAlgorithm.cxx:16
GETTER
#define GETTER(_name_)
C Macros for plotting.
Definition
egammaMonitorBaseAlgorithm.h:38
egammaRecContainer.h
egammaRec.h
et
Extra patterns decribing particle interation process.
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0