ATLAS Offline Software
Loading...
Searching...
No Matches
CondAlgX.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_CONDALGX_H
6#define ATHEXHIVE_CONDEX_CONDALGX_H
7
11
14
16#include "GaudiKernel/ICondSvc.h"
17
18class CondAlgX : public AthCondAlgorithm {
19
20public:
21 using AthCondAlgorithm::AthCondAlgorithm;
22
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute(const EventContext& ctx) const override;
25
26private:
27
28 SG::ReadHandleKey<xAOD::EventInfo> m_evt {this,"EvtInfo", "EventInfo", "EventInfo name"};
29
30 SG::WriteCondHandleKey<CondDataObj> m_wchk {this, "Key_CH", "X2", "cond handle key"};
31
32 Gaudi::Property<std::string> m_dbKey {this, "Key_DB", "X2", "explicit dbKey for cond handle"};
33
34 ServiceHandle<IASCIICondDbSvc> m_cds{this, "ASCIICondDbSvc", "ASCIICondDbSvc", "Handle to the ASCII CondDb service"};
35};
36
37#endif
Base class for conditions algorithms.
Property holding a SG store/key/clid from which a ReadHandle is made.
Base class for conditions algorithms.
ServiceHandle< IASCIICondDbSvc > m_cds
Definition CondAlgX.h:34
Gaudi::Property< std::string > m_dbKey
Definition CondAlgX.h:32
virtual StatusCode execute(const EventContext &ctx) const override
Definition CondAlgX.cxx:31
SG::WriteCondHandleKey< CondDataObj > m_wchk
Definition CondAlgX.h:30
virtual StatusCode initialize() override
Definition CondAlgX.cxx:18
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition CondAlgX.h:28
Property holding a SG store/key/clid from which a ReadHandle is made.