5#ifndef MuonCalib_RtCalibrationIntegrationH
6#define MuonCalib_RtCalibrationIntegrationH
41 double upper_extrapolation_radius,
bool add_tmax_difference) :
43 init(close_hits, r_max, lower_extrapolation_radius, upper_extrapolation_radius, add_tmax_difference);
85 std::shared_ptr<IRtRelation>
m_rt;
93 void init(
bool close_hits,
double r_max,
double lower_extrapolation_radius,
double higher_extrapolation_radius,
94 bool add_tmax_difference);
Interface to pass calibration output during calibration.
IMdtCalibration(const std::string &name)
constructor, string used to identify the instance
virtual std::string name() const
returns name (region) of instance
std::shared_ptr< IMdtCalibrationOutput > MdtCalibOutputPtr
std::vector< std::shared_ptr< MuonCalibSegment > > MuonSegVec
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
unsigned int m_nb_hits_used
std::shared_ptr< IRtRelation > m_rt
unsigned int m_nb_segments_used
MdtCalibOutputPtr analyseSegments(const MuonSegVec &seg) override
determine r(t)
double m_lower_extrapolation_radius
sets the lower radius to perform the
void setInput(const IMdtCalibrationOutput *rt_input) override
the method is empty as no initial r-t relationship is required by the algorithm
double m_upper_extrapolation_radius
parabolic extrapolation.
bool analyse()
perform the integration method
RtCalibrationIntegration(const std::string &name, bool close_hits, double r_max, double lower_extrapolation_radius, double upper_extrapolation_radius, bool add_tmax_difference)
Constructor.
RtCalibrationIntegration(const std::string &name)
Default constructor.
bool m_add_tmax_difference
bool converged() const
returns true, if the integration method has been performed
std::shared_ptr< RtCalibrationOutput > m_output
std::vector< std::pair< double, bool > > m_t_drift
bool handleSegment(MuonCalibSegment &seg)
analyse the segment "seg"
unsigned int number_of_hits_used() const
get the number of hits used in the r-t determination
void init(bool close_hits, double r_max, double lower_extrapolation_radius, double higher_extrapolation_radius, bool add_tmax_difference)
MdtCalibOutputPtr getResults() const override
returns the final r-t relationship
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.