ATLAS Offline Software
Loading...
Searching...
No Matches
ToolConstantsCondAlg.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
4 */
11
12
13#ifndef CALOREC_TOOLCONSTANTSCONDALG_H
14#define CALOREC_TOOLCONSTANTSCONDALG_H
15
16
17#include "Blob2ToolConstants.h"
23#include "GaudiKernel/ToolHandle.h"
24
25
41 : public AthCondAlgorithm
42{
43public:
45 using AthCondAlgorithm::AthCondAlgorithm;
46
47
49 virtual StatusCode initialize() override;
50
51
53 StatusCode execute (const EventContext& ctx) const override;
54
55private:
56 ToolHandle<Blob2ToolConstants> m_blobTool
57 { this, "BlobTool", "Blob2ToolConstants", "Tool to convert from COOL inline ata." };
58
60 { this, "COOLFolderKey", "", "Name of COOL folder" };
61
62 StringProperty m_detStoreKey
63 { this, "DetStoreKey", "", "Key in DetectorStore of ToolConstants object." };
64
66 { this, "ToolConstantsKey", "", "SG key of output ToolConstants object" };
67};
68
69
70#endif // not CALOREC_TOOLCONSTANTSCONDALG_H
Base class for conditions algorithms.
An AlgTool to convert btw ToolConstants and coral::AttributeList.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Container for the tool constants managed by ToolWithConstants.
Base class for conditions algorithms.
Convert from COOL inline data to ToolConstants.
StatusCode execute(const EventContext &ctx) const override
Gaudi execute method.
SG::WriteCondHandleKey< CaloRec::ToolConstants > m_toolConstantsKey
ToolHandle< Blob2ToolConstants > m_blobTool
virtual StatusCode initialize() override
Gaudi initialize method.
SG::ReadCondHandleKey< CondAttrListCollection > m_coolFolderKey