Jpp
|
Dynamic orientation calibration. More...
#include <JDynamics.hh>
Public Types | |
enum | { NUMBER_OF_POINTS = 20, NUMBER_OF_DEGREES = 1 } |
typedef JTOOLS::JElement2D < double, JGEOMETRY3D::JQuaternion3D > | element_type |
typedef JTOOLS::JPolfitFunction1D < NUMBER_OF_POINTS, NUMBER_OF_DEGREES, element_type, JTOOLS::JCollection > | function_type |
typedef function_type::collection_type::container_type | container_type |
typedef JTOOLS::JHashMap< int, JGEOMETRY3D::JQuaternion3D > | buffer_type |
typedef JTOOLS::JHashMap< int, function_type > | data_type |
typedef data_type::const_iterator | const_iterator |
typedef data_type::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
JOrientation (const JDetector &detector, const double Tmax_s) | |
Constructor. More... | |
void | load (JObjectIterator< JCOMPASS::JOrientation > &input) |
Load calibration data. More... | |
bool | empty () const |
empty More... | |
const_iterator | begin () const |
begin of calibration data More... | |
const_iterator | end () const |
end of calibration data More... | |
const_reverse_iterator | rbegin () const |
begin of reverse of calibration data More... | |
const_reverse_iterator | rend () const |
begin of reverse of calibration data More... | |
double | getTmax () const |
Get applicability period. More... | |
void | setTmax (const double Tmax_s) |
Set applicability period. More... | |
void | update (JDetector &detector, const double t1_s) |
Calibrate given detector at given time. More... | |
double | getXmin () const |
Get minimal abscissa. More... | |
double | getXmax () const |
Get maximal abscissa. More... | |
Protected Attributes | |
buffer_type | buffer |
data_type | calibration |
double | Tmax_s |
Private Attributes | |
double | t0_s |
Friends | |
std::ostream & | operator<< (std::ostream &out, const JOrientation &calibration) |
Write calibration to output stream. More... | |
Dynamic orientation calibration.
Definition at line 99 of file JDynamics.hh.
typedef JTOOLS::JElement2D<double, JGEOMETRY3D::JQuaternion3D> JDYNAMICS::JDynamics::JOrientation::element_type |
Definition at line 106 of file JDynamics.hh.
typedef JTOOLS::JPolfitFunction1D<NUMBER_OF_POINTS, NUMBER_OF_DEGREES, element_type, JTOOLS::JCollection> JDYNAMICS::JDynamics::JOrientation::function_type |
Definition at line 109 of file JDynamics.hh.
typedef function_type::collection_type::container_type JDYNAMICS::JDynamics::JOrientation::container_type |
Definition at line 110 of file JDynamics.hh.
typedef JTOOLS::JHashMap<int, JGEOMETRY3D::JQuaternion3D> JDYNAMICS::JDynamics::JOrientation::buffer_type |
Definition at line 112 of file JDynamics.hh.
Definition at line 113 of file JDynamics.hh.
Definition at line 115 of file JDynamics.hh.
typedef data_type::const_reverse_iterator JDYNAMICS::JDynamics::JOrientation::const_reverse_iterator |
Definition at line 116 of file JDynamics.hh.
anonymous enum |
Enumerator | |
---|---|
NUMBER_OF_POINTS |
number of points for interpolation |
NUMBER_OF_DEGREES |
number of degrees for interpolation |
Definition at line 101 of file JDynamics.hh.
|
inline |
Constructor.
detector | detector |
Tmax_s | applicability period of calibration [s] |
Definition at line 125 of file JDynamics.hh.
|
inline |
Load calibration data.
input | calibration data |
Definition at line 154 of file JDynamics.hh.
|
inline |
empty
Definition at line 172 of file JDynamics.hh.
|
inline |
begin of calibration data
Definition at line 173 of file JDynamics.hh.
|
inline |
end of calibration data
Definition at line 174 of file JDynamics.hh.
|
inline |
begin of reverse of calibration data
Definition at line 175 of file JDynamics.hh.
|
inline |
begin of reverse of calibration data
Definition at line 176 of file JDynamics.hh.
|
inline |
Get applicability period.
Definition at line 184 of file JDynamics.hh.
|
inline |
Set applicability period.
Tmax_s | applicability period [s] |
Definition at line 195 of file JDynamics.hh.
|
inline |
Calibrate given detector at given time.
detector | detector (I/O) |
t1_s | time [s] |
Definition at line 207 of file JDynamics.hh.
|
inline |
Get minimal abscissa.
Definition at line 254 of file JDynamics.hh.
|
inline |
Get maximal abscissa.
Definition at line 265 of file JDynamics.hh.
|
friend |
Write calibration to output stream.
out | output stream |
calibration |
Definition at line 278 of file JDynamics.hh.
|
protected |
Definition at line 289 of file JDynamics.hh.
|
protected |
Definition at line 290 of file JDynamics.hh.
|
protected |
Definition at line 291 of file JDynamics.hh.
|
private |
Definition at line 294 of file JDynamics.hh.