ATLAS Offline Software
IMuonCalibConditionsSource.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MuonCalib_IMuonCalibConditionsSource
6 #define MuonCalib_IMuonCalibConditionsSource
7 
8 // Gaudi
9 #include "GaudiKernel/AlgTool.h"
10 
11 namespace MuonCalib {
12 
13  class CoolInserter;
14 
15  static const InterfaceID IID_IMuonCalibConditionsSource("MuonCalib::IMuonCalibConditionsSource", 1, 0);
16 
17  class IMuonCalibConditionsSource : virtual public IAlgTool {
18  public:
20  inline virtual ~IMuonCalibConditionsSource() {}
22  static const InterfaceID& interfaceID() { return IID_IMuonCalibConditionsSource; }
24  inline bool InstertCalibration(CoolInserter* inserter, bool store_t0, bool store_rt) {
25  m_inserter = inserter;
26  return insert_calibration(store_t0, store_rt);
27  }
28  inline virtual void SetIOV(int& /*start*/, int& /*end*/) const {}
29 
30  protected:
32  virtual bool insert_calibration(bool store_t0, bool store_rt) = 0;
33  };
34 
35 } // namespace MuonCalib
36 
37 #endif
MuonCalib::IMuonCalibConditionsSource::InstertCalibration
bool InstertCalibration(CoolInserter *inserter, bool store_t0, bool store_rt)
insert calibration
Definition: IMuonCalibConditionsSource.h:24
MuonCalib::CoolInserter
Definition: CoolInserter.h:32
MuonCalib::IMuonCalibConditionsSource::m_inserter
CoolInserter * m_inserter
Definition: IMuonCalibConditionsSource.h:31
MuonCalib::IMuonCalibConditionsSource::interfaceID
static const InterfaceID & interfaceID()
interface method
Definition: IMuonCalibConditionsSource.h:22
MuonCalib::IMuonCalibConditionsSource::SetIOV
virtual void SetIOV(int &, int &) const
Definition: IMuonCalibConditionsSource.h:28
MuonCalib::IMuonCalibConditionsSource::insert_calibration
virtual bool insert_calibration(bool store_t0, bool store_rt)=0
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::IMuonCalibConditionsSource
Definition: IMuonCalibConditionsSource.h:17
MuonCalib::IMuonCalibConditionsSource::~IMuonCalibConditionsSource
virtual ~IMuonCalibConditionsSource()
destructor
Definition: IMuonCalibConditionsSource.h:20