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;
21  virtual std::string typeName() const override final { return "ITrRelation"; }
24  virtual std::optional<double> driftTime(const double r)const =0;
25  /*** @brief Interface method for fetching the first derivative of the drift-time from the
26  * radius. Returns a nullopt if the time is out of the boundaries */
27  virtual std::optional<double> driftTimePrime(const double r) const =0;
28  /*** @brief Interface method for fetching the second derivative of the drift-time w.r.rt. the drift radius
29  * Returns a nullopt if the parsed time is ouf of the boundaries */
30  virtual std::optional<double> driftTime2Prime(const double r) const = 0;
32  virtual double minRadius() const = 0;
34  virtual double maxRadius() const = 0;
35  private:
37 
38  };
39 }
40 
41 
42 #endif
beamspotman.r
def r
Definition: beamspotman.py:676
GeoModel::TransientConstSharedPtr< IRtRelation >
MuonCalib::ITrRelation::typeName
virtual std::string typeName() const override final
Definition: ITrRelation.h:21
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:36
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
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