ATLAS Offline Software
TriggerSummaryAlg.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 DECISIONHANDLING_TRIGGERSUMMARYALG_H
5 #define DECISIONHANDLING_TRIGGERSUMMARYALG_H 1
6 
7 #include <string>
8 
25  public:
26  TriggerSummaryAlg( const std::string& name, ISvcLocator* pSvcLocator );
27 
28  virtual ~TriggerSummaryAlg();
29 
30  virtual StatusCode initialize() override;
31  virtual StatusCode execute( const EventContext& context ) const override;
32 
33  private:
34 
36  "Partial decisions from the last stage of chains processing, they nay be missing from event to event"};
37 
39  "Object containing all the HLT input and output decision sets"};
40 
41  SG::ReadHandleKey<TrigTimeStamp> m_startStampKey{ this, "StartStampKey", "HLTSeedingStart",
42  "Object with the time stamp when decoding started" };
43 
44  typedef short ChainCounter_t;
45  std::map<HLT::Identifier, ChainCounter_t> m_chainIdToChainCounter;
46 
47  // TODO (tamartin / tbold) move this to DecisionSummaryMakerAlg ?
48  ToolHandleArray<IHLTOutputTool> m_outputTools{ this, "OutputTools", {}, "Set of tools to prepare make HLT output ready for writing out" };
49 
50  ToolHandle<GenericMonitoringTool> m_monTool{ this, "MonTool", "", "Monitoring" };
51 };
52 
53 #endif //> !DECISIONHANDLING_TRIGGERSUMMARY_H
TriggerSummaryAlg::m_finalDecisionKeys
SG::ReadHandleKeyArray< TrigCompositeUtils::DecisionContainer > m_finalDecisionKeys
Definition: TriggerSummaryAlg.h:38
TrigCompositeUtils.h
TriggerSummaryAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TriggerSummaryAlg.cxx:38
TriggerSummaryAlg::TriggerSummaryAlg
TriggerSummaryAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TriggerSummaryAlg.cxx:9
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
IHLTOutputTool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TriggerSummaryAlg::~TriggerSummaryAlg
virtual ~TriggerSummaryAlg()
Definition: TriggerSummaryAlg.cxx:13
TriggerSummaryAlg::m_outputTools
ToolHandleArray< IHLTOutputTool > m_outputTools
Definition: TriggerSummaryAlg.h:48
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
GenericMonitoringTool.h
TriggerSummaryAlg::m_startStampKey
SG::ReadHandleKey< TrigTimeStamp > m_startStampKey
Definition: TriggerSummaryAlg.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITrigCostSvc.h
TrigCompositeContainer.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TriggerSummaryAlg::initialize
virtual StatusCode initialize() override
Definition: TriggerSummaryAlg.cxx:16
TriggerSummaryAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TriggerSummaryAlg.h:50
TriggerSummaryAlg
In addition, a merged decisions collection is prepared. But not currently written....
Definition: TriggerSummaryAlg.h:24
TriggerSummaryAlg::ChainCounter_t
short ChainCounter_t
Definition: TriggerSummaryAlg.h:44
TriggerSummaryAlg::m_chainIdToChainCounter
std::map< HLT::Identifier, ChainCounter_t > m_chainIdToChainCounter
Definition: TriggerSummaryAlg.h:45
HLTIdentifier.h
TrigTimeStamp.h
TriggerSummaryAlg::m_inputDecisionKey
SG::ReadHandleKey< TrigCompositeUtils::DecisionContainer > m_inputDecisionKey
Definition: TriggerSummaryAlg.h:35