ATLAS Offline Software
T0CalibrationOutput.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef T0CALIBRATIONOUTPUT_H
6 #define T0CALIBRATIONOUTPUT_H
7 
8 #include <map>
9 
12 
13 namespace MuonCalib {
14  class MdtTubeFitContainer;
20  public:
23  T0CalibrationOutput(const std::map<NtupleStationId, MdtTubeFitContainer*>& t0Map) :
24  IMdtCalibrationOutput("T0CalibrationOutput"), m_tubeConstants(NULL), m_tubeConstants_map(t0Map) {}
25 
27  const MdtTubeFitContainer* t0s() const { return m_tubeConstants; }
28  std::map<NtupleStationId, MdtTubeFitContainer*>& GetMap() { return m_tubeConstants_map; }
29  const std::map<NtupleStationId, MdtTubeFitContainer*>& GetMap() const { return m_tubeConstants_map; }
30 
31  private:
32  // pointer to a MdtTubeFitContainer instance
34  std::map<NtupleStationId, MdtTubeFitContainer*> m_tubeConstants_map;
35  };
36 } // namespace MuonCalib
37 #endif
MuonCalib::T0CalibrationOutput::GetMap
const std::map< NtupleStationId, MdtTubeFitContainer * > & GetMap() const
Definition: T0CalibrationOutput.h:29
MuonCalib::T0CalibrationOutput::m_tubeConstants_map
std::map< NtupleStationId, MdtTubeFitContainer * > m_tubeConstants_map
Definition: T0CalibrationOutput.h:34
NtupleStationId.h
MuonCalib::T0CalibrationOutput
Definition: T0CalibrationOutput.h:19
IMdtCalibrationOutput.h
MuonCalib::T0CalibrationOutput::m_tubeConstants
MdtTubeFitContainer * m_tubeConstants
Definition: T0CalibrationOutput.h:33
MuonCalib::T0CalibrationOutput::T0CalibrationOutput
T0CalibrationOutput(MdtTubeFitContainer *t0Vec)
constructor (from a pointer to an MdtTubeFitContainer)
Definition: T0CalibrationOutput.h:22
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::T0CalibrationOutput::GetMap
std::map< NtupleStationId, MdtTubeFitContainer * > & GetMap()
Definition: T0CalibrationOutput.h:28
MuonCalib::T0CalibrationOutput::t0s
const MdtTubeFitContainer * t0s() const
Definition: T0CalibrationOutput.h:27
MuonCalib::IMdtCalibrationOutput
Definition: IMdtCalibrationOutput.h:28
MuonCalib::MdtTubeFitContainer
Holds single-tube full calibration information of one chamber.
Definition: MdtTubeFitContainer.h:16
MuonCalib::T0CalibrationOutput::T0CalibrationOutput
T0CalibrationOutput(const std::map< NtupleStationId, MdtTubeFitContainer * > &t0Map)
Definition: T0CalibrationOutput.h:23