ATLAS Offline Software
Loading...
Searching...
No Matches
MetaDataToCondAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IOVDBMETADATATOOLS_METADATATOCONDALG_H
6#define IOVDBMETADATATOOLS_METADATATOCONDALG_H
7
18
22#include "GaudiKernel/ServiceHandle.h"
23
24class StoreGateSvc;
25
27public:
28 using AthCondAlgorithm::AthCondAlgorithm;
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute(const EventContext& ctx) const override;
32
33private:
35 Gaudi::Property<std::string> m_folderName{this, "FolderName", "",
36 "Folder name to read from MetaDataStore (e.g., /Digitization/Parameters)"};
37
40 "Output condition key (defaults to FolderName if not set)"};
41
43 ServiceHandle<StoreGateSvc> m_metaDataStore{"StoreGateSvc/MetaDataStore", name()};
44};
45
46#endif // IOVDBMETADATATOOLS_METADATATOCONDALG_H
Base class for conditions algorithms.
An AttributeList represents a logical row of attributes in a metadata table.
Base class for conditions algorithms.
ServiceHandle< StoreGateSvc > m_metaDataStore
Handle to MetaDataStore.
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< AthenaAttributeList > m_outputKey
Output condition key.
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_folderName
Folder name to read from MetaDataStore.
The Athena Transient Store API.