ATLAS Offline Software
MdtTubeFullInfoContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONFULLINFO_MDTTUBECALIBCONTAINER_H
6 #define MUONFULLINFO_MDTTUBECALIBCONTAINER_H
7 
8 #include <vector>
9 
11 
12 namespace MuonCalib {
13 
16  public:
18  int statistics{0};
19  float chi2Tdc{0.f};
20  float t0Err{0.f};
21  float tMax{0.f};
22  float tMaxErr{0.f};
23  float noise{0.f};
24  float noiseErr{0.f};
25  float slope{0.f};
26  float slopeErr{0.f};
27  SingleTubeFullInfo() = default;
28  };
31  const Identifier& moduleID);
32 
34  const SingleTubeFullInfo* getFullInfo(const Identifier& tubeId) const;
35 
37  bool setFullInfo(const Identifier& tubeId, SingleTubeFullInfo&& val);
38 
40  void setImplementation(const std::string& impl);
41 
43  const std::string& name() const;
44 
46  const std::string& implementation() const;
47  private:
48  std::vector<SingleTubeFullInfo> m_info;
49  std::string m_name{"MdtTubeFullInfoContainer"};
50  std::string m_implementation{"implementation"};
51 
52  };
53 
54 } // namespace MuonCalib
55 
56 #endif
MuonCalib::MdtTubeFullInfoContainer::m_implementation
std::string m_implementation
Definition: MdtTubeFullInfoContainer.h:50
MuonCalib::MdtTubeFullInfoContainer::name
const std::string & name() const
return the name of this class
Definition: MdtTubeFullInfoContainer.cxx:23
MuonCalib::MdtTubeFullInfoContainer::MdtTubeFullInfoContainer
MdtTubeFullInfoContainer(const Muon::IMuonIdHelperSvc *idHelperSvc, const Identifier &moduleID)
nMl = number of multilayres, nLayers = number of layers in multilayer (3 or 4); nTubes = number of tu...
Definition: MdtTubeFullInfoContainer.cxx:8
MdtTubeCalibContainer.h
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo
Definition: MdtTubeFullInfoContainer.h:17
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::statistics
int statistics
number of hits
Definition: MdtTubeFullInfoContainer.h:18
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::slopeErr
float slopeErr
error on the slope of the tdc spectrum near t0
Definition: MdtTubeFullInfoContainer.h:26
MuonCalib::MdtTubeFullInfoContainer
Holds single-tube full calibration information of one chamber.
Definition: MdtTubeFullInfoContainer.h:15
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::tMaxErr
float tMaxErr
error on tmax from the fit to the tdc spectrum
Definition: MdtTubeFullInfoContainer.h:22
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::noise
float noise
noise level from the fit to the tdc spectrum
Definition: MdtTubeFullInfoContainer.h:23
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::noiseErr
float noiseErr
error on noise from the fit to the tdc spectrum
Definition: MdtTubeFullInfoContainer.h:24
MuonCalib::MdtTubeFullInfoContainer::getFullInfo
const SingleTubeFullInfo * getFullInfo(const Identifier &tubeId) const
return calibration constants of a single tube
Definition: MdtTubeFullInfoContainer.cxx:29
MuonCalib::MdtTubeFullInfoContainer::m_name
std::string m_name
Definition: MdtTubeFullInfoContainer.h:49
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::t0Err
float t0Err
error on t0 from the fit to the tdc spectrum
Definition: MdtTubeFullInfoContainer.h:20
MuonCalib::MdtTubeCalibContainer
Holds single-tube calibration constants of one chamber.
Definition: MdtTubeCalibContainer.h:16
MuonCalib::MdtTubeFullInfoContainer::implementation
const std::string & implementation() const
return the name of the implementation filling this class
Definition: MdtTubeFullInfoContainer.cxx:26
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::tMax
float tMax
tmax from the fit to the tdc spectrum
Definition: MdtTubeFullInfoContainer.h:21
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::slope
float slope
slope of the tdc spectrum near t0
Definition: MdtTubeFullInfoContainer.h:25
MuonCalib::MdtTubeFullInfoContainer::m_info
std::vector< SingleTubeFullInfo > m_info
Definition: MdtTubeFullInfoContainer.h:48
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::chi2Tdc
float chi2Tdc
chisquared of the fit to the tdc spectrum
Definition: MdtTubeFullInfoContainer.h:19
MuonCalib::MdtTubeFullInfoContainer::setImplementation
void setImplementation(const std::string &impl)
set the name of the implementation used to fill this class
Definition: MdtTubeFullInfoContainer.cxx:20
impl
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:46
MuonCalib::MdtTubeFullInfoContainer::setFullInfo
bool setFullInfo(const Identifier &tubeId, SingleTubeFullInfo &&val)
set the calibration constants of a single tube
Definition: MdtTubeFullInfoContainer.cxx:14
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
MuonCalib::MdtTubeFullInfoContainer::SingleTubeFullInfo::SingleTubeFullInfo
SingleTubeFullInfo()=default
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
MuonCalib::MdtTubeCalibContainer::idHelperSvc
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Definition: MdtTubeCalibContainer.cxx:52
Identifier
Definition: IdentifierFieldParser.cxx:14