ATLAS Offline Software
T0Refinement.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MuonCalib_T0RefinementH
5 #define MuonCalib_T0RefinementH
6 
7 //::::::::::::::::::::::::
8 //:: CLASS T0Refinement ::
9 //::::::::::::::::::::::::
10 
19 
20 //::::::::::::::::::
21 //:: HEADER FILES ::
22 //::::::::::::::::::
23 
24 // MuonCalib //
25 #include <memory>
26 
31 namespace MuonCalib {
32 
33  class T0Refinement {
34  public:
35  // Constructors //
36  T0Refinement();
38 
39  ~T0Refinement() = default;
41 
42  // Methods //
43  double getDeltaT0(MuonCalibSegment *segment, const IRtRelation *rt, bool overwrite, double &error, bool &failed,
44  bool curved = false);
60  inline void SetDeltaT0(const double dt0) { m_delta_t0 = dt0; }
62  void setTimeOut(const double time_out);
65  void setRoadWidth(const double road_width);
67 
68  private:
69  // QuasianalyticLineReconstruction *m_qfitter; // straight-line fitter
70  std::unique_ptr<StraightPatRec> m_qfitter; // straight-line fitter
71  std::unique_ptr<CurvedPatRec> m_cfitter; // curved-segment fitter
72  double m_delta_t0;
73  double m_time_out; // time-out for pattern finding
74  };
75 
76 } // namespace MuonCalib
77 
78 #endif
MuonCalibSegment.h
CurvedPatRec.h
CalibDbCompareT0.dt0
dt0
Definition: CalibDbCompareT0.py:76
MuonCalib::MuonCalibSegment
Definition: MuonCalibSegment.h:39
StraightPatRec.h
MuonCalib::T0Refinement::m_delta_t0
double m_delta_t0
Definition: T0Refinement.h:72
MuonCalib::T0Refinement::setTimeOut
void setTimeOut(const double time_out)
set the time-out for pattern finding to time_out (s)
Definition: T0Refinement.cxx:299
MuonCalib::T0Refinement::getDeltaT0
double getDeltaT0(MuonCalibSegment *segment, const IRtRelation *rt, bool overwrite, double &error, bool &failed, bool curved=false)
determine a t0 correction for the given segment; the algorithm choses the correction such that the ch...
Definition: T0Refinement.cxx:29
MuonCalib::T0Refinement::~T0Refinement
~T0Refinement()=default
Destructor.
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::T0Refinement
Definition: T0Refinement.h:33
MuonCalib::T0Refinement::m_cfitter
std::unique_ptr< CurvedPatRec > m_cfitter
Definition: T0Refinement.h:71
IRtRelation.h
MuonCalib::T0Refinement::setRoadWidth
void setRoadWidth(const double road_width)
set the road with to road_width (mm) (default: 1mm)
Definition: T0Refinement.cxx:303
MuonCalib::T0Refinement::SetDeltaT0
void SetDeltaT0(const double dt0)
Set the scan point distance.
Definition: T0Refinement.h:60
error
Definition: IImpactPoint3dEstimator.h:70
MuonCalib::T0Refinement::T0Refinement
T0Refinement()
Default constructor.
Definition: T0Refinement.cxx:16
MuonCalib::IRtRelation
generic interface for a rt-relation
Definition: IRtRelation.h:15
MuonCalib::T0Refinement::m_qfitter
std::unique_ptr< StraightPatRec > m_qfitter
Definition: T0Refinement.h:70
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition: PadTriggerAdapter.cxx:5
MuonCalib::T0Refinement::m_time_out
double m_time_out
Definition: T0Refinement.h:73