ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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
bool InstertCalibration(CoolInserter *inserter, bool store_t0, bool store_rt)
insert calibration
static const InterfaceID & interfaceID()
interface method
virtual bool insert_calibration(bool store_t0, bool store_rt)=0
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
static const InterfaceID IID_IMuonCalibConditionsSource("MuonCalib::IMuonCalibConditionsSource", 1, 0)