ATLAS Offline Software
IOVDbTestCoolDCS.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 IOVDBTEST_TESTCOOLDCS_H
6 #define IOVDBTEST_TESTCOOLDCS_H
7 // IOVDbTestCoolDCS.h
8 // a simple algorithm to demonstrate reading of DCS data stored in COOL
9 // into an Athena algorithm
10 // Richard Hawkings, started 9/9/05
11 
13 #include <vector>
14 #include <string>
15 
17 {
18  public:
19  IOVDbTestCoolDCS(const std::string& name, ISvcLocator* pSvcLocator);
20  virtual ~IOVDbTestCoolDCS();
21 
22  virtual StatusCode initialize() override;
23  virtual StatusCode execute (const EventContext& ctx) const override;
24  virtual StatusCode finalize() override;
25 
26 private:
27  // list folders to be read as AthenaAttributeList
28  std::vector<std::string> m_par_atrlist;
29  // list folders to be read as CondAttrListCollection*
30  std::vector<std::string> m_par_atrcollist;
31 };
32 
33 #endif // IOVDBTEST_TESTCOOLDCS_H
IOVDbTestCoolDCS::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: IOVDbTestCoolDCS.cxx:36
IOVDbTestCoolDCS::finalize
virtual StatusCode finalize() override
Definition: IOVDbTestCoolDCS.cxx:89
IOVDbTestCoolDCS
Definition: IOVDbTestCoolDCS.h:17
IOVDbTestCoolDCS::IOVDbTestCoolDCS
IOVDbTestCoolDCS(const std::string &name, ISvcLocator *pSvcLocator)
Definition: IOVDbTestCoolDCS.cxx:13
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
IOVDbTestCoolDCS::~IOVDbTestCoolDCS
virtual ~IOVDbTestCoolDCS()
Definition: IOVDbTestCoolDCS.cxx:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IOVDbTestCoolDCS::initialize
virtual StatusCode initialize() override
Definition: IOVDbTestCoolDCS.cxx:24
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IOVDbTestCoolDCS::m_par_atrcollist
std::vector< std::string > m_par_atrcollist
Definition: IOVDbTestCoolDCS.h:30
IOVDbTestCoolDCS::m_par_atrlist
std::vector< std::string > m_par_atrlist
Definition: IOVDbTestCoolDCS.h:28