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 
106  Gaudi::Property<bool> m_doEffwithLH{this, "ComputeEffLH", false};
107  Gaudi::Property<bool> m_doEffwithDNN{this, "ComputeEffDNN", false};
108 
110  Gaudi::Property<bool> m_tp{this, "TPTrigger", false };
112  Gaudi::Property<std::string> m_defaultProbePidElectron{this, "DefaultProbeSelectionElectron", "lhloose"};
114  Gaudi::Property<std::string> m_defaultProbePidPhoton{this, "DefaultProbeSelectionPhoton", "loose"};
116  Gaudi::Property<std::vector<std::string>> m_isemname{this, "isEMResultNames", {} };
118  Gaudi::Property<std::vector<std::string>> m_lhname{this, "LHResultNames", {} };
120  Gaudi::Property<std::vector<std::string>> m_dnnname {this, "DNNResultNames", {}, };
122  Gaudi::Property<bool> m_detailedHists{this, "DetailedHistograms", false};
123 
124 
126 
130  const std::map<std::string,TrigInfo>& getTrigInfoMap() { return m_trigInfo; }
132  bool ApplyElectronPid(const xAOD::Electron *eg,const std::string&) const;
134  bool ApplyPhotonPid(const xAOD::Photon *eg,const std::string&) const;
136  const ToolHandle<Trig::TrigDecisionTool>& tdt() const {return m_trigdec;};
138  const ToolHandle<TrigEgammaMatchingToolMT>& match() const {return m_matchTool;}
140  asg::AcceptData setAccept(const TrigCompositeUtils::Decision*, const TrigInfo&, const bool) const;
142  TrigInfo getTrigInfo(const std::string&) const;
144  float dR(const float, const float, const float, const float) const;
146  std::string getL1Item(const std::string& trigger) const;
148  bool isIsolated(const xAOD::Electron*, const std::string&) const;
150  bool isPrescaled(const std::string&) const;
152  void setTrigInfo(const std::string&);
154  bool isHLTTruncated() const;
155 
156 
162  float getEta2(const xAOD::Egamma* eg) const;
163  float getEt(const xAOD::Electron* eg) const ;
164  float getEtCluster37(const xAOD::Egamma* eg) const;
165  float getDEmaxs1(const xAOD::Egamma *eg) const;
166  float rTRT (const xAOD::Electron* eg) const;
167  float getSigmaD0(const xAOD::Electron *eg) const;
168  float getD0sig(const xAOD::Electron *eg) const;
169  float getEnergyBE0(const xAOD::Egamma *eg) const;
170  float getEnergyBE1(const xAOD::Egamma *eg) const;
171  float getEnergyBE2(const xAOD::Egamma *eg) const;
172  float getEnergyBE3(const xAOD::Egamma *eg) const;
173  float getEaccordion(const xAOD::Egamma *eg) const;
174  float getE0Eaccordion(const xAOD::Egamma *eg) const;
175 
176 
177 
178 
179 
180 
181 
182 
183 
185 #define GETTER(_name_) float getShowerShape_##_name_(const xAOD::Egamma* eg) const;
186  GETTER(e011)
187  GETTER(e132)
188  GETTER(e237)
189  GETTER(e277)
190  GETTER(ethad)
191  GETTER(ethad1)
192  GETTER(weta1)
193  GETTER(weta2)
194  GETTER(f1)
195  GETTER(e2tsts1)
196  GETTER(emins1)
197  GETTER(emaxs1)
198  GETTER(wtots1)
199  GETTER(fracs1)
200  GETTER(Reta)
201  GETTER(Rphi)
202  GETTER(f3)
203  GETTER(f3core)
204  GETTER(Eratio)
205  GETTER(Rhad)
206  GETTER(Rhad1)
207  GETTER(DeltaE)
208 #undef GETTER
209 
210 
211  // GETTER for Isolation monitoring
212 #define GETTER(_name_) float getIsolation_##_name_(const xAOD::Electron* eg) const;
219 #undef GETTER
220 #define GETTER(_name_) float getIsolation_##_name_(const xAOD::Egamma* eg) const;
228 #undef GETTER
229  // GETTERs for CaloCluster monitoring
230 #define GETTER(_name_) float getCluster_##_name_(const xAOD::Egamma* eg) const;
231  GETTER(et)
232  GETTER(phi)
233  GETTER(eta)
234 #undef GETTER
235 
236  // GETTERs for Track monitoring
237 #define GETTER(_name_) float getTrack_##_name_(const xAOD::Electron* eg) const;
238  GETTER(pt)
239  GETTER(phi)
240  GETTER(eta)
241  GETTER(d0)
242  GETTER(z0)
243 #undef GETTER
244 
245 
246  // GETTERs for Track details monitoring
247 #define GETTER(_name_) float getTrackSummary_##_name_(const xAOD::Electron* eg) const;
262 #undef GETTER
263 
264 #define GETTER(_name_) float getTrackSummaryFloat_##_name_(const xAOD::Electron* eg) const;
268 #undef GETTER
269 
270  // GETTERs for Calo-Track monitoring
271 #define GETTER(_name_) float getCaloTrackMatch_##_name_(const xAOD::Electron* eg) const;
284 #undef GETTER
285 
286 };
287 
288 
289 
290 namespace Gaudi
291 {
292  namespace Parsers
293  {
294  typedef std::map<std::string, std::string> Dict_t;
295 
296  // A typedef may save a lot of mistakes
297  typedef std::vector<Dict_t> VecDict_t;
298 
299  // Parse function... nothing special, but it must be done explicitely.
300  StatusCode parse( VecDict_t & result, const std::string& input );
301  }
302 }
303 
304 
305 #endif
306 
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:338
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:118
TrigEgammaMonitorBaseAlgorithm::getEnergyBE1
float getEnergyBE1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:415
TrigEgammaMonitorBaseAlgorithm::dR
float dR(const float, const float, const float, const float) const
Get delta R.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:298
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:130
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:301
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:317
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
TrigEgammaMonitorBaseAlgorithm::setAccept
asg::AcceptData setAccept(const TrigCompositeUtils::Decision *, const TrigInfo &, const bool) const
Set the accept object for all trigger levels.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:183
TruthParticleContainer.h
xAOD::numberOfTRTXenonHits
@ numberOfTRTXenonHits
number of TRT hits on track in straws with xenon [unit8_t].
Definition: TrackingPrimitives.h:285
TrigEgammaMonitorBaseAlgorithm::ApplyPhotonPid
bool ApplyPhotonPid(const xAOD::Photon *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:97
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:260
xAOD::expectInnermostPixelLayerHit
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
Definition: TrackingPrimitives.h:237
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:276
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:136
TrigInfo
struct _triginfo TrigInfo
xAOD::Iso::ptvarcone40
@ ptvarcone40
Definition: IsolationType.h:57
TrigEgammaMonitorBaseAlgorithm::getE0Eaccordion
float getE0Eaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:454
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:406
TrigEgammaMonitorBaseAlgorithm::getEnergyBE3
float getEnergyBE3(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:433
xAOD::numberOfTRTHighThresholdHits
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:279
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:120
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
TrigEgammaMonitorBaseAlgorithm::m_doEffwithDNN
Gaudi::Property< bool > m_doEffwithDNN
Definition: TrigEgammaMonitorBaseAlgorithm.h:107
xAOD::EgammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: EgammaEnums.h:54
TrigEgammaMonitorBaseAlgorithm::isHLTTruncated
bool isHLTTruncated() const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:763
Egamma.h
xAOD::numberOfInnermostPixelLayerOutliers
@ numberOfInnermostPixelLayerOutliers
number of 0th layer barrel outliers
Definition: TrackingPrimitives.h:239
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:609
GenericMonitoringTool.h
TrigEgammaMonitorBaseAlgorithm::m_accept
asg::AcceptInfo m_accept
Definition: TrigEgammaMonitorBaseAlgorithm.h:125
xAOD::numberOfTRTHighThresholdOutliers
@ numberOfTRTHighThresholdOutliers
number of TRT high threshold outliers (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:282
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:112
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:617
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:110
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:261
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:442
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:116
_triginfo::ion
bool ion
Definition: TrigEgammaMonitorBaseAlgorithm.h:57
TrigEgammaMonitorBaseAlgorithm::getEta2
float getEta2(const xAOD::Egamma *eg) const
Features helper.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:308
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:372
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
_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:297
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:138
xAOD::Iso::ptcone40
@ ptcone40
Definition: IsolationType.h:42
xAOD::numberOfTRTOutliers
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
Definition: TrackingPrimitives.h:277
TrigEMClusterContainer.h
AcceptInfo.h
xAOD::pixeldEdx
@ pixeldEdx
the dE/dx estimate, calculated using the pixel clusters [?]
Definition: TrackingPrimitives.h:305
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:118
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:388
JetContainer.h
xAOD::Photon_v1
Definition: Photon_v1.h:37
xAOD::numberOfSCTOutliers
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
Definition: TrackingPrimitives.h:270
xAOD::numberOfSCTDeadSensors
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:274
_triginfo::L1Legacy
bool L1Legacy
Definition: TrigEgammaMonitorBaseAlgorithm.h:44
Gaudi::Parsers::Dict_t
std::map< std::string, std::string > Dict_t
Definition: TrigEgammaMonitorBaseAlgorithm.h:294
TrigEgammaMonitorBaseAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &) const override
adds event to the monitoring histograms
Definition: TrigEgammaMonitorBaseAlgorithm.h:77
TrigEgammaMonitorBaseAlgorithm::m_doEffwithLH
Gaudi::Property< bool > m_doEffwithLH
Definition: TrigEgammaMonitorBaseAlgorithm.h:106
TrigEgammaMonitorBaseAlgorithm::rTRT
float rTRT(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:355
_triginfo::idperf
bool idperf
Definition: TrigEgammaMonitorBaseAlgorithm.h:53
TrigEgammaMonitorBaseAlgorithm::m_detailedHists
Gaudi::Property< bool > m_detailedHists
Include more detailed histograms.
Definition: TrigEgammaMonitorBaseAlgorithm.h:122
xAOD::eProbabilityHT
@ eProbabilityHT
Electron probability from High Threshold (HT) information [float].
Definition: TrackingPrimitives.h:302
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
xAOD::numberOfSCTHits
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Definition: TrackingPrimitives.h:269
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:267
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:271
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:424
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:114
PhotonContainer.h
TrigEgammaMonitorBaseAlgorithm::isPrescaled
bool isPrescaled(const std::string &) const
Check if the event is prescaled.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:150
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:754
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:238
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:328
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