ATLAS Offline Software
Loading...
Searching...
No Matches
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
20
21
22
24#include "GaudiKernel/ToolHandle.h"
26#include "Blob2ToolConstants.h"
27#include <vector>
28#include <string>
29
30
32{
33
34 public:
35 using AthReentrantAlgorithm::AthReentrantAlgorithm;
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
An AlgTool to convert btw ToolConstants and coral::AttributeList.
Abstact interface for ToolWithConstants.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
ToolHandle< Blob2ToolConstants > m_blobTool
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
StringProperty m_key
Key for the DetectorStore (jobOptions) The ToolConstants will be recorded with this key.
ToolHandleArray< IToolWithConstants > m_tools
The list of tools.