ATLAS Offline Software
ITrRelation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MDTCALIBDATA_ITrRelation_H
6 #define MDTCALIBDATA_ITrRelation_H
7 
8 // MuonCalib //
11 
12 namespace MuonCalib{
13  class ITrRelation: public CalibFunc {
14  public:
17  ITrRelation(const IRtRelationPtr& rtRelation, const ParVec& parameters):
18  CalibFunc{parameters}, m_rt{rtRelation}{}
20  virtual ~ITrRelation() = default;
23  virtual std::optional<double> driftTime(const double r)const =0;
24  /*** @brief Interface method for fetching the first derivative of the drift-time from the
25  * radius. Returns a nullopt if the time is out of the boundaries */
26  virtual std::optional<double> driftTimePrime(const double r) const =0;
27  /*** @brief Interface method for fetching the second derivative of the drift-time w.r.rt. the drift radius
28  * Returns a nullopt if the parsed time is ouf of the boundaries */
29  virtual std::optional<double> driftTime2Prime(const double r) const = 0;
31  virtual double minRadius() const = 0;
33  virtual double maxRadius() const = 0;
34  private:
36 
37  };
38 }
39 
40 
41 #endif
beamspotman.r
def r
Definition: beamspotman.py:676
GeoModel::TransientConstSharedPtr< IRtRelation >
MuonCalib::ITrRelation::driftTimePrime
virtual std::optional< double > driftTimePrime(const double r) const =0
MuonCalib::ITrRelation::driftTime
virtual std::optional< double > driftTime(const double r) const =0
Interface method for fetching the drift-time from the radius Returns a nullopt if the time is out of ...
MuonCalib::ITrRelation::m_rt
IRtRelationPtr m_rt
Definition: ITrRelation.h:35
MuonCalib::ITrRelation::~ITrRelation
virtual ~ITrRelation()=default
Desctructor.
MuonCalib::ITrRelation::maxRadius
virtual double maxRadius() const =0
Returns the maximum drift-radius.
MuonCalib::ITrRelation::minRadius
virtual double minRadius() const =0
Returns the minimum drift-radius.
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::CalibFunc::ParVec
std::vector< double > ParVec
Definition: CalibFunc.h:35
MuonCalib::ITrRelation::ITrRelation
ITrRelation(const IRtRelationPtr &rtRelation, const ParVec &parameters)
Constructor taking the input r-t relation & the vector of parameters.
Definition: ITrRelation.h:17
MuonCalib::CalibFunc::parameters
const ParVec & parameters() const
Definition: CalibFunc.h:40
TransientConstSharedPtr.h
IRtRelation.h
MuonCalib::ITrRelation::driftTime2Prime
virtual std::optional< double > driftTime2Prime(const double r) const =0
MuonCalib::CalibFunc
generic interface for a calibration function.
Definition: CalibFunc.h:33
MuonCalib::ITrRelation
Definition: ITrRelation.h:13