ATLAS Offline Software
ITrigEgammaFastElectronHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGEGAMMAHYPO_ITRIGEGAMMAFASTELECTRONHYPOTOOL_H
5 #define TRIGEGAMMAHYPO_ITRIGEGAMMAFASTELECTRONHYPOTOOL_H 1
6 
7 #include "GaudiKernel/IAlgTool.h"
14 
15 
16 
22 class ITrigEgammaFastElectronHypoTool: virtual public ::IAlgTool
23 {
24 
25  public:
26 
28 
30 
31  struct ElectronInfo {
33  const xAOD::TrigElectron* el,
34  const xAOD::TrigEMCluster* cl,
35  const xAOD::TrigRingerRings* r,
36  const TrigCompositeUtils::DecisionIDContainer& previousDecisions )
37  : decision( d ),
38  electron(el),
39  cluster(cl),
40  rings(r),
41  previousDecisionIDs( previousDecisions ){}
42 
48  std::map<std::string, float> valueDecorator;
49  std::map<std::string, bool> pidDecorator;
50  };
51 
52 
53 
54  virtual StatusCode decide( std::vector<ElectronInfo>& input ) const = 0;
55 
60  virtual bool decide( const ElectronInfo& i ) const = 0;
61 
62  protected:
63 
64 
65 };
66 
67 
68 #endif
beamspotman.r
def r
Definition: beamspotman.py:676
TrigRingerRingsContainer.h
xAOD::TrigElectron_v1
Class describing an electron reconstructed in the HLT.
Definition: TrigElectron_v1.h:39
TrigElectronContainer.h
ITrigEgammaFastElectronHypoTool::ElectronInfo::rings
const xAOD::TrigRingerRings * rings
Definition: ITrigEgammaFastElectronHypoTool.h:46
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ITrigEgammaFastElectronHypoTool::decide
virtual StatusCode decide(std::vector< ElectronInfo > &input) const =0
ITrigEgammaFastElectronHypoTool::ElectronInfo::pidDecorator
std::map< std::string, bool > pidDecorator
Definition: ITrigEgammaFastElectronHypoTool.h:49
ITrigEgammaFastElectronHypoTool::ElectronInfo::valueDecorator
std::map< std::string, float > valueDecorator
Definition: ITrigEgammaFastElectronHypoTool.h:48
TrigRingerRings.h
ITrigEgammaFastElectronHypoTool::ElectronInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigEgammaFastElectronHypoTool.h:47
ITrigEgammaFastElectronHypoTool
Definition: ITrigEgammaFastElectronHypoTool.h:23
TrigCompositeUtils.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
ITrigEgammaFastElectronHypoTool::decide
virtual bool decide(const ElectronInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
ITrigEgammaFastElectronHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigEgammaFastElectronHypoTool, 1, 0)
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
ITrigEgammaFastElectronHypoTool::ElectronInfo::ElectronInfo
ElectronInfo(TrigCompositeUtils::Decision *d, const xAOD::TrigElectron *el, const xAOD::TrigEMCluster *cl, const xAOD::TrigRingerRings *r, const TrigCompositeUtils::DecisionIDContainer &previousDecisions)
Definition: ITrigEgammaFastElectronHypoTool.h:32
ITrigEgammaFastElectronHypoTool::ElectronInfo::electron
const xAOD::TrigElectron * electron
Definition: ITrigEgammaFastElectronHypoTool.h:44
xAOD::TrigRingerRings_v2
Definition: TrigRingerRings_v2.h:24
ITrigEgammaFastElectronHypoTool::~ITrigEgammaFastElectronHypoTool
virtual ~ITrigEgammaFastElectronHypoTool()
Definition: ITrigEgammaFastElectronHypoTool.h:29
ITrigEgammaFastElectronHypoTool::ElectronInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigEgammaFastElectronHypoTool.h:43
TrigEMClusterContainer.h
ITrigEgammaFastElectronHypoTool::ElectronInfo
Definition: ITrigEgammaFastElectronHypoTool.h:31
ITrigEgammaFastElectronHypoTool::ElectronInfo::cluster
const xAOD::TrigEMCluster * cluster
Definition: ITrigEgammaFastElectronHypoTool.h:45
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
HLTIdentifier.h