Functions | |
int8_t | pack8log (double x, double lmin, double lmax, uint8_t base=128) |
int8_t | pack8logCeil (double x, double lmin, double lmax, uint8_t base=128) |
int8_t | pack8logClosed (double x, double lmin, double lmax, uint8_t base=128) |
double | unpack8log (int8_t i, double lmin, double lmax, uint8_t base=128) |
double | unpack8logClosed (int8_t i, double lmin, double lmax, uint8_t base=128) |
reverse of pack8logClosed More... | |
Variables | |
constexpr int8_t | smallestNegative = -1 |
constexpr int8_t | smallestPositive = 0 |
|
inline |
Definition at line 27 of file liblogintpack.h.
References funct::abs(), newFWLiteAna::base, cmsLHEtoEOSManager::l, dqm-mbProfile::log, and alignCSCRings::r.
Referenced by pat::PackedCandidate::packVtx().
|
inline |
Definition at line 14 of file liblogintpack.h.
References funct::abs(), newFWLiteAna::base, cmsLHEtoEOSManager::l, dqm-mbProfile::log, and alignCSCRings::r.
Referenced by pat::PackedCandidate::packVtx().
|
inline |
pack a value x distributed in [-1,1], with guarantee that -1 and 1 are preserved exactly in packing and unpacking. tries to keep the best precision for x close to the endpoints, sacrifying that in the middle
Definition at line 42 of file liblogintpack.h.
References funct::abs(), newFWLiteAna::base, cmsLHEtoEOSManager::l, dqm-mbProfile::log, and alignCSCRings::r.
Referenced by pat::PackedCandidate::setPuppiWeight().
|
inline |
Definition at line 55 of file liblogintpack.h.
References funct::abs(), newFWLiteAna::base, create_public_lumi_plots::exp, cmsLHEtoEOSManager::l, and SpecificationBuilder_cfi::val().
Referenced by pat::PackedCandidate::unpackVtx().
|
inline |
reverse of pack8logClosed
Definition at line 66 of file liblogintpack.h.
References funct::abs(), newFWLiteAna::base, create_public_lumi_plots::exp, cmsLHEtoEOSManager::l, and SpecificationBuilder_cfi::val().
Referenced by pat::PackedCandidate::puppiWeight(), and pat::PackedCandidate::puppiWeightNoLep().
constexpr int8_t logintpack::smallestNegative = -1 |
Definition at line 11 of file liblogintpack.h.
constexpr int8_t logintpack::smallestPositive = 0 |
Definition at line 8 of file liblogintpack.h.