ATLAS Offline Software
Loading...
Searching...
No Matches
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
31namespace MuonCalib {
32
34 public:
35 // Constructors //
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
generic interface for a rt-relation
Definition IRtRelation.h:19
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
std::unique_ptr< StraightPatRec > m_qfitter
~T0Refinement()=default
Destructor.
void setRoadWidth(const double road_width)
set the road with to road_width (mm) (default: 1mm)
T0Refinement()
Default constructor.
void SetDeltaT0(const double dt0)
Set the scan point distance.
std::unique_ptr< CurvedPatRec > m_cfitter
void setTimeOut(const double time_out)
set the time-out for pattern finding to time_out (s)
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...
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.