ATLAS Offline Software
TrigEgammaMonitorBaseAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigEgammaMonitorBaseAlgorithm_h
6 #define TrigEgammaMonitorBaseAlgorithm_h
7 
11 
12 
18 
21 #include "xAODEgamma/Egamma.h"
29 #include "xAODJet/JetContainer.h"
33 
36 #include "PATCore/AcceptInfo.h"
37 #include "PATCore/AcceptData.h"
38 
39 
40 // Trigger Information struct
41 typedef struct _triginfo
42 {
43  // L1 information
44  bool L1Legacy;
45  std::string L1Threshold; //EM22VHI
46  // HLT information
47  std::string trigger; //Trigger Name
48  std::string signature; //Electron or Photon
49  float etthr; // HLT Et threshold
50  // if trigger is etcut OR idperf, pidname should be default (usually lhloose)
51  std::string pidname; // Offline loose, medium, tight, etc...
52  // extra HLT information
53  bool idperf; // Performance chain
54  bool etcut; // Et cut only chain
55  bool nogsf; // GSF chain
56  bool lrt; // LRT chain
57  bool ion; // Heavy Ion chain
58 
59  std::string isolation;
60  bool isolated;
62 
63 
64 
65 
67 
68  public:
69 
70 
71  TrigEgammaMonitorBaseAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
72 
74 
75  virtual StatusCode initialize() override;
76 
77  virtual StatusCode fillHistograms(const EventContext& /*ctx*/) const override {return StatusCode::SUCCESS;};
78 
79  private:
80 
82  ToolHandle<Trig::TrigDecisionTool> m_trigdec;
84  std::map<std::string,TrigInfo> m_trigInfo;
85 
86 
87  protected:
88 
89  /* Trigger e/g matching tool */
90  ToolHandle<TrigEgammaMatchingToolMT> m_matchTool;
91  /* Trigger e/g emulation tool */
92  ToolHandle<Trig::TrigEgammaEmulationToolMT> m_emulatorTool;
94  ToolHandleArray<IAsgElectronIsEMSelector> m_electronIsEMTool{this,"ElectronIsEMSelector",{}};
96  ToolHandleArray<IAsgElectronLikelihoodTool> m_electronLHTool{this,"ElectronLikelihoodTool",{}};
98  ToolHandleArray<IAsgElectronLikelihoodTool> m_electronDNNTool{ this, "ElectronDNNSelectorTool", {},"DNN tools" };
100  ToolHandleArray<IAsgPhotonIsEMSelector> m_photonIsEMTool{this,"PhotonIsEMSelector",{}};
101 
102 
104  Gaudi::Property<bool> m_doEmulation{this, "DoEmulation", false };
105 
107  Gaudi::Property<bool> m_tp{this, "TPTrigger", false };
109  Gaudi::Property<std::string> m_defaultProbePidElectron{this, "DefaultProbeSelectionElectron", "lhloose"};
111  Gaudi::Property<std::string> m_defaultProbePidPhoton{this, "DefaultProbeSelectionPhoton", "loose"};
113  Gaudi::Property<std::vector<std::string>> m_isemname{this, "isEMResultNames", {} };
115  Gaudi::Property<std::vector<std::string>> m_lhname{this, "LHResultNames", {} };
117  Gaudi::Property<std::vector<std::string>> m_dnnname {this, "DNNResultNames", {}, };
119  Gaudi::Property<bool> m_detailedHists{this, "DetailedHistograms", false};
120 
121 
123 
127  const std::map<std::string,TrigInfo>& getTrigInfoMap() { return m_trigInfo; }
129  bool ApplyElectronPid(const xAOD::Electron *eg,const std::string&) const;
131  bool ApplyPhotonPid(const xAOD::Photon *eg,const std::string&) const;
133  const ToolHandle<Trig::TrigDecisionTool>& tdt() const {return m_trigdec;};
135  const ToolHandle<TrigEgammaMatchingToolMT>& match() const {return m_matchTool;}
139  TrigInfo getTrigInfo(const std::string&) const;
141  float dR(const float, const float, const float, const float) const;
143  std::string getL1Item(const std::string& trigger) const;
145  bool isIsolated(const xAOD::Electron*, const std::string&) const;
147  bool isPrescaled(const std::string&) const;
149  void setTrigInfo(const std::string&);
151  bool isHLTTruncated() const;
152 
153 
159  float getEta2(const xAOD::Egamma* eg) const;
160  float getEt(const xAOD::Electron* eg) const ;
161  float getEtCluster37(const xAOD::Egamma* eg) const;
162  float getDEmaxs1(const xAOD::Egamma *eg) const;
163  float rTRT (const xAOD::Electron* eg) const;
164  float getSigmaD0(const xAOD::Electron *eg) const;
165  float getD0sig(const xAOD::Electron *eg) const;
166  float getEnergyBE0(const xAOD::Egamma *eg) const;
167  float getEnergyBE1(const xAOD::Egamma *eg) const;
168  float getEnergyBE2(const xAOD::Egamma *eg) const;
169  float getEnergyBE3(const xAOD::Egamma *eg) const;
170  float getEaccordion(const xAOD::Egamma *eg) const;
171  float getE0Eaccordion(const xAOD::Egamma *eg) const;
172 
173 
174 
175 
176 
177 
178 
179 
180 
182 #define GETTER(_name_) float getShowerShape_##_name_(const xAOD::Egamma* eg) const;
183  GETTER(e011)
184  GETTER(e132)
185  GETTER(e237)
186  GETTER(e277)
187  GETTER(ethad)
188  GETTER(ethad1)
189  GETTER(weta1)
190  GETTER(weta2)
191  GETTER(f1)
192  GETTER(e2tsts1)
193  GETTER(emins1)
194  GETTER(emaxs1)
195  GETTER(wtots1)
196  GETTER(fracs1)
197  GETTER(Reta)
198  GETTER(Rphi)
199  GETTER(f3)
200  GETTER(f3core)
201  GETTER(Eratio)
202  GETTER(Rhad)
203  GETTER(Rhad1)
204  GETTER(DeltaE)
205 #undef GETTER
206 
207 
208  // GETTER for Isolation monitoring
209 #define GETTER(_name_) float getIsolation_##_name_(const xAOD::Electron* eg) const;
216 #undef GETTER
217 #define GETTER(_name_) float getIsolation_##_name_(const xAOD::Egamma* eg) const;
225 #undef GETTER
226  // GETTERs for CaloCluster monitoring
227 #define GETTER(_name_) float getCluster_##_name_(const xAOD::Egamma* eg) const;
228  GETTER(et)
229  GETTER(phi)
230  GETTER(eta)
231 #undef GETTER
232 
233  // GETTERs for Track monitoring
234 #define GETTER(_name_) float getTrack_##_name_(const xAOD::Electron* eg) const;
235  GETTER(pt)
236  GETTER(phi)
237  GETTER(eta)
238  GETTER(d0)
239  GETTER(z0)
240 #undef GETTER
241 
242 
243  // GETTERs for Track details monitoring
244 #define GETTER(_name_) float getTrackSummary_##_name_(const xAOD::Electron* eg) const;
259 #undef GETTER
260 
261 #define GETTER(_name_) float getTrackSummaryFloat_##_name_(const xAOD::Electron* eg) const;
265 #undef GETTER
266 
267  // GETTERs for Calo-Track monitoring
268 #define GETTER(_name_) float getCaloTrackMatch_##_name_(const xAOD::Electron* eg) const;
281 #undef GETTER
282 
283 };
284 
285 
286 
287 namespace Gaudi
288 {
289  namespace Parsers
290  {
291  typedef std::map<std::string, std::string> Dict_t;
292 
293  // A typedef may save a lot of mistakes
294  typedef std::vector<Dict_t> VecDict_t;
295 
296  // Parse function... nothing special, but it must be done explicitely.
297  StatusCode parse( VecDict_t & result, const std::string& input );
298  }
299 }
300 
301 
302 #endif
303 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigEgammaMonitorBaseAlgorithm::getDEmaxs1
float getDEmaxs1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:312
TrigEgammaMatchingToolMT.h
xAOD::Iso::ptvarcone30
@ ptvarcone30
Definition: IsolationType.h:56
TrigEgammaMonitorBaseAlgorithm::m_photonIsEMTool
ToolHandleArray< IAsgPhotonIsEMSelector > m_photonIsEMTool
Offline isEM Photon Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:100
TrigEgammaMonitorBaseAlgorithm::isIsolated
bool isIsolated(const xAOD::Electron *, const std::string &) const
Check if electron fulfils isolation criteria.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:112
TrigEgammaMonitorBaseAlgorithm::getEnergyBE1
float getEnergyBE1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:389
TrigEgammaMonitorBaseAlgorithm::dR
float dR(const float, const float, const float, const float) const
Get delta R.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:272
et
Extra patterns decribing particle interation process.
TrigElectronContainer.h
xAOD::EgammaParameters::deltaPhi0
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:193
xAOD::Iso::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition: IsolationType.h:48
TrigEgammaMonitorBaseAlgorithm::getTrigInfoMap
const std::map< std::string, TrigInfo > & getTrigInfoMap()
Helper methods.
Definition: TrigEgammaMonitorBaseAlgorithm.h:127
get_generator_info.result
result
Definition: get_generator_info.py:21
xAOD::Iso::ptvarcone20
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
Definition: IsolationType.h:55
_triginfo::trigger
std::string trigger
Definition: TrigEgammaMonitorBaseAlgorithm.h:47
xAOD::eProbabilityComb
@ eProbabilityComb
Electron probability from combining the below probabilities [float].
Definition: TrackingPrimitives.h:300
xAOD::EgammaParameters::deltaPhi3
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:207
Gaudi::Parsers::parse
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:284
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
TrigEgammaMonitorBaseAlgorithm::m_trigdec
ToolHandle< Trig::TrigDecisionTool > m_trigdec
Trigger decision tool.
Definition: TrigEgammaMonitorBaseAlgorithm.h:77
ParticleTest.eg
eg
Definition: ParticleTest.py:29
xAOD::EgammaParameters::Reta
@ Reta
e237/e277
Definition: EgammaEnums.h:154
_triginfo
Definition: TrigEgammaMonitorBaseAlgorithm.h:42
IAsgPhotonIsEMSelector.h
TrigEgammaMonitorBaseAlgorithm::getEt
float getEt(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:291
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
TruthParticleContainer.h
xAOD::numberOfTRTXenonHits
@ numberOfTRTXenonHits
number of TRT hits on track in straws with xenon [unit8_t].
Definition: TrackingPrimitives.h:284
TrigEgammaMonitorBaseAlgorithm::ApplyPhotonPid
bool ApplyPhotonPid(const xAOD::Photon *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:91
xAOD::EgammaParameters::deltaEta0
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:176
xAOD::Iso::ptcone30
@ ptcone30
Definition: IsolationType.h:41
test_pyathena.pt
pt
Definition: test_pyathena.py:11
xAOD::EgammaParameters::deltaEta2
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
Definition: EgammaEnums.h:187
xAOD::Iso::ptcone20
@ ptcone20
Track isolation.
Definition: IsolationType.h:40
xAOD::Iso::etcone40
@ etcone40
Definition: IsolationType.h:34
xAOD::EgammaParameters::ethad1
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition: EgammaEnums.h:42
xAOD::Iso::topoetcone30
@ topoetcone30
Definition: IsolationType.h:49
_triginfo::lrt
bool lrt
Definition: TrigEgammaMonitorBaseAlgorithm.h:56
TrigDecisionTool.h
xAOD::numberOfPixelHits
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:259
xAOD::expectInnermostPixelLayerHit
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
Definition: TrackingPrimitives.h:236
xAOD::EgammaParameters::deltaPhiRescaled3
@ deltaPhiRescaled3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:230
xAOD::numberOfTRTHits
@ numberOfTRTHits
number of TRT hits [unit8_t].
Definition: TrackingPrimitives.h:275
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
xAOD::Iso::etcone30
@ etcone30
Definition: IsolationType.h:33
xAOD::EgammaParameters::Rphi
@ Rphi
e233/e237
Definition: EgammaEnums.h:156
TrigEgammaMonitorBaseAlgorithm::tdt
const ToolHandle< Trig::TrigDecisionTool > & tdt() const
Get the TDT
Definition: TrigEgammaMonitorBaseAlgorithm.h:133
TrigInfo
struct _triginfo TrigInfo
xAOD::Iso::ptvarcone40
@ ptvarcone40
Definition: IsolationType.h:57
TrigEgammaMonitorBaseAlgorithm::getE0Eaccordion
float getE0Eaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:428
xAOD::EgammaParameters::wtots1
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Definition: EgammaEnums.h:140
TrigEgammaMonitorBaseAlgorithm::getEnergyBE0
float getEnergyBE0(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:380
TrigEgammaMonitorBaseAlgorithm::getEnergyBE3
float getEnergyBE3(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:407
xAOD::numberOfTRTHighThresholdHits
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:278
TrigEgammaMonitorBaseAlgorithm::setAccept
asg::AcceptData setAccept(const TrigCompositeUtils::Decision *, const TrigInfo &) const
Set the accept object for all trigger levels.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:177
xAOD::EgammaParameters::deltaPhi1
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Definition: EgammaEnums.h:196
TrigEgammaMonitorBaseAlgorithm::m_dnnname
Gaudi::Property< std::vector< std::string > > m_dnnname
dnn names
Definition: TrigEgammaMonitorBaseAlgorithm.h:117
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
xAOD::EgammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: EgammaEnums.h:54
TrigEgammaMonitorBaseAlgorithm::isHLTTruncated
bool isHLTTruncated() const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:733
Egamma.h
xAOD::numberOfInnermostPixelLayerOutliers
@ numberOfInnermostPixelLayerOutliers
number of 0th layer barrel outliers
Definition: TrackingPrimitives.h:238
xAOD::EgammaParameters::ethad
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition: EgammaEnums.h:45
TrigEgammaMonitorBaseAlgorithm::getTrigInfo
TrigInfo getTrigInfo(const std::string &) const
Get the trigger info parsed from the chain name (only single lepton triggers)
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:583
GenericMonitoringTool.h
TrigEgammaMonitorBaseAlgorithm::m_accept
asg::AcceptInfo m_accept
Definition: TrigEgammaMonitorBaseAlgorithm.h:122
xAOD::numberOfTRTHighThresholdOutliers
@ numberOfTRTHighThresholdOutliers
number of TRT high threshold outliers (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:281
IAsgElectronLikelihoodTool.h
EgammaxAODHelpers.h
asg::AcceptInfo
Definition: AcceptInfo.h:28
TrigEgammaMonitorBaseAlgorithm::m_trigInfo
std::map< std::string, TrigInfo > m_trigInfo
creates map of trigger name and TrigInfo struct
Definition: TrigEgammaMonitorBaseAlgorithm.h:84
TrigEgammaMonitorBaseAlgorithm::m_defaultProbePidElectron
Gaudi::Property< std::string > m_defaultProbePidElectron
default probe pid for electron trigitems that don't have pid in their name
Definition: TrigEgammaMonitorBaseAlgorithm.h:109
ElectronContainer.h
_triginfo::signature
std::string signature
Definition: TrigEgammaMonitorBaseAlgorithm.h:48
_triginfo::etthr
float etthr
Definition: TrigEgammaMonitorBaseAlgorithm.h:49
TrigEgammaMonitorBaseAlgorithm::setTrigInfo
void setTrigInfo(const std::string &)
Set the trigger info parsed from the chain name.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:591
xAOD::Iso::etcone20
@ etcone20
Calorimeter isolation.
Definition: IsolationType.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::EgammaParameters::emins1
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Definition: EgammaEnums.h:143
AthMonitorAlgorithm.h
TrigEgammaMonitorBaseAlgorithm::m_tp
Gaudi::Property< bool > m_tp
TP Trigger Analysis.
Definition: TrigEgammaMonitorBaseAlgorithm.h:107
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TrigEgammaMonitorBaseAlgorithm::m_emulatorTool
ToolHandle< Trig::TrigEgammaEmulationToolMT > m_emulatorTool
Definition: TrigEgammaMonitorBaseAlgorithm.h:92
xAOD::EgammaParameters::e011
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
Definition: EgammaEnums.h:30
TRT::Track::d0
@ d0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:62
TrigPhotonContainer.h
xAOD::EgammaParameters::deltaEta3
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:190
xAOD::numberOfPixelOutliers
@ numberOfPixelOutliers
these are the pixel outliers, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:260
xAOD::EgammaParameters::deltaPhiRescaled2
@ deltaPhiRescaled2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Definition: EgammaEnums.h:225
TrigEgammaMonitorBaseAlgorithm::m_doEmulation
Gaudi::Property< bool > m_doEmulation
Do emulation.
Definition: TrigEgammaMonitorBaseAlgorithm.h:104
TrigEgammaMonitorBaseAlgorithm::m_electronIsEMTool
ToolHandleArray< IAsgElectronIsEMSelector > m_electronIsEMTool
Offline isEM Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:94
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
xAOD::EgammaParameters::deltaPhiRescaled0
@ deltaPhiRescaled0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:215
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TrigEgammaMonitorBaseAlgorithm::getEaccordion
float getEaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:416
TrigEgammaMonitorBaseAlgorithm::m_electronLHTool
ToolHandleArray< IAsgElectronLikelihoodTool > m_electronLHTool
Offline LH Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:96
AcceptData.h
xAOD::EgammaParameters::Rhad1
@ Rhad1
ethad1/et
Definition: EgammaEnums.h:162
ReadCondHandleKey.h
TrigEgammaMonitorBaseAlgorithm::m_isemname
Gaudi::Property< std::vector< std::string > > m_isemname
isem names
Definition: TrigEgammaMonitorBaseAlgorithm.h:113
_triginfo::ion
bool ion
Definition: TrigEgammaMonitorBaseAlgorithm.h:57
TrigEgammaMonitorBaseAlgorithm::getEta2
float getEta2(const xAOD::Egamma *eg) const
Features helper.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:282
TrigEgammaMonitorBaseAlgorithm::ApplyElectronPid
bool ApplyElectronPid(const xAOD::Electron *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:49
_triginfo::nogsf
bool nogsf
Definition: TrigEgammaMonitorBaseAlgorithm.h:55
TrigEgammaMonitorBaseAlgorithm::getSigmaD0
float getSigmaD0(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:346
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
_triginfo::isolated
bool isolated
Definition: TrigEgammaMonitorBaseAlgorithm.h:60
xAOD::EgammaParameters::deltaPhi2
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Definition: EgammaEnums.h:204
Gaudi::Parsers::VecDict_t
std::vector< Dict_t > VecDict_t
Definition: TrigEgammaMonitorBaseAlgorithm.h:294
TrigEgammaMonitorBaseAlgorithm::m_matchTool
ToolHandle< TrigEgammaMatchingToolMT > m_matchTool
Definition: TrigEgammaMonitorBaseAlgorithm.h:90
xAOD::Electron_v1
Definition: Electron_v1.h:34
EmTauRoIContainer.h
EventInfo.h
TrigEgammaMonitorBaseAlgorithm::TrigEgammaMonitorBaseAlgorithm
TrigEgammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:9
TrigEgammaMonitorBaseAlgorithm::match
const ToolHandle< TrigEgammaMatchingToolMT > & match() const
Get the e/g match tool.
Definition: TrigEgammaMonitorBaseAlgorithm.h:135
xAOD::Iso::ptcone40
@ ptcone40
Definition: IsolationType.h:42
xAOD::numberOfTRTOutliers
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
Definition: TrackingPrimitives.h:276
TrigEMClusterContainer.h
AcceptInfo.h
xAOD::pixeldEdx
@ pixeldEdx
the dE/dx estimate, calculated using the pixel clusters [?]
Definition: TrackingPrimitives.h:304
IAsgElectronIsEMSelector.h
xAOD::EgammaParameters::deltaPhiRescaled1
@ deltaPhiRescaled1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Definition: EgammaEnums.h:220
TrigEgammaMonitorBaseAlgorithm::m_lhname
Gaudi::Property< std::vector< std::string > > m_lhname
lh names
Definition: TrigEgammaMonitorBaseAlgorithm.h:115
TrigEgammaMonitorBaseAlgorithm::m_electronDNNTool
ToolHandleArray< IAsgElectronLikelihoodTool > m_electronDNNTool
Offline DNN Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:98
TrigEgammaMonitorBaseAlgorithm::getD0sig
float getD0sig(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:362
JetContainer.h
xAOD::Photon_v1
Definition: Photon_v1.h:37
xAOD::numberOfSCTOutliers
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
Definition: TrackingPrimitives.h:269
xAOD::numberOfSCTDeadSensors
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:273
_triginfo::L1Legacy
bool L1Legacy
Definition: TrigEgammaMonitorBaseAlgorithm.h:44
Gaudi::Parsers::Dict_t
std::map< std::string, std::string > Dict_t
Definition: TrigEgammaMonitorBaseAlgorithm.h:291
TrigEgammaMonitorBaseAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &) const override
adds event to the monitoring histograms
Definition: TrigEgammaMonitorBaseAlgorithm.h:77
TrigEgammaMonitorBaseAlgorithm::rTRT
float rTRT(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:329
_triginfo::idperf
bool idperf
Definition: TrigEgammaMonitorBaseAlgorithm.h:53
TrigEgammaMonitorBaseAlgorithm::m_detailedHists
Gaudi::Property< bool > m_detailedHists
Include more detailed histograms.
Definition: TrigEgammaMonitorBaseAlgorithm.h:119
xAOD::eProbabilityHT
@ eProbabilityHT
Electron probability from High Threshold (HT) information [float].
Definition: TrackingPrimitives.h:301
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
xAOD::numberOfSCTHits
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Definition: TrackingPrimitives.h:268
xAOD::EgammaParameters::e277
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: EgammaEnums.h:80
_triginfo::etcut
bool etcut
Definition: TrigEgammaMonitorBaseAlgorithm.h:54
TrigEgammaMonitorBaseAlgorithm
Definition: TrigEgammaMonitorBaseAlgorithm.h:66
xAOD::numberOfPixelDeadSensors
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:266
xAOD::EgammaParameters::weta1
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition: EgammaEnums.h:97
xAOD::EgammaParameters::e132
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
Definition: EgammaEnums.h:36
xAOD::EgammaParameters::Eratio
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
Definition: EgammaEnums.h:158
xAOD::EgammaParameters::e237
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition: EgammaEnums.h:77
GETTER
#define GETTER(_name_)
C Macros for plotting.
Definition: TrigEgammaMonitorBaseAlgorithm.h:268
xAOD::Iso::topoetcone40
@ topoetcone40
Definition: IsolationType.h:50
_triginfo::L1Threshold
std::string L1Threshold
Definition: TrigEgammaMonitorBaseAlgorithm.h:45
xAOD::EgammaParameters::deltaEta1
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
Definition: EgammaEnums.h:184
TrigEgammaMonitorBaseAlgorithm::getEnergyBE2
float getEnergyBE2(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:398
xAOD::EgammaParameters::f3core
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
Definition: EgammaEnums.h:65
xAOD::EgammaParameters::e2tsts1
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Definition: EgammaEnums.h:108
xAOD::EgammaParameters::Rhad
@ Rhad
ethad/et
Definition: EgammaEnums.h:160
_triginfo::pidname
std::string pidname
Definition: TrigEgammaMonitorBaseAlgorithm.h:51
asg::AcceptData
Definition: AcceptData.h:30
TrigEgammaMonitorBaseAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:24
xAOD::EgammaParameters::DeltaE
@ DeltaE
e2tsts1-emins1
Definition: EgammaEnums.h:164
TrigEgammaMonitorBaseAlgorithm::m_defaultProbePidPhoton
Gaudi::Property< std::string > m_defaultProbePidPhoton
default probe pid for photon trigitems that don't have pid in their name
Definition: TrigEgammaMonitorBaseAlgorithm.h:111
PhotonContainer.h
TrigEgammaMonitorBaseAlgorithm::isPrescaled
bool isPrescaled(const std::string &) const
Check if the event is prescaled.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:144
xAOD::EgammaParameters::emaxs1
@ emaxs1
energy of strip with maximal energy deposit
Definition: EgammaEnums.h:145
MissingETContainer.h
TrigEgammaMonitorBaseAlgorithm::~TrigEgammaMonitorBaseAlgorithm
virtual ~TrigEgammaMonitorBaseAlgorithm()
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:19
TrigEgammaEmulationToolMT.h
_triginfo::isolation
std::string isolation
Definition: TrigEgammaMonitorBaseAlgorithm.h:59
TrigEgammaMonitorBaseAlgorithm::getL1Item
std::string getL1Item(const std::string &trigger) const
Creates static map to return L1 item from trigger name.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:724
TrackParticleContainer.h
xAOD::EgammaParameters::fracs1
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
Definition: EgammaEnums.h:111
xAOD::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
Definition: TrackingPrimitives.h:237
eFexEMRoIContainer.h
read_hist_ntuple.f1
f1
Definition: read_hist_ntuple.py:4
TrigEgammaMonitorBaseAlgorithm::getEtCluster37
float getEtCluster37(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:302
xAOD::EgammaParameters::weta2
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
Definition: EgammaEnums.h:103