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