ATLAS Offline Software
ITrigTauPrecisionHypoTool.h
Go to the documentation of this file.
1 // emacs: this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef TrigTauHypo_ITrigTauPrecisionHypoTool_H
7 #define TrigTauHypo_ITrigTauPrecisionHypoTool_H
8 
9 #include "GaudiKernel/IAlgTool.h"
13 
14 
18 class ITrigTauPrecisionHypoTool : virtual public ::IAlgTool
19 {
20 public:
22 
24 
25  struct ToolInfo {
27  const TrigCompositeUtils::Decision* previousDecision)
28  : decision(d),
29  roi(r),
30  tauContainer(c),
32  TrigCompositeUtils::decisionIDs(previousDecision).end())
33  {}
34 
39  };
40 
41 
48  virtual StatusCode decide(std::vector<ToolInfo>& input) const = 0;
49 
54  virtual bool decide(const ToolInfo& i) const = 0;
55 };
56 
57 #endif
beamspotman.r
def r
Definition: beamspotman.py:676
ITrigTauPrecisionHypoTool::ToolInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigTauPrecisionHypoTool.h:36
ITrigTauPrecisionHypoTool::ToolInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigTauPrecisionHypoTool.h:35
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ITrigTauPrecisionHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigTauPrecisionHypoTool, 1, 0)
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ITrigTauPrecisionHypoTool
Base class for the Precision step hypothesis tools.
Definition: ITrigTauPrecisionHypoTool.h:19
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
ITrigTauPrecisionHypoTool::ToolInfo
Definition: ITrigTauPrecisionHypoTool.h:25
ITrigTauPrecisionHypoTool::ToolInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigTauPrecisionHypoTool.h:38
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
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
ITrigTauPrecisionHypoTool::~ITrigTauPrecisionHypoTool
virtual ~ITrigTauPrecisionHypoTool()
Definition: ITrigTauPrecisionHypoTool.h:23
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TauJetContainer.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
ITrigTauPrecisionHypoTool::decide
virtual StatusCode decide(std::vector< ToolInfo > &input) const =0
decides upon all clusters Note it is for a reason a non-virtual method, it is an interface in gaudi s...
ITrigTauPrecisionHypoTool::decide
virtual bool decide(const ToolInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
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
ITrigTauPrecisionHypoTool::ToolInfo::ToolInfo
ToolInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::TauJetContainer *c, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigTauPrecisionHypoTool.h:26
TrigCompositeUtils
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
TrigRoiDescriptor.h
ITrigTauPrecisionHypoTool::ToolInfo::tauContainer
const xAOD::TauJetContainer * tauContainer
Definition: ITrigTauPrecisionHypoTool.h:37
python.compressB64.c
def c
Definition: compressB64.py:93