ATLAS Offline Software
Loading...
Searching...
No Matches
NswPassivationTestAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef NswPassivationTestAlg_H
6#define NswPassivationTestAlg_H
7
8// STL
9#include <chrono>
10#include <string>
11
12// Athena
17
18
20public:
21 NswPassivationTestAlg(const std::string &name, ISvcLocator *pSvcLocator);
22 virtual ~NswPassivationTestAlg() override;
23
24 virtual StatusCode initialize() override;
25 virtual StatusCode execute(const EventContext &) const override;
26
27private:
28 StatusCode retrieve(const EventContext &, std::chrono::duration<double> &) const;
29 std::string timestamp() const;
30
32 this, "ReadKey", "NswPassivationDbData",
33 "Key of NswPassivationDbData object containing passivation data"};
34 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
35
36}; // end of class
37
38#endif
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &) const override
virtual ~NswPassivationTestAlg() override
NswPassivationTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode retrieve(const EventContext &, std::chrono::duration< double > &) const
SG::ReadCondHandleKey< NswPassivationDbData > m_readKey
virtual StatusCode initialize() override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc