ATLAS Offline Software
ITrigEgammaForwardPrecisionCaloHypoTool.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 ITrigEgammaForwardPrecisionCaloHypoTool_h
5 #define ITrigEgammaForwardPrecisionCaloHypoTool_h
6 
7 #include "GaudiKernel/IAlgTool.h"
11 
18  : virtual public ::IAlgTool
19 {
20 
21  public:
24 
25  struct ClusterInfo {
27  const TrigCompositeUtils::Decision* previousDecision )
28  : decision( d ),
29  roi( r ),
30  cluster(c),
32  TrigCompositeUtils::decisionIDs( previousDecision ).end() )
33  {}
34 
39  };
40 
41 
48  virtual StatusCode decide( std::vector<ClusterInfo>& input ) const = 0;
49 
54  virtual bool decide( const ClusterInfo& i ) const = 0;
55 
56  protected:
57 
58 
59 };
60 
61 
62 #endif //> !TRIGEGAMMAHYPO_ITPRECISIONCALOHYPOTOOL_H
beamspotman.r
def r
Definition: beamspotman.py:676
ITrigEgammaForwardPrecisionCaloHypoTool::~ITrigEgammaForwardPrecisionCaloHypoTool
virtual ~ITrigEgammaForwardPrecisionCaloHypoTool()
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:23
TrigCompositeUtils.h
hist_file_dump.d
d
Definition: hist_file_dump.py:137
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
ITrigEgammaForwardPrecisionCaloHypoTool::decide
virtual StatusCode decide(std::vector< ClusterInfo > &input) const =0
decides upon all clusters Note it is for a reason a non-virtual method, it is an interface in gaudi s...
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ITrigEgammaForwardPrecisionCaloHypoTool
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:19
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloCluster.h
ITrigEgammaForwardPrecisionCaloHypoTool::ClusterInfo::cluster
const xAOD::CaloCluster_v1 * cluster
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
ITrigEgammaForwardPrecisionCaloHypoTool::ClusterInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:36
ITrigEgammaForwardPrecisionCaloHypoTool::ClusterInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:38
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
ITrigEgammaForwardPrecisionCaloHypoTool::ClusterInfo
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:25
ITrigEgammaForwardPrecisionCaloHypoTool::decide
virtual bool decide(const ClusterInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
ITrigEgammaForwardPrecisionCaloHypoTool::ClusterInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:35
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
TrigRoiDescriptor.h
ITrigEgammaForwardPrecisionCaloHypoTool::ClusterInfo::ClusterInfo
ClusterInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::CaloCluster_v1 *c, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigEgammaForwardPrecisionCaloHypoTool.h:26
python.compressB64.c
def c
Definition: compressB64.py:93
ITrigEgammaForwardPrecisionCaloHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigEgammaForwardPrecisionCaloHypoTool, 1, 0)