ATLAS Offline Software
TrigCostSupervisorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGCOSTMONITOR_TRIGCOSTSUPERVISORALG_H
5 #define TRIGCOSTMONITOR_TRIGCOSTSUPERVISORALG_H 1
6 
9 
10 
16 {
17  public:
18 
19  TrigCostSupervisorAlg( const std::string& name, ISvcLocator* pSvcLocator );
20 
21  virtual StatusCode initialize() override;
22  virtual StatusCode execute( const EventContext& context ) const override;
23 
24  private:
26  this, "TrigCostSvc", "TrigCostSvc", "The trigger cost service" };
27 };
28 
29 #endif //> !TRIGCOSTMONITOR_TRIGCOSTSUPERVISORALG_H
30 
TrigCostSupervisorAlg::m_trigCostSvcHandle
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
Definition: TrigCostSupervisorAlg.h:25
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITrigCostSvc.h
TrigCostSupervisorAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigCostSupervisorAlg.cxx:20
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigCostSupervisorAlg
Simple class to start the Cost Monitoring at the begining of HLTBeginSeq.
Definition: TrigCostSupervisorAlg.h:16
TrigCostSupervisorAlg::initialize
virtual StatusCode initialize() override
Definition: TrigCostSupervisorAlg.cxx:13
TrigCostSupervisorAlg::TrigCostSupervisorAlg
TrigCostSupervisorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigCostSupervisorAlg.cxx:8
ServiceHandle< ITrigCostSvc >