ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
IOVDbMetaDataTools
src
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
19
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
20
#include "
StoreGate/WriteCondHandleKey.h
"
21
#include "
PersistentDataModel/AthenaAttributeList.h
"
22
#include "GaudiKernel/ServiceHandle.h"
23
24
class
StoreGateSvc
;
25
26
class
MetaDataToCondAlg
:
public
AthCondAlgorithm
{
27
public
:
28
using
AthCondAlgorithm::AthCondAlgorithm;
29
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
32
33
private
:
35
Gaudi::Property<std::string>
m_folderName
{
this
,
"FolderName"
,
""
,
36
"Folder name to read from MetaDataStore (e.g., /Digitization/Parameters)"
};
37
39
SG::WriteCondHandleKey<AthenaAttributeList>
m_outputKey
{
this
,
"OutputKey"
,
""
,
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
AthCondAlgorithm.h
Base class for conditions algorithms.
AthenaAttributeList.h
An AttributeList represents a logical row of attributes in a metadata table.
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
MetaDataToCondAlg
Definition
MetaDataToCondAlg.h:26
MetaDataToCondAlg::m_metaDataStore
ServiceHandle< StoreGateSvc > m_metaDataStore
Handle to MetaDataStore.
Definition
MetaDataToCondAlg.h:43
MetaDataToCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MetaDataToCondAlg.cxx:37
MetaDataToCondAlg::m_outputKey
SG::WriteCondHandleKey< AthenaAttributeList > m_outputKey
Output condition key.
Definition
MetaDataToCondAlg.h:39
MetaDataToCondAlg::initialize
virtual StatusCode initialize() override
Definition
MetaDataToCondAlg.cxx:18
MetaDataToCondAlg::m_folderName
Gaudi::Property< std::string > m_folderName
Folder name to read from MetaDataStore.
Definition
MetaDataToCondAlg.h:35
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
Generated on
for ATLAS Offline Software by
1.17.0