ATLAS Offline Software
TileCondProxyCool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILECONDITIONS_TILECONDPROXYCOOL_H
6 #define TILECONDITIONS_TILECONDPROXYCOOL_H
7 
8 // Tile includes
11 
12 // Athena includes
16 
17 #include <string>
18 
24 template<typename T>
25 class TileCondProxyCool: public AthAlgTool, virtual public ITileCondProxy<T> {
26  public:
27  TileCondProxyCool(const std::string& type, const std::string& name, const IInterface* parent);
28  virtual ~TileCondProxyCool() {};
29 
30  virtual StatusCode initialize() override;
31  virtual StatusCode finalize() override;
32 
38  virtual StatusCode fillCalibData(TileCalibData<T>& calibData, EventIDRange& eventRange) const override;
39 
40  private:
41 
42  SG::ReadCondHandleKey<CondAttrListCollection> m_sourceKey{this, "Source", "", "The COOL folder name"};
43 
44 };
45 
46 #endif
TileCondProxyCool::finalize
virtual StatusCode finalize() override
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
TileCondProxyCool::~TileCondProxyCool
virtual ~TileCondProxyCool()
Definition: TileCondProxyCool.h:28
TileCalibData
Templated condition object to keep TileCalibDrawers.
Definition: TileCalibData.h:26
TileCondProxyCool
The tool to get Tile conditions data from DB.
Definition: TileCondProxyCool.h:25
TileCondProxyCool::TileCondProxyCool
TileCondProxyCool(const std::string &type, const std::string &name, const IInterface *parent)
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ITileCondProxy.h
TileCondProxyCool::m_sourceKey
SG::ReadCondHandleKey< CondAttrListCollection > m_sourceKey
Definition: TileCondProxyCool.h:42
TileCondProxyCool::initialize
virtual StatusCode initialize() override
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::ReadCondHandleKey< CondAttrListCollection >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ITileCondProxy
An abstract interface to get Tile conditions data from source (file, DB)
Definition: ITileCondProxy.h:19
Exception.h
AthAlgTool
Definition: AthAlgTool.h:26
TileCondProxyCool::fillCalibData
virtual StatusCode fillCalibData(TileCalibData< T > &calibData, EventIDRange &eventRange) const override
Fill TileCalibData with Tile conditions data from DB.