ATLAS Offline Software
CondAlg1.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
4  */
13 #ifndef DATAMODELTESTDATACOMMON_CONDALG1_H
14 #define DATAMODELTESTDATACOMMON_CONDALG1_H
15 
21 
22 
23 namespace DMTest {
24 
25 
26 class CondAlg1
27  : public AthReentrantAlgorithm
28 {
29 public:
35  CondAlg1 (const std::string &name, ISvcLocator *pSvcLocator);
36 
37 
41  virtual StatusCode initialize() override;
42 
43 
47  virtual StatusCode execute (const EventContext& ctx) const override;
48 
49 
50 private:
53 };
54 
55 
56 } // namespace DMTest
57 
58 
59 #endif // not DATAMODELTESTDATACOMMON_CONDALG1_H
WriteCondHandleKey.h
DMTest::CondAlg1::m_scondKey
SG::WriteCondHandleKey< DMTest::S2 > m_scondKey
Definition: CondAlg1.h:52
DMTest::CondAlg1
Definition: CondAlg1.h:28
AthenaAttributeList.h
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
S2Cond.h
Conditions declarations for S2.
DMTest::CondAlg1::m_attrListKey
SG::ReadCondHandleKey< AthenaAttributeList > m_attrListKey
Definition: CondAlg1.h:51
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< AthenaAttributeList >
DMTest::CondAlg1::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: CondAlg1.cxx:50
SG::WriteCondHandleKey< DMTest::S2 >
DMTest::CondAlg1::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: CondAlg1.cxx:39
DMTest::CondAlg1::CondAlg1
CondAlg1(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: CondAlg1.cxx:26
DMTest
Definition: B.h:23