ATLAS Offline Software
Loading...
Searching...
No Matches
TrRelationLookUp.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_TRRELATIONLOOKUP_H
6#define MDTCALIBDATA_TRRELATIONLOOKUP_H
7
10
11#include <vector>
12
13namespace MuonCalib {
15 public:
16 TrRelationLookUp(const IRtRelation& rtRelation);
17 virtual std::string name() const override final;
18 virtual std::optional<double> driftTime(const double r) const override final;
19 virtual std::optional<double> driftTimePrime(const double r) const override final;
20 virtual std::optional<double> driftTime2Prime(const double r) const override final;
21 virtual double minRadius() const override final;
22 virtual double maxRadius() const override final;
23 virtual unsigned nDoF() const override final;
24 private:
25 std::vector<double> m_times{};
26 std::vector<double> m_radii{};
27 double m_minRadius{};
28 double m_maxRadius{};
29 double getTFromR(const double radius, const IRtRelation& rtRelation) const;
30 };
31}
32
33#endif
generic interface for a rt-relation
Definition IRtRelation.h:19
ITrRelation(const ParVec &parameters)
Constructor taking the input r-t relation & the vector of parameters.
Definition ITrRelation.h:20
std::vector< double > m_radii
virtual std::optional< double > driftTime(const double r) const override final
Interface method for fetching the drift-time from the radius Returns a nullopt if the time is out of ...
virtual std::optional< double > driftTimePrime(const double r) const override final
virtual std::string name() const override final
double getTFromR(const double radius, const IRtRelation &rtRelation) const
virtual std::optional< double > driftTime2Prime(const double r) const override final
std::vector< double > m_times
virtual double minRadius() const override final
Returns the minimum drift-radius.
virtual unsigned nDoF() const override final
Returns the number of degrees of freedom of the tr relation.
virtual double maxRadius() const override final
Returns the maximum drift-radius.
TrRelationLookUp(const IRtRelation &rtRelation)
int r
Definition globals.cxx:22
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.