BOSS 7.0.1
BESIII Offline Software System
|
#include <ComPackFlatFloat.h>
Public Member Functions | |
ComPackFlatFloat (const double, const double, size_t) | |
virtual | ~ComPackFlatFloat () |
StatusCode | pack (const double, d_ULong &) const |
StatusCode | unpack (const d_ULong, double &) const |
void | testMe (size_t, double &) |
ComPackFlatFloat (const double, const double, size_t) | |
virtual | ~ComPackFlatFloat () |
StatusCode | pack (const double, d_ULong &) const |
StatusCode | unpack (const d_ULong, double &) const |
void | testMe (size_t, double &) |
Public Member Functions inherited from ComPackBase< double > | |
ComPackBase () | |
ComPackBase (double minval, double maxval, d_ULong bitrange) | |
ComPackBase (const ComPackBase &) | |
ComPackBase () | |
ComPackBase (double minval, double maxval, d_ULong bitrange) | |
ComPackBase (const ComPackBase &) | |
virtual | ~ComPackBase () |
virtual | ~ComPackBase () |
virtual StatusCode | pack (const double, d_ULong &) const=0 |
virtual StatusCode | pack (const double, d_ULong &) const=0 |
virtual StatusCode | unpack (const d_ULong, double &) const=0 |
virtual StatusCode | unpack (const d_ULong, double &) const=0 |
virtual const double & | getMinVal () const |
virtual const double & | getMinVal () const |
virtual const double & | getMaxVal () const |
virtual const double & | getMaxVal () const |
virtual const double & | getRange () const |
virtual const double & | getRange () const |
d_ULong | bitRange () const |
d_ULong | bitRange () const |
d_ULong | bitMask () const |
d_ULong | bitMask () const |
ComPackBase & | operator= (const ComPackBase &) |
ComPackBase & | operator= (const ComPackBase &) |
Additional Inherited Members | |
Public Types inherited from ComPackBaseBase | |
enum | StatusCode { TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP } |
enum | StatusCode { TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP } |
Protected Types inherited from ComPackBase< double > | |
enum | |
enum | |
Protected Attributes inherited from ComPackBase< double > | |
double | _minVal |
double | _maxVal |
double | _valRange |
d_ULong | _bitRange |
d_ULong | _bitMask |
Definition at line 36 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/ComPackFlatFloat.h.
ComPackFlatFloat::ComPackFlatFloat | ( | const double | val_one, |
const double | val_two, | ||
size_t | bits | ||
) |
Definition at line 59 of file ComPackFlatFloat.cxx.
|
virtual |
Definition at line 96 of file ComPackFlatFloat.cxx.
ComPackFlatFloat::ComPackFlatFloat | ( | const double | , |
const double | , | ||
size_t | |||
) |
|
virtual |
ComPackBase< double >::StatusCode ComPackFlatFloat::pack | ( | const double | theval, |
d_ULong & | packedval | ||
) | const |
Definition at line 99 of file ComPackFlatFloat.cxx.
Referenced by testMe().
StatusCode ComPackFlatFloat::pack | ( | const double | , |
d_ULong & | |||
) | const |
void ComPackFlatFloat::testMe | ( | size_t | numsteps, |
double & | toterror | ||
) |
Definition at line 122 of file ComPackFlatFloat.cxx.
void ComPackFlatFloat::testMe | ( | size_t | , |
double & | |||
) |
|
virtual |
Implements ComPackBase< double >.
Definition at line 115 of file ComPackFlatFloat.cxx.
Referenced by testMe().
|
virtual |
Implements ComPackBase< double >.