ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace 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 };
29
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
MdtTubeCalibContainer(const Muon::IMuonIdHelperSvc *idHelperSvc, const Identifier &moduleID)
nMl = number of multilayres, nLayers = number of layers in multilayer (3 or 4); nTubes = number of tu...
const Muon::IMuonIdHelperSvc * idHelperSvc() const
std::vector< SingleTubeFullInfo > m_info
const std::string & name() const
return the name of this class
const std::string & implementation() const
return the name of the implementation filling this class
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...
bool setFullInfo(const Identifier &tubeId, SingleTubeFullInfo &&val)
set the calibration constants of a single tube
const SingleTubeFullInfo * getFullInfo(const Identifier &tubeId) const
return calibration constants of a single tube
void setImplementation(const std::string &impl)
set the name of the implementation used to fill this class
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
float t0Err
error on t0 from the fit to the tdc spectrum
float slopeErr
error on the slope of the tdc spectrum near t0
float chi2Tdc
chisquared of the fit to the tdc spectrum
float noise
noise level from the fit to the tdc spectrum
float tMaxErr
error on tmax from the fit to the tdc spectrum
float noiseErr
error on noise from the fit to the tdc spectrum