ATLAS Offline Software
Loading...
Searching...
No Matches
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"
11
12#include <string>
13#include <map>
14
15namespace DMTest {
16
22public:
23 CondWriterExtAlg(const std::string& name, ISvcLocator* pSvcLocator);
24
25 virtual StatusCode initialize() override;
26 virtual StatusCode execute() override;
27
28private:
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override
CondWriterExtAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute() override
Gaudi::Property< std::string > m_attrListKey
ServiceHandle< IIOVSvc > m_iovSvc
Gaudi::Property< std::map< int, std::string > > m_cmd
Definition B.h:23