ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
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
"
18
#include "
CaloConditions/ToolConstants.h
"
19
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
20
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
21
#include "
StoreGate/ReadCondHandleKey.h
"
22
#include "
StoreGate/WriteCondHandleKey.h
"
23
#include "GaudiKernel/ToolHandle.h"
24
25
40
class
ToolConstantsCondAlg
41
:
public
AthCondAlgorithm
42
{
43
public
:
45
using
AthCondAlgorithm::AthCondAlgorithm;
46
47
49
virtual
StatusCode
initialize
()
override
;
50
51
53
StatusCode
execute
(
const
EventContext& ctx)
const override
;
54
55
private
:
56
ToolHandle<Blob2ToolConstants>
m_blobTool
57
{
this
,
"BlobTool"
,
"Blob2ToolConstants"
,
"Tool to convert from COOL inline ata."
};
58
59
SG::ReadCondHandleKey<CondAttrListCollection>
m_coolFolderKey
60
{
this
,
"COOLFolderKey"
,
""
,
"Name of COOL folder"
};
61
62
StringProperty
m_detStoreKey
63
{
this
,
"DetStoreKey"
,
""
,
"Key in DetectorStore of ToolConstants object."
};
64
65
SG::WriteCondHandleKey<CaloRec::ToolConstants>
m_toolConstantsKey
66
{
this
,
"ToolConstantsKey"
,
""
,
"SG key of output ToolConstants object"
};
67
};
68
69
70
#endif
// not CALOREC_TOOLCONSTANTSCONDALG_H
AthCondAlgorithm.h
Base class for conditions algorithms.
Blob2ToolConstants.h
An AlgTool to convert btw ToolConstants and coral::AttributeList.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
ReadCondHandleKey.h
ToolConstants.h
Container for the tool constants managed by ToolWithConstants.
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ToolConstantsCondAlg
Convert from COOL inline data to ToolConstants.
Definition
ToolConstantsCondAlg.h:42
ToolConstantsCondAlg::execute
StatusCode execute(const EventContext &ctx) const override
Gaudi execute method.
Definition
ToolConstantsCondAlg.cxx:43
ToolConstantsCondAlg::m_toolConstantsKey
SG::WriteCondHandleKey< CaloRec::ToolConstants > m_toolConstantsKey
Definition
ToolConstantsCondAlg.h:66
ToolConstantsCondAlg::m_blobTool
ToolHandle< Blob2ToolConstants > m_blobTool
Definition
ToolConstantsCondAlg.h:57
ToolConstantsCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition
ToolConstantsCondAlg.cxx:18
ToolConstantsCondAlg::m_coolFolderKey
SG::ReadCondHandleKey< CondAttrListCollection > m_coolFolderKey
Definition
ToolConstantsCondAlg.h:60
ToolConstantsCondAlg::m_detStoreKey
StringProperty m_detStoreKey
Definition
ToolConstantsCondAlg.h:63
Generated on
for ATLAS Offline Software by
1.17.0