#include <BasicRtRelation.h>
Default rt-relation class in the TRT: a 3rd degree polynomial
Definition at line 25 of file BasicRtRelation.h.
◆ Status
enumerates status
Enumerator |
---|
Undefined | |
Calibrated | |
Definition at line 30 of file RtRelation.h.
◆ BasicRtRelation() [1/4]
TRTCond::BasicRtRelation::BasicRtRelation |
( |
| ) |
|
|
inline |
◆ BasicRtRelation() [2/4]
◆ BasicRtRelation() [3/4]
◆ BasicRtRelation() [4/4]
◆ ~BasicRtRelation()
virtual TRTCond::BasicRtRelation::~BasicRtRelation |
( |
| ) |
|
|
inlinevirtual |
◆ cal()
const float* TRTCond::BasicRtRelation::cal |
( |
| ) |
const |
|
inline |
◆ clone()
virtual RtRelation* TRTCond::BasicRtRelation::clone |
( |
| ) |
const |
|
inlinevirtual |
◆ drdt()
float TRTCond::BasicRtRelation::drdt |
( |
float |
driftime | ) |
const |
|
virtual |
◆ drifttime()
float TRTCond::BasicRtRelation::drifttime |
( |
float |
radius | ) |
const |
|
virtual |
drifttime for given radius
Implements TRTCond::RtRelation.
Definition at line 34 of file BasicRtRelation.cxx.
36 const double precision = 0.0001 ;
39 const unsigned char maxtries = 10 ;
40 unsigned char ntries = 0 ;
41 while ( fabs(
residual) > precision) {
42 if (
drdt(
t) == 0. )
t += 0.;
45 if(++ntries>maxtries) {
◆ footprint()
virtual size_t TRTCond::BasicRtRelation::footprint |
( |
| ) |
const |
|
inlinevirtual |
◆ isequal()
◆ operator=()
◆ operator==() [1/2]
equality operator
Definition at line 47 of file BasicRtRelation.h.
48 return (&rhs ==
this) || memcmp(
m_cal, rhs.m_cal, 4*
sizeof(
float) )==0 ;
◆ operator==() [2/2]
◆ radius()
float TRTCond::BasicRtRelation::radius |
( |
float |
driftime | ) |
const |
|
virtual |
◆ read()
std::istream & TRTCond::BasicRtRelation::read |
( |
std::istream & |
is | ) |
|
|
virtual |
◆ set()
void TRTCond::BasicRtRelation::set |
( |
const float * |
cal | ) |
|
|
inlineprivate |
◆ setstatus()
void TRTCond::BasicRtRelation::setstatus |
( |
int |
status | ) |
|
|
inlineprivate |
◆ status()
virtual int TRTCond::BasicRtRelation::status |
( |
| ) |
const |
|
inlinevirtual |
◆ write()
std::ostream & TRTCond::BasicRtRelation::write |
( |
std::ostream & |
os | ) |
const |
|
virtual |
◆ m_cal
float TRTCond::BasicRtRelation::m_cal[4] |
|
private |
◆ m_status
unsigned char TRTCond::BasicRtRelation::m_status |
|
private |
The documentation for this class was generated from the following files: