ATLAS Offline Software
ITrigEgammaFastCaloHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGEGAMMAHYPO_ITRIGEGAMMAFASTCALOHYPOTOOL_H
5 #define TRIGEGAMMAHYPO_ITRIGEGAMMAFASTCALOHYPOTOOL_H 1
6 
7 #include "GaudiKernel/IAlgTool.h"
12 
13 
14 
21  : virtual public ::IAlgTool
22 {
23 
24  public:
27 
28  struct FastClusterInfo {
30  const TrigRoiDescriptor* r,
31  const xAOD::TrigEMCluster* c,
32  const xAOD::TrigRingerRings* ring,
33  const TrigCompositeUtils::Decision* previousDecision )
34  : decision( d ),
35  roi( r ),
36  cluster(c),
37  ringerShape(ring),
39  TrigCompositeUtils::decisionIDs( previousDecision ).end() )
40  {}
41 
46  std::map<std::string, float> valueDecorator;
47  std::map<std::string, bool> pidDecorator;
49  };
50 
51 
58  virtual StatusCode decide( std::vector<FastClusterInfo>& input ) const = 0;
59 
64  virtual bool decide( const FastClusterInfo& i ) const = 0;
65 
66  protected:
67 
68 
69 };
70 
71 
72 #endif //> !TRIGEGAMMAHYPO_ITRIGEGAMMAFASTCALOHYPOTOOL_H
ITrigEgammaFastCaloHypoTool::FastClusterInfo
Definition: ITrigEgammaFastCaloHypoTool.h:28
beamspotman.r
def r
Definition: beamspotman.py:676
ITrigEgammaFastCaloHypoTool::~ITrigEgammaFastCaloHypoTool
virtual ~ITrigEgammaFastCaloHypoTool()
Definition: ITrigEgammaFastCaloHypoTool.h:26
ITrigEgammaFastCaloHypoTool::decide
virtual bool decide(const FastClusterInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
ITrigEgammaFastCaloHypoTool::FastClusterInfo::ringerShape
const xAOD::TrigRingerRings * ringerShape
Definition: ITrigEgammaFastCaloHypoTool.h:45
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ITrigEgammaFastCaloHypoTool::FastClusterInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigEgammaFastCaloHypoTool.h:48
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ITrigEgammaFastCaloHypoTool::FastClusterInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigEgammaFastCaloHypoTool.h:43
TrigCompositeUtils.h
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
ITrigEgammaFastCaloHypoTool::decide
virtual StatusCode decide(std::vector< FastClusterInfo > &input) const =0
decides upon all clusters Note it is for a reason a non-virtual method, it is an interface in gaudi s...
ITrigEgammaFastCaloHypoTool::FastClusterInfo::pidDecorator
std::map< std::string, bool > pidDecorator
Definition: ITrigEgammaFastCaloHypoTool.h:47
TrigRingerRings.h
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ITrigEgammaFastCaloHypoTool::FastClusterInfo::cluster
const xAOD::TrigEMCluster * cluster
Definition: ITrigEgammaFastCaloHypoTool.h:44
ITrigEgammaFastCaloHypoTool::FastClusterInfo::FastClusterInfo
FastClusterInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::TrigEMCluster *c, const xAOD::TrigRingerRings *ring, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigEgammaFastCaloHypoTool.h:29
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
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
ITrigEgammaFastCaloHypoTool::FastClusterInfo::valueDecorator
std::map< std::string, float > valueDecorator
Definition: ITrigEgammaFastCaloHypoTool.h:46
xAOD::TrigRingerRings_v2
Definition: TrigRingerRings_v2.h:24
ITrigEgammaFastCaloHypoTool::FastClusterInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigEgammaFastCaloHypoTool.h:42
ITrigEgammaFastCaloHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigEgammaFastCaloHypoTool, 1, 0)
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
TrigCompositeUtils::decisionIDs
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
Definition: TrigCompositeUtilsRoot.cxx:67
TrigCompositeUtils
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
python.compressB64.c
def c
Definition: compressB64.py:93
ITrigEgammaFastCaloHypoTool
Definition: ITrigEgammaFastCaloHypoTool.h:22
TrigRoiDescriptorCollection.h
HLTIdentifier.h