|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef TRTCONDITDIONSDATA_DINESRTRELATION_H
14 #define TRTCONDITDIONSDATA_DINESRTRELATION_H
48 return (&rhs ==
this) || memcmp(
m_cal, rhs.
m_cal, 4*
sizeof(
float) )==0 ;
55 virtual float radius(
float driftime )
const ;
61 virtual float drdt(
float driftime )
const ;
64 virtual size_t footprint()
const {
return sizeof(*this) ; }
70 virtual std::ostream&
write(std::ostream&)
const ;
73 virtual std::istream&
read(std::istream&) ;
virtual ~DinesRtRelation()
destructor
DinesRtRelation & operator=(const DinesRtRelation &rhs)
assignment operator
abstract base class for rt-relations
virtual int status() const
status flag of (calibrated) rtrelation
float m_cal[4]
calibration constants
void setstatus(int status)
set the status
bool operator==(const DinesRtRelation &rhs) const
equality operator
const float * cal() const
return to calibration constants
virtual float drdt(float driftime) const
driftvelocity for given drifttime
virtual size_t footprint() const
memory allocated by this rt-relation
virtual std::ostream & write(std::ostream &) const
write to ascii ostream
virtual RtRelation * clone() const
cloner
DinesRtRelation()
constructor
DinesRtRelation(const std::vector< float > &cal, Status stat=Calibrated)
constructor
void set(const float *cal)
set the calibration constants
virtual std::istream & read(std::istream &)
read from to ascii ostream
unsigned char m_status
status byte
virtual bool isequal(const RtRelation &rhs) const
equality operator
std::ostream & operator<<(std::ostream &os, const TRTCond::DinesRtRelation &rtr)
DinesRtRelation(const DinesRtRelation &rhs)
constructor
virtual float drifttime(float radius) const
drifttime for given radius
DinesRtRelation(const float *cal, Status stat=Calibrated)
constructor
virtual float radius(float driftime) const
radius for given drifttime