ATLAS Offline Software
Loading...
Searching...
No Matches
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
12#include "xAODEgamma/Egamma.h"
21
22
24 public:
25
26 egammaMonitorBaseAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
27
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
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
egammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &) const override
virtual StatusCode initialize() override
#define GETTER(_name_)
C Macros for plotting.
Extra patterns decribing particle interation process.