![]() |
ATLAS Offline Software
|
Equidistant look up table for rt-relations with the time as key. More...
#include <RtRelationLookUp.h>
Public Types | |
using | ParVec = std::vector< double > |
Public Member Functions | |
RtRelationLookUp (const ParVec &vec) | |
virtual std::string | name () const override final |
virtual double | radius (double t) const override final |
returns drift radius for a given time More... | |
virtual double | driftVelocity (double t) const override final |
returns drift velocity for a given time More... | |
virtual double | driftAcceleration (double t) const override final |
returns the acceleration for a given time More... | |
virtual double | tLower () const override final |
return rt range More... | |
virtual double | tUpper () const override final |
Returns the upper time covered by the r-t. More... | |
virtual double | tBinWidth () const override final |
Returns the step-size for the sampling. More... | |
virtual unsigned | nDoF () const override final |
Returns the number of degrees of freedom of the relation function More... | |
virtual std::string | typeName () const override final |
double | GetTmaxDiff () const |
return the difference in total dirft time between the two multilayers (ML1 - ML2) More... | |
bool | hasTmaxDiff () const |
void | SetTmaxDiff (const double d) |
set the difference in total drift time betwene the two multilayers (ML1 - ML2) More... | |
double | getReducedTime (const double t) const |
map the in the interval [tLower;tUpper] onto the interval [-1. More... | |
double | dReducedTimeDt () const |
CalibFunc (const ParVec &vec) | |
unsigned int | nPar () const |
const ParVec & | parameters () const |
double | par (unsigned int index) const |
Static Protected Attributes | |
static constexpr double | s_tBinWidth = 1.e-3 |
Private Member Functions | |
int | getBin (double t) const |
double | getRadius (int bin) const |
int | binInRtRange (double t) const |
Private Attributes | |
double | m_t_min {0.} |
double | m_bin_size {0.} |
std::optional< double > | m_tmax_diff {std::nullopt} |
ParVec | m_parameters {} |
Equidistant look up table for rt-relations with the time as key.
The first parameter should be the time corresponding to the first bin. The second parameter should be the binsize.
The r value is calculated by linear interpolation.
Definition at line 23 of file RtRelationLookUp.h.
|
inherited |
Definition at line 35 of file CalibFunc.h.
Definition at line 10 of file RtRelationLookUp.cxx.
|
inlineprivate |
Definition at line 76 of file RtRelationLookUp.cxx.
|
inlineexplicitinherited |
Definition at line 36 of file CalibFunc.h.
|
inlineinherited |
Definition at line 53 of file IRtRelation.h.
|
finaloverridevirtual |
returns the acceleration for a given time
Implements MuonCalib::IRtRelation.
Definition at line 72 of file RtRelationLookUp.cxx.
|
finaloverridevirtual |
returns drift velocity for a given time
Implements MuonCalib::IRtRelation.
Definition at line 57 of file RtRelationLookUp.cxx.
|
inlineprivate |
Definition at line 30 of file RtRelationLookUp.cxx.
|
inlineprivate |
Definition at line 47 of file RtRelationLookUp.h.
|
inlineinherited |
map the in the interval [tLower;tUpper] onto the interval [-1.
;1.] where tLower is mapped to -1. & tUpper to 1.;
Definition at line 49 of file IRtRelation.h.
|
inlineinherited |
return the difference in total dirft time between the two multilayers (ML1 - ML2)
Definition at line 40 of file IRtRelation.h.
|
inlineinherited |
Definition at line 42 of file IRtRelation.h.
|
inlinefinaloverridevirtual |
Implements MuonCalib::CalibFunc.
Definition at line 27 of file RtRelationLookUp.h.
|
finaloverridevirtual |
Returns the number of degrees of freedom of the relation function
Implements MuonCalib::IRtRelation.
Definition at line 26 of file RtRelationLookUp.cxx.
|
inlineinherited |
Definition at line 39 of file CalibFunc.h.
|
inlineinherited |
Definition at line 41 of file CalibFunc.h.
Definition at line 40 of file CalibFunc.h.
|
finaloverridevirtual |
returns drift radius for a given time
Implements MuonCalib::IRtRelation.
Definition at line 38 of file RtRelationLookUp.cxx.
|
inlineinherited |
set the difference in total drift time betwene the two multilayers (ML1 - ML2)
Definition at line 45 of file IRtRelation.h.
|
finaloverridevirtual |
Returns the step-size for the sampling.
Implements MuonCalib::IRtRelation.
Definition at line 91 of file RtRelationLookUp.cxx.
|
finaloverridevirtual |
return rt range
Implements MuonCalib::IRtRelation.
Definition at line 89 of file RtRelationLookUp.cxx.
|
finaloverridevirtual |
Returns the upper time covered by the r-t.
Implements MuonCalib::IRtRelation.
Definition at line 90 of file RtRelationLookUp.cxx.
|
inlinefinaloverridevirtualinherited |
Implements MuonCalib::CalibFunc.
Definition at line 23 of file IRtRelation.h.
|
private |
Definition at line 52 of file RtRelationLookUp.h.
|
privateinherited |
Definition at line 48 of file CalibFunc.h.
|
private |
Definition at line 51 of file RtRelationLookUp.h.
|
privateinherited |
Definition at line 58 of file IRtRelation.h.
|
staticconstexprprotectedinherited |
Definition at line 60 of file IRtRelation.h.