|
ATLAS Offline Software
|
Go to the documentation of this file.
22 double rmin0 =
m_cal[0];
25 double t_const =
m_cal[3];
26 double r_squared = (4*
rho*
rho*
sin(
v*(time-t_const)/(2*
rho))-rmin0*rmin0)/(1-0.25*rmin0*rmin0);
28 if (r_squared>0)
r = sqrt(r_squared);
35 double rmin0 =
m_cal[0];
38 double t_const =
m_cal[3];
42 0.5/sqrt((4*
rho*
rho*
sin(
v*(time-t_const)/(2*
rho))*
sin(
v*(time-t_const)/(2*
rho))-rmin0*rmin0)/(1-0.25*rmin0*rmin0))*
43 4*
rho*
rho/(1-0.25*rmin0*rmin0)*
44 2*
sin(
v*(time-t_const)/(2*
rho))*
54 double rmin0 =
m_cal[0];
57 double t_const =
m_cal[3];
58 double t = t_const + 2*
rho/
v*asin(sqrt(rmin0*rmin0*(1-0.25*
r*
r)+
r*
r)/(2*
rho));
67 return rhsp && (*rhsp)==*this ;
DinesRtRelation & operator=(const DinesRtRelation &rhs)
assignment operator
float m_cal[4]
calibration constants
virtual float drdt(float driftime) const
driftvelocity for given drifttime
virtual std::ostream & write(std::ostream &) const
write to ascii ostream
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
virtual float drifttime(float radius) const
drifttime for given radius
virtual float radius(float driftime) const
radius for given drifttime