Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CondWriterExtAlg.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 DATAMODELTESTDATACOMMON_CONDWRITEREXTALG_H
5 #define DATAMODELTESTDATACOMMON_CONDWRITEREXTALG_H
6 
8 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "AthenaKernel/IIOVSvc.h"
11 
12 #include <string>
13 #include <map>
14 
15 namespace DMTest {
16 
22 public:
23  CondWriterExtAlg(const std::string& name, ISvcLocator* pSvcLocator);
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute() override;
27 
28 private:
29  Gaudi::Property<std::string> m_attrListKey{this, "AttrListKey", "/DMTest/TestAttrList"};
30  Gaudi::Property<std::map<int,std::string>> m_cmd{this, "Commands", {}, "Commands to be executed on LB change"};
31 
33 };
34 
35 } // namespace DMTest
36 
37 #endif // DATAMODELTESTDATACOMMON_CONDWRITEREXTALG_H
DMTest::CondWriterExtAlg
Alg to write conditions data via an external script.
Definition: CondWriterExtAlg.h:21
DMTest::CondWriterExtAlg::m_cmd
Gaudi::Property< std::map< int, std::string > > m_cmd
Definition: CondWriterExtAlg.h:30
DMTest::CondWriterExtAlg::m_iovSvc
ServiceHandle< IIOVSvc > m_iovSvc
Definition: CondWriterExtAlg.h:32
DMTest::CondWriterExtAlg::initialize
virtual StatusCode initialize() override
Definition: CondWriterExtAlg.cxx:19
AthAlgorithm.h
DMTest::CondWriterExtAlg::m_attrListKey
Gaudi::Property< std::string > m_attrListKey
Definition: CondWriterExtAlg.h:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::CondWriterExtAlg::CondWriterExtAlg
CondWriterExtAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CondWriterExtAlg.cxx:13
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
IIOVSvc.h
DMTest::CondWriterExtAlg::execute
virtual StatusCode execute() override
Definition: CondWriterExtAlg.cxx:26
DMTest
Definition: B.h:23
ServiceHandle< IIOVSvc >