ATLAS Offline Software
ITrigStreamerHypoTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGSTREAMER_ITRIGSTREAMERHYPOTOOL_H
6 #define TRIGSTREAMER_ITRIGSTREAMERHYPOTOOL_H
7 
8 #include "AsgTools/IAsgTool.h"
11 #include <vector>
12 
13 
14 class ITrigStreamerHypoTool : virtual public::IAlgTool {
15 
16 public:
18 
19  struct HypoInfo {
21  : m_newDecision( newD ),
23  TrigCompositeUtils::decisionIDs( previousD ).end() )
24  {}
27  };
28 
30  virtual StatusCode decide(std::vector<HypoInfo>&) const = 0;
31  virtual const HLT::Identifier& getId() const = 0;
32 
33 
34 };
35 #endif
ITrigStreamerHypoTool::~ITrigStreamerHypoTool
virtual ~ITrigStreamerHypoTool()
Definition: ITrigStreamerHypoTool.h:29
TrigCompositeUtils.h
ITrigStreamerHypoTool::DeclareInterfaceID
DeclareInterfaceID(ITrigStreamerHypoTool, 1, 0)
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ITrigStreamerHypoTool::getId
virtual const HLT::Identifier & getId() const =0
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ITrigStreamerHypoTool::HypoInfo::m_previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer m_previousDecisionIDs
Definition: ITrigStreamerHypoTool.h:26
ITrigStreamerHypoTool
Definition: ITrigStreamerHypoTool.h:14
ITrigStreamerHypoTool::HypoInfo
Definition: ITrigStreamerHypoTool.h:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IAsgTool.h
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
HLTIdentifier.h
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
ITrigStreamerHypoTool::decide
virtual StatusCode decide(std::vector< HypoInfo > &) const =0
ITrigStreamerHypoTool::HypoInfo::m_newDecision
TrigCompositeUtils::Decision * m_newDecision
Definition: ITrigStreamerHypoTool.h:25
ITrigStreamerHypoTool::HypoInfo::HypoInfo
HypoInfo(TrigCompositeUtils::Decision *newD, const TrigCompositeUtils::Decision *previousD)
Definition: ITrigStreamerHypoTool.h:20