ATLAS Offline Software
ITrigTRTHTHhypoTool.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 ITRIGTRTHTHHYPOTOOL_H
5 #define ITRIGTRTHTHHYPOTOOL_H 1
6 
7 #include "GaudiKernel/IAlgTool.h"
11 
18  : virtual public ::IAlgTool
19 {
20 
21  public:
24 
25  struct RNNOutputInfo {
27  const xAOD::TrigRNNOutput* rnn,
28  const TrigCompositeUtils::Decision* previousDecision )
29  : decision( d ),
30  rnnOutput(rnn),
32  TrigCompositeUtils::decisionIDs( previousDecision ).end() )
33  {}
34 
38  };
39 
40 
47  virtual StatusCode decide( std::vector<RNNOutputInfo>& input ) const = 0;
48 
53  virtual bool decide( const RNNOutputInfo& i ) const = 0;
54 
55  protected:
56 
57 
58 };
59 
60 
61 #endif //> !ITRIGTRTHTHHYPOTOOL_H
62 
xAOD::TrigRNNOutput_v2
Definition: TrigRNNOutput_v2.h:24
ITrigTRTHTHhypoTool::~ITrigTRTHTHhypoTool
virtual ~ITrigTRTHTHhypoTool()
Definition: ITrigTRTHTHhypoTool.h:23
ITrigTRTHTHhypoTool::RNNOutputInfo
Definition: ITrigTRTHTHhypoTool.h:25
hist_file_dump.d
d
Definition: hist_file_dump.py:137
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TrigCompositeUtils.h
ITrigTRTHTHhypoTool
Definition: ITrigTRTHTHhypoTool.h:19
lumiFormat.i
int i
Definition: lumiFormat.py:85
ITrigTRTHTHhypoTool::RNNOutputInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: ITrigTRTHTHhypoTool.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
ITrigTRTHTHhypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigTRTHTHhypoTool, 1, 0)
ITrigTRTHTHhypoTool::RNNOutputInfo::decision
TrigCompositeUtils::Decision * decision
Definition: ITrigTRTHTHhypoTool.h:35
ITrigTRTHTHhypoTool::decide
virtual bool decide(const RNNOutputInfo &i) const =0
Makes a decision for a single object The decision needs to be returned.
TrigRNNOutput.h
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
ITrigTRTHTHhypoTool::decide
virtual StatusCode decide(std::vector< RNNOutputInfo > &input) const =0
decides upon rnnOutput Note it is for a reason a non-virtual method, it is an interface in gaudi sens...
ITrigTRTHTHhypoTool::RNNOutputInfo::RNNOutputInfo
RNNOutputInfo(TrigCompositeUtils::Decision *d, const xAOD::TrigRNNOutput *rnn, const TrigCompositeUtils::Decision *previousDecision)
Definition: ITrigTRTHTHhypoTool.h:26
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
ITrigTRTHTHhypoTool::RNNOutputInfo::rnnOutput
const xAOD::TrigRNNOutput * rnnOutput
Definition: ITrigTRTHTHhypoTool.h:36
HLTIdentifier.h