ATLAS Offline Software
ITrigTauCaloHypoTool.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_ITrigTauCaloHypoTool_H
7 #define TRIGTAUHYPO_ITrigTauCaloHypoTool_H
8 
9 #include "GaudiKernel/IAlgTool.h"
13 
14 
18 class ITrigTauCaloHypoTool : virtual public ::IAlgTool
19 {
20 public:
22 
23  virtual ~ITrigTauCaloHypoTool() {}
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
ITrigTauCaloHypoTool::ToolInfo::tauContainer
const xAOD::TauJetContainer * tauContainer
Definition: ITrigTauCaloHypoTool.h:37
ITrigTauCaloHypoTool::ToolInfo
Definition: ITrigTauCaloHypoTool.h:25
hist_file_dump.d
d
Definition: hist_file_dump.py:137
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ITrigTauCaloHypoTool::ToolInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigTauCaloHypoTool.h:38
ITrigTauCaloHypoTool::ToolInfo::ToolInfo
ToolInfo(TrigCompositeUtils::Decision *d, const TrigRoiDescriptor *r, const xAOD::TauJetContainer *c, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigTauCaloHypoTool.h:26
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
ITrigTauCaloHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigTauCaloHypoTool, 1, 0)
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TrigCompositeUtils.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
ITrigTauCaloHypoTool::~ITrigTauCaloHypoTool
virtual ~ITrigTauCaloHypoTool()
Definition: ITrigTauCaloHypoTool.h:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
ITrigTauCaloHypoTool
Base class for the TrigTauCaloHypoTool.
Definition: ITrigTauCaloHypoTool.h:19
ITrigTauCaloHypoTool::decide
virtual bool decide(const ToolInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
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
ITrigTauCaloHypoTool::ToolInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigTauCaloHypoTool.h:35
ITrigTauCaloHypoTool::decide
virtual StatusCode decide(std::vector< ToolInfo > &input) const =0
decides upon all inputs Note it is for a reason a non-virtual method, it is an interface in gaudi sen...
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
ITrigTauCaloHypoTool::ToolInfo::roi
const TrigRoiDescriptor * roi
Definition: ITrigTauCaloHypoTool.h:36
python.compressB64.c
def c
Definition: compressB64.py:93