ATLAS Offline Software
Loading...
Searching...
No Matches
MdtTubeFitContainer.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 MUONFIT_MDTTUBECALIBCONTAINER_H
6#define MUONFIT_MDTTUBECALIBCONTAINER_H
7
8#include <vector>
9#include <array>
10
12
13namespace MuonCalib {
14
17 public:
20 int statistics{0};
22 int n_hits{0};
26 float chi2Tdc{0.f};
28 float chi2TdcEnd{0.f};
29 std::array<float, 8> par{};
30 std::array<float, 36> cov{};
31 std::array<float, 4> adc_par{};
32 std::array<float, 4> adc_err{};
33 float adc_chi2{0.f};
34 std::string group_by{"UNKNOWN"};
35 SingleTubeFit() = default;
36 };
37
40 const Identifier& moduleID);
41
43 const SingleTubeFit* getFit(const Identifier& tubeId) const;
44 SingleTubeFit* getFit(const Identifier& tubeId);
45
47 bool setFit(SingleTubeFit&& val, const Identifier& tubeId, MsgStream& log);
48
50 void setImplementation(const std::string& impl);
52 const std::string& name() const;
54 const std::string& implementation() const;
55
56 void setGroupBy(const std::string& group_by);
57
58 std::string GroupBy() const;
59 private:
60 std::vector<SingleTubeFit> m_info{};
61 std::string m_name{"MdtTubeFitContainer"};
62 std::string m_implementation{"implementation"};
63 std::string m_group_by {"UNKNOWN"};
64 };
65
66} // namespace MuonCalib
67
68#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
MdtTubeFitContainer(const Muon::IMuonIdHelperSvc *idHelperSvc, const Identifier &moduleID)
nMl = number of multilayres, nLayers = number of layers in multilayer (3 or 4); nTubes = number of tu...
void setGroupBy(const std::string &group_by)
const std::string & name() const
return the name of this class
bool setFit(SingleTubeFit &&val, const Identifier &tubeId, MsgStream &log)
set the calibration constants of a single tube
void setImplementation(const std::string &impl)
set the name of the implementation used to fill this class
std::vector< SingleTubeFit > m_info
const SingleTubeFit * getFit(const Identifier &tubeId) const
return calibration constants of a single tube
const std::string & implementation() const
return the name of the implementation filling 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.
int n_hits_above_adc_cut
number of hits above adc cut
int statistics
< number of hits used for the fit
float chi2TdcEnd
for MTT0 chi2 of trailing edge fit