ATLAS Offline Software
|
#include <TrRelation.h>
Public Member Functions | |
TrRelation (const IRtRelation &input_rt) | |
< Constructor. More... | |
TrRelation (const std::vector< double > &r_values, const std::vector< double > &t_values) | |
double | tFromR (const double r, bool &out_of_bound_flag) const |
< Get t(r). out_of_bound_flag is set to true if r is out of bounds. More... | |
double | rFromT (const double t, bool &out_of_bound_flag) const |
Static Private Member Functions | |
static double | getTFromR (const double r, const IRtRelation &input_rt) |
Private Attributes | |
std::vector< double > | m_r |
std::vector< double > | m_t |
Definition at line 39 of file TrRelation.h.
TrRelation::TrRelation | ( | const IRtRelation & | input_rt | ) |
< Constructor.
The user has to provide the input r-t relationship to be inverted. Constructor. The user has to provide (r, t) pairs stored in the vectors r_values and t_values. The r and t values must be in increasing order.
Definition at line 20 of file TrRelation.cxx.
TrRelation::TrRelation | ( | const std::vector< double > & | r_values, |
const std::vector< double > & | t_values | ||
) |
Definition at line 45 of file TrRelation.cxx.
|
staticprivate |
Definition at line 128 of file TrRelation.cxx.
double TrRelation::rFromT | ( | const double | t, |
bool & | out_of_bound_flag | ||
) | const |
Definition at line 92 of file TrRelation.cxx.
double TrRelation::tFromR | ( | const double | r, |
bool & | out_of_bound_flag | ||
) | const |
< Get t(r). out_of_bound_flag is set to true if r is out of bounds.
Get r(t). out_of_bound_flag is set to true if t is out of bounds.
Definition at line 56 of file TrRelation.cxx.
|
private |
Definition at line 58 of file TrRelation.h.
|
private |
Definition at line 59 of file TrRelation.h.