ATLAS Offline Software
MdtCorFuncSet.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 namespace MuonCalib {
8 
9  MdtCorFuncSet::MdtCorFuncSet(std::unique_ptr<IMdtSlewCorFunc>&& s,
10  std::unique_ptr<IMdtBFieldCorFunc>&& bf,
11  std::unique_ptr<IMdtTempCorFunc>&& t,
12  std::unique_ptr<IMdtBackgroundCorFunc>&& bg) :
13  m_slewing(std::move(s)),
14  m_bField(std::move(bf)),
15  m_temperature(std::move(t)),
16  m_background(std::move(bg)) {}
17 
18 
19  void MdtCorFuncSet::setSlewing(std::unique_ptr<IMdtSlewCorFunc>&& slew) {
20  m_slewing = std::move(slew);
21  }
22  void MdtCorFuncSet::setBField(std::unique_ptr<IMdtBFieldCorFunc>&& bField) {
23  m_bField = std::move(bField);
24  }
25  void MdtCorFuncSet::setTemperature(std::unique_ptr<IMdtTempCorFunc>&& temperature) {
26  m_temperature = std::move(temperature);
27  }
28  void MdtCorFuncSet::background(std::unique_ptr<IMdtBackgroundCorFunc>&& background) {
29  m_background = std::move(background);
30  }
31 } // namespace MuonCalib
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
StandaloneBunchgroupHandler.bg
bg
Definition: StandaloneBunchgroupHandler.py:243
MuonCalib::MdtCorFuncSet::setBField
void setBField(std::unique_ptr< IMdtBFieldCorFunc > &&bField)
Definition: MdtCorFuncSet.cxx:22
MuonCalib::MdtCorFuncSet::setTemperature
void setTemperature(std::unique_ptr< IMdtTempCorFunc > &&temperature)
Definition: MdtCorFuncSet.cxx:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalib::MdtCorFuncSet::m_background
std::unique_ptr< IMdtBackgroundCorFunc > m_background
Definition: MdtCorFuncSet.h:43
MuonCalib::MdtCorFuncSet::MdtCorFuncSet
MdtCorFuncSet()=default
MuonCalib::MdtCorFuncSet::m_slewing
std::unique_ptr< IMdtSlewCorFunc > m_slewing
Definition: MdtCorFuncSet.h:40
MuonCalib::MdtCorFuncSet::m_temperature
std::unique_ptr< IMdtTempCorFunc > m_temperature
Definition: MdtCorFuncSet.h:42
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MdtCorFuncSet.h
MuonCalib::MdtCorFuncSet::temperature
const IMdtTempCorFunc * temperature() const
Definition: MdtCorFuncSet.h:30
MuonCalib::MdtCorFuncSet::m_bField
std::unique_ptr< IMdtBFieldCorFunc > m_bField
Definition: MdtCorFuncSet.h:41
MuonCalib::MdtCorFuncSet::background
const IMdtBackgroundCorFunc * background() const
Definition: MdtCorFuncSet.h:31
MuonCalib::MdtCorFuncSet::setSlewing
void setSlewing(std::unique_ptr< IMdtSlewCorFunc > &&slew)
Definition: MdtCorFuncSet.cxx:19
MuonCalib::MdtCorFuncSet::bField
const IMdtBFieldCorFunc * bField() const
Definition: MdtCorFuncSet.h:29