ATLAS Offline Software
CaloClusterCorrDBWriter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOREC_CALOCLUSTERCORRDBWRITER
6 #define CALOREC_CALOCLUSTERCORRDBWRITER
7 
24 #include "GaudiKernel/ToolHandle.h"
26 #include "Blob2ToolConstants.h"
27 #include <vector>
28 #include <string>
29 
30 
32 {
33 
34  public:
36 
37  virtual StatusCode initialize() override;
38  virtual StatusCode execute(const EventContext& ctx) const override;
39  virtual StatusCode finalize() override;
40 
41  private:
43  ToolHandleArray<IToolWithConstants> m_tools
44  { this, "ClusterCorrectionTools", {}, "Cluster correction tools" };
45 
49  StringProperty m_key
50  { this, "key", "" };
51 
52  StringProperty m_inlineFolder
53  { this, "COOLInlineFolder", "" };
54 
55  ToolHandle<Blob2ToolConstants> m_blobTool
56  { this, "Blob2ToolConstants", "Blob2ToolConstants" };
57 };
58 
59 #endif // CALOREC_CALOCLUSTERCORRDBWRITER
CaloClusterCorrDBWriter::m_inlineFolder
StringProperty m_inlineFolder
Definition: CaloClusterCorrDBWriter.h:53
CaloClusterCorrDBWriter::m_tools
ToolHandleArray< IToolWithConstants > m_tools
The list of tools.
Definition: CaloClusterCorrDBWriter.h:44
CaloClusterCorrDBWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CaloClusterCorrDBWriter.cxx:93
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloClusterCorrDBWriter::m_blobTool
ToolHandle< Blob2ToolConstants > m_blobTool
Definition: CaloClusterCorrDBWriter.h:56
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloClusterCorrDBWriter::m_key
StringProperty m_key
Key for the DetectorStore (jobOptions) The ToolConstants will be recorded with this key.
Definition: CaloClusterCorrDBWriter.h:50
Blob2ToolConstants.h
An AlgTool to convert btw ToolConstants and coral::AttributeList.
CaloClusterCorrDBWriter::initialize
virtual StatusCode initialize() override
Definition: CaloClusterCorrDBWriter.cxx:23
AthReentrantAlgorithm.h
IToolWithConstants.h
Abstact interface for ToolWithConstants.
CaloClusterCorrDBWriter
Definition: CaloClusterCorrDBWriter.h:32
CaloClusterCorrDBWriter::finalize
virtual StatusCode finalize() override
Definition: CaloClusterCorrDBWriter.cxx:35