ATLAS Offline Software
MdtRelativeTubeT0.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MuonCalib_MdtRelativeTubeT0_h
6 #define MuonCalib_MdtRelativeTubeT0_h
7 
8 #include <map>
9 
10 namespace MuonCalib {
11 
12  class MdtCalibHitBase;
13  class MuonFixedId;
14 
16  public:
18 
19  MdtRelativeTubeT0() = default;
20  ~MdtRelativeTubeT0() = default;
21 
22  void AddHit(const MdtCalibHitBase &hit);
23 
24  double GetRelativeOffset(const MuonFixedId &id, TubeGroup grp);
25 
26  private:
27  std::map<MuonFixedId, double> m_tube_t0;
28 
29  std::map<TubeGroup, std::map<MuonFixedId, double> > m_relative_offset;
30 
31  void calculate_relative_t0s(const TubeGroup &grp);
32  };
33 
34 } // namespace MuonCalib
35 
36 #endif
MuonCalib::MdtRelativeTubeT0
Definition: MdtRelativeTubeT0.h:15
MuonCalib::MdtRelativeTubeT0::CHAMBER
@ CHAMBER
Definition: MdtRelativeTubeT0.h:17
MuonCalib::MdtRelativeTubeT0::MULTILAYER
@ MULTILAYER
Definition: MdtRelativeTubeT0.h:17
MuonCalib::MdtRelativeTubeT0::calculate_relative_t0s
void calculate_relative_t0s(const TubeGroup &grp)
Definition: MdtRelativeTubeT0.cxx:37
MuonCalib::MdtRelativeTubeT0::MdtRelativeTubeT0
MdtRelativeTubeT0()=default
MuonCalib::MdtRelativeTubeT0::UNKNOWN
@ UNKNOWN
Definition: MdtRelativeTubeT0.h:17
MuonCalib::MdtRelativeTubeT0::AddHit
void AddHit(const MdtCalibHitBase &hit)
Definition: MdtRelativeTubeT0.cxx:17
MuonCalib::MdtRelativeTubeT0::m_relative_offset
std::map< TubeGroup, std::map< MuonFixedId, double > > m_relative_offset
Definition: MdtRelativeTubeT0.h:29
MuonCalib::MdtRelativeTubeT0::m_tube_t0
std::map< MuonFixedId, double > m_tube_t0
Definition: MdtRelativeTubeT0.h:27
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
MuonCalib::MdtRelativeTubeT0::TubeGroup
TubeGroup
Definition: MdtRelativeTubeT0.h:17
MuonCalib::MdtRelativeTubeT0::MEZZ_CARD
@ MEZZ_CARD
Definition: MdtRelativeTubeT0.h:17
MuonCalib::MdtRelativeTubeT0::~MdtRelativeTubeT0
~MdtRelativeTubeT0()=default
MuonCalib::MdtCalibHitBase
Definition: MdtCalibHitBase.h:38
MuonCalib::MdtRelativeTubeT0::LAYER
@ LAYER
Definition: MdtRelativeTubeT0.h:17
MuonCalib::MdtRelativeTubeT0::GetRelativeOffset
double GetRelativeOffset(const MuonFixedId &id, TubeGroup grp)
Definition: MdtRelativeTubeT0.cxx:25