ATLAS Offline Software
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  */
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 AthReentrantAlgorithm
42 {
43 public:
46 
47 
49  virtual StatusCode initialize() override;
50 
51 
53  StatusCode execute (const EventContext& ctx) const override;
54  virtual bool isReEntrant() const override final { return false; }
55 
56 private:
57  ToolHandle<Blob2ToolConstants> m_blobTool
58  { this, "BlobTool", "Blob2ToolConstants", "Tool to convert from COOL inline ata." };
59 
61  { this, "COOLFolderKey", "", "Name of COOL folder" };
62 
63  StringProperty m_detStoreKey
64  { this, "DetStoreKey", "", "Key in DetectorStore of ToolConstants object." };
65 
67  { this, "ToolConstantsKey", "", "SG key of output ToolConstants object" };
68 };
69 
70 
71 #endif // not CALOREC_TOOLCONSTANTSCONDALG_H
ToolConstantsCondAlg::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition: ToolConstantsCondAlg.cxx:18
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
ToolConstants.h
Container for the tool constants managed by ToolWithConstants.
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ToolConstantsCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: ToolConstantsCondAlg.h:54
ToolConstantsCondAlg::m_coolFolderKey
SG::ReadCondHandleKey< CondAttrListCollection > m_coolFolderKey
Definition: ToolConstantsCondAlg.h:61
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Blob2ToolConstants.h
An AlgTool to convert btw ToolConstants and coral::AttributeList.
ReadCondHandleKey.h
AthReentrantAlgorithm.h
ToolConstantsCondAlg::m_detStoreKey
StringProperty m_detStoreKey
Definition: ToolConstantsCondAlg.h:64
SG::ReadCondHandleKey< CondAttrListCollection >
ToolConstantsCondAlg::execute
StatusCode execute(const EventContext &ctx) const override
Gaudi execute method.
Definition: ToolConstantsCondAlg.cxx:43
SG::WriteCondHandleKey< CaloRec::ToolConstants >
ToolConstantsCondAlg::m_toolConstantsKey
SG::WriteCondHandleKey< CaloRec::ToolConstants > m_toolConstantsKey
Definition: ToolConstantsCondAlg.h:67
ToolConstantsCondAlg
Convert from COOL inline data to ToolConstants.
Definition: ToolConstantsCondAlg.h:42
ToolConstantsCondAlg::m_blobTool
ToolHandle< Blob2ToolConstants > m_blobTool
Definition: ToolConstantsCondAlg.h:58