ATLAS Offline Software
TrigCostFinalizeAlg.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_TRIGCOSTFINALIZEALG_H
5 #define TRIGCOSTMONITOR_TRIGCOSTFINALIZEALG_H 1
6 
10 
11 
17 {
18  public:
19 
20  TrigCostFinalizeAlg( const std::string& name, ISvcLocator* pSvcLocator );
21 
22  virtual StatusCode initialize() override;
23  virtual StatusCode execute( const EventContext& context ) const override;
24 
25  private:
27  this, "TrigCostSvc", "TrigCostSvc", "The trigger cost service" };
28 
29  SG::WriteHandleKey<xAOD::TrigCompositeContainer> m_costWriteHandleKey { this, "CostWriteHandleKey", "HLT_TrigCostContainer",
30  "TrigComposite collections summarising the HLT execution" };
31 
32  SG::WriteHandleKey<xAOD::TrigCompositeContainer> m_rosWriteHandleKey { this, "ROSWriteHandleKey", "HLT_TrigCostROSContainer",
33  "TrigComposite collections summarising the ROS requests" };
34 };
35 
36 #endif //> !TRIGCOSTMONITOR_TRIGCOSTFINALIZEALG_H
37 
TrigCostFinalizeAlg::m_trigCostSvcHandle
ServiceHandle< ITrigCostSvc > m_trigCostSvcHandle
Definition: TrigCostFinalizeAlg.h:26
TrigCompositeUtils.h
TrigCostFinalizeAlg::TrigCostFinalizeAlg
TrigCostFinalizeAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigCostFinalizeAlg.cxx:9
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
TrigCostFinalizeAlg::m_rosWriteHandleKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_rosWriteHandleKey
Definition: TrigCostFinalizeAlg.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITrigCostSvc.h
TrigCostFinalizeAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: TrigCostFinalizeAlg.cxx:25
TrigCostFinalizeAlg::initialize
virtual StatusCode initialize() override
Definition: TrigCostFinalizeAlg.cxx:14
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrigCostFinalizeAlg
Simple class to end the Cost Monitoring at the end of acceptedEventTopSeq.
Definition: TrigCostFinalizeAlg.h:17
TrigCostFinalizeAlg::m_costWriteHandleKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_costWriteHandleKey
Definition: TrigCostFinalizeAlg.h:29
ServiceHandle< ITrigCostSvc >