ATLAS Offline Software
Loading...
Searching...
No Matches
CondAlgY.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHEXHIVE_CONDEX_CONDALGY_H
6#define ATHEXHIVE_CONDEX_CONDALGY_H
7
9#include "GaudiKernel/ServiceHandle.h"
11
14
15
16class CondAlgY : public AthCondAlgorithm {
17
18public:
19 using AthCondAlgorithm::AthCondAlgorithm;
20
21 virtual StatusCode initialize() override;
22 virtual StatusCode execute(const EventContext& ctx) const override;
23
24private:
25
26 SG::WriteCondHandleKey<CondDataObjY> m_wch1 {this, "Key_CH1", "Y1", "cond handle key 1"};
27 SG::WriteCondHandleKey<CondDataObjY> m_wch2 {this, "Key_CH2", "Y2", "cond handle key 2"};
28
29 Gaudi::Property<std::string> m_dbk1 {this, "Key_DB1", "Y1", "explicit dbKey for cond handle 1"};
30 Gaudi::Property<std::string> m_dbk2 {this, "Key_DB2", "Y2", "explicit dbKey for cond handle 2"};
31
32 ServiceHandle<IASCIICondDbSvc> m_cds{this, "ASCIICondDbSvc", "ASCIICondDbSvc", "Handle to the ASCII CondDb service"};
33
34};
35
36#endif
Base class for conditions algorithms.
Base class for conditions algorithms.
SG::WriteCondHandleKey< CondDataObjY > m_wch1
Definition CondAlgY.h:26
SG::WriteCondHandleKey< CondDataObjY > m_wch2
Definition CondAlgY.h:27
virtual StatusCode initialize() override
Definition CondAlgY.cxx:10
Gaudi::Property< std::string > m_dbk2
Definition CondAlgY.h:30
ServiceHandle< IASCIICondDbSvc > m_cds
Definition CondAlgY.h:32
Gaudi::Property< std::string > m_dbk1
Definition CondAlgY.h:29
virtual StatusCode execute(const EventContext &ctx) const override
Definition CondAlgY.cxx:24