ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MdtCalib
MdtCalibData
MdtCalibData
RtLegendre.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONCALIB_RTLEGENDRE_H
5
#define MUONCALIB_RTLEGENDRE_H
6
7
#include <cstdlib>
8
#include <iostream>
9
#include <vector>
10
#include <span>
11
12
// MDT calibration //
13
#include "
MdtCalibData/IRtRelation.h
"
14
15
namespace
MuonCalib
{
29
class
RtLegendre
:
public
IRtRelation
{
30
31
public
:
32
// Constructors
42
43
explicit
RtLegendre
(
const
ParVec
&
vec
) ;
44
// Methods //
45
// methods required by the base classes //
46
virtual
std::string
name
()
const
override
final
;
47
48
51
virtual
double
radius
(
double
t)
const
override
final
;
53
virtual
double
driftVelocity
(
double
t)
const
override
final
;
55
virtual
double
driftAcceleration
(
double
t)
const
override
final
;
56
// get-methods specific to the RtLegendre class //
58
virtual
double
tLower
()
const
override
final
;
60
virtual
double
tUpper
()
const
override
final
;
61
62
virtual
double
tBinWidth
()
const
override
final
;
64
unsigned
int
numberOfRtParameters
()
const
;
65
67
std::vector<double>
rtParameters
()
const
;
68
69
virtual
unsigned
nDoF
()
const
override final;
70
71
};
72
}
// namespace MuonCalib
73
74
#endif
vec
std::vector< size_t > vec
Definition
CombinationsGeneratorTest.cxx:9
IRtRelation.h
MuonCalib::CalibFunc::ParVec
std::vector< double > ParVec
Definition
CalibFunc.h:35
MuonCalib::IRtRelation
generic interface for a rt-relation
Definition
IRtRelation.h:19
MuonCalib::RtLegendre::rtParameters
std::vector< double > rtParameters() const
Definition
RtLegendre.cxx:66
MuonCalib::RtLegendre::driftVelocity
virtual double driftVelocity(double t) const override final
get the drift acceleration
Definition
RtLegendre.cxx:48
MuonCalib::RtLegendre::RtLegendre
RtLegendre(const ParVec &vec)
initialization constructor,
Definition
RtLegendre.cxx:10
MuonCalib::RtLegendre::radius
virtual double radius(double t) const override final
get the drift velocity
Definition
RtLegendre.cxx:24
MuonCalib::RtLegendre::tLower
virtual double tLower() const override final
< get the lower drift-time bound
Definition
RtLegendre.cxx:62
MuonCalib::RtLegendre::nDoF
virtual unsigned nDoF() const override final
Returns the number of degrees of freedom of the relation function.
Definition
RtLegendre.cxx:64
MuonCalib::RtLegendre::tUpper
virtual double tUpper() const override final
Returns the upper time covered by the r-t.
Definition
RtLegendre.cxx:63
MuonCalib::RtLegendre::name
virtual std::string name() const override final
get the class name
Definition
RtLegendre.cxx:21
MuonCalib::RtLegendre::numberOfRtParameters
unsigned int numberOfRtParameters() const
get the coefficients of the r(t) polynomial
MuonCalib::RtLegendre::driftAcceleration
virtual double driftAcceleration(double t) const override final
Returns the acceleration of the r-t relation.
Definition
RtLegendre.cxx:52
MuonCalib::RtLegendre::tBinWidth
virtual double tBinWidth() const override final
get the number of parameters used to describe the r(t) relationship
Definition
RtLegendre.cxx:22
const
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition
CscCalcPed.cxx:21
Generated on
for ATLAS Offline Software by
1.17.0