ATLAS Offline Software
MultilayerRtDifference.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 MdtCalibRt_MultilayerRtDifference_h
6 #define MdtCalibRt_MultilayerRtDifference_h
7 
8 class TF1;
9 class TDirectory;
10 
11 #include <cstddef>
12 
14 #include "vector"
15 
16 namespace MuonCalib {
17 
18  class MuonCalibSegment;
19  class IRtRelation;
20  class MdtCalibHitBase;
21  class MultilayerRtDifference_Histograms;
22 
24  public:
25  MultilayerRtDifference(int min_hits, TDirectory *control_histogram_dir = NULL);
27  virtual ~MultilayerRtDifference();
29 
30  void Fill(const MdtCalibHitBase &hit, const IRtRelation &rt_relation);
31 
32  bool DoFit(IRtRelation *rt_relation, const IMdtCalibration::MuonSegVec &seg);
33 
34  inline const TF1 *GetFunction() const { return m_polfun; }
35 
36  private:
37  TF1 *m_polfun;
40  };
41 
42 } // namespace MuonCalib
43 
44 #endif
MuonCalib::MultilayerRtDifference::~MultilayerRtDifference
virtual ~MultilayerRtDifference()
Definition: MultilayerRtDifference.cxx:170
MuonCalib::MultilayerRtDifference::m_min_number_of_hits
int m_min_number_of_hits
Definition: MultilayerRtDifference.h:39
MuonCalib::MultilayerRtDifference::DoFit
bool DoFit(IRtRelation *rt_relation, const IMdtCalibration::MuonSegVec &seg)
Definition: MultilayerRtDifference.cxx:183
MuonCalib::MultilayerRtDifference::operator=
MultilayerRtDifference & operator=(const MultilayerRtDifference &MLRTD)
Definition: MultilayerRtDifference.cxx:159
MuonCalib::MultilayerRtDifference
Definition: MultilayerRtDifference.h:23
MuonCalib::MultilayerRtDifference::MultilayerRtDifference
MultilayerRtDifference(int min_hits, TDirectory *control_histogram_dir=NULL)
Definition: MultilayerRtDifference.cxx:147
MuonCalib::MultilayerRtDifference::GetFunction
const TF1 * GetFunction() const
Definition: MultilayerRtDifference.h:34
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MultilayerRtDifference::Fill
void Fill(const MdtCalibHitBase &hit, const IRtRelation &rt_relation)
Definition: MultilayerRtDifference.cxx:175
MuonCalib::MultilayerRtDifference_Histograms
Definition: MultilayerRtDifference.cxx:37
IMdtCalibration.h
MuonCalib::MultilayerRtDifference::m_histograms
MultilayerRtDifference_Histograms * m_histograms
Definition: MultilayerRtDifference.h:38
MuonCalib::MdtCalibHitBase
Definition: MdtCalibHitBase.h:38
MuonCalib::IMdtCalibration::MuonSegVec
std::vector< std::shared_ptr< MuonCalibSegment > > MuonSegVec
Definition: IMdtCalibration.h:27
MuonCalib::MultilayerRtDifference::m_polfun
TF1 * m_polfun
Definition: MultilayerRtDifference.h:37
MuonCalib::IRtRelation
generic interface for a rt-relation
Definition: IRtRelation.h:15