ATLAS Offline Software
ITrigEgammaPrecisionCaloHypoTool.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_ITPRECISIONCALOHYPOTOOL_H
5 #define TRIGEGAMMAHYPO_ITPRECISIONCALOHYPOTOOL_H 1
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
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigEgammaPrecisionCaloHypoTool.h:35
ITrigEgammaPrecisionCaloHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigEgammaPrecisionCaloHypoTool, 1, 0)
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
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo::cluster
const xAOD::CaloCluster_v1 * cluster
Definition: ITrigEgammaPrecisionCaloHypoTool.h:37
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloCluster.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo
Definition: ITrigEgammaPrecisionCaloHypoTool.h:25
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo::ClusterInfo
ClusterInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::CaloCluster_v1 *c, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigEgammaPrecisionCaloHypoTool.h:26
ITrigEgammaPrecisionCaloHypoTool::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...
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigEgammaPrecisionCaloHypoTool.h:36
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
ITrigEgammaPrecisionCaloHypoTool::decide
virtual bool decide(const ClusterInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
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
ITrigEgammaPrecisionCaloHypoTool
Definition: ITrigEgammaPrecisionCaloHypoTool.h:19
python.compressB64.c
def c
Definition: compressB64.py:93
ITrigEgammaPrecisionCaloHypoTool::~ITrigEgammaPrecisionCaloHypoTool
virtual ~ITrigEgammaPrecisionCaloHypoTool()
Definition: ITrigEgammaPrecisionCaloHypoTool.h:23
ITrigEgammaPrecisionCaloHypoTool::ClusterInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigEgammaPrecisionCaloHypoTool.h:38