ATLAS Offline Software
Loading...
Searching...
No Matches
egammaMonitorBaseAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef egammaMonitorBaseAlgorithm_h
6#define egammaMonitorBaseAlgorithm_h
7
12#include "xAODEgamma/Egamma.h"
22
23
25 public:
26
27 egammaMonitorBaseAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
28
30
31 virtual StatusCode initialize() override;
32 virtual StatusCode execute(const EventContext& /*ctx*/) const override {return StatusCode::SUCCESS;};
33
34
35
36 protected:
37
39 #define GETTER(_name_) float getShowerShape_##_name_(const xAOD::Egamma* eg) const;
40 GETTER(e011)
41 GETTER(e132)
42 GETTER(e237)
43 GETTER(e277)
44 GETTER(ethad)
45 GETTER(ethad1)
46 GETTER(weta1)
47 GETTER(weta2)
48 GETTER(f1)
49 GETTER(e2tsts1)
50 GETTER(emins1)
51 GETTER(emaxs1)
52 GETTER(wtots1)
53 GETTER(fracs1)
54 GETTER(Reta)
55 GETTER(Rphi)
56 GETTER(f3)
57 GETTER(f3core)
58 GETTER(Eratio)
59 GETTER(Rhad)
60 GETTER(Rhad1)
61 GETTER(DeltaE)
62#undef GETTER
63
64
65 // GETTER for Isolation monitoring
66#define GETTER(_name_) float getIsolation_##_name_(const xAOD::Egamma* eg) const;
67 GETTER(ptcone20)
68 GETTER(ptcone30)
69 GETTER(ptcone40)
70 GETTER(ptvarcone20)
71 GETTER(ptvarcone30)
72 GETTER(ptvarcone40)
73#undef GETTER
74#define GETTER(_name_) float getIsolation_##_name_(const xAOD::Egamma* eg) const;
75 GETTER(etcone20)
76 GETTER(etcone30)
77 GETTER(etcone40)
78 GETTER(topoetcone20)
79 GETTER(topoetcone30)
80 GETTER(topoetcone40)
81#undef GETTER
82 // GETTERs for CaloCluster monitoring
83#define GETTER(_name_) float getCluster_##_name_(const xAOD::Egamma* eg) const;
84 GETTER(et)
85 GETTER(phi)
86 GETTER(eta)
87#undef GETTER
88
89 // GETTERs for Track monitoring
90#define GETTER(_name_) float getTrack_##_name_(const xAOD::Electron* eg) const;
91 GETTER(pt)
92 GETTER(phi)
93 GETTER(eta)
94 GETTER(d0)
95 GETTER(z0)
96#undef GETTER
97
98
99 // GETTERs for Calo-Track monitoring
100#define GETTER(_name_) float getCaloTrackMatch_##_name_(const xAOD::Electron* eg) const;
101 GETTER(deltaEta0)
102 GETTER(deltaPhi0)
103 GETTER(deltaPhiRescaled0)
104 GETTER(deltaEta1)
105 GETTER(deltaPhi1)
106 GETTER(deltaPhiRescaled1)
107 GETTER(deltaEta2)
108 GETTER(deltaPhi2)
109 GETTER(deltaPhiRescaled2)
110 GETTER(deltaEta3)
111 GETTER(deltaPhi3)
112 GETTER(deltaPhiRescaled3)
113 GETTER(deltaPhiFromLastMeasurement)
114#undef GETTER
115
116
117};
118#endif
119
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.