43 return (
float)(
pow(2.,
exponent) * significand * LSB) / (25. * 1000);
56 if (25 * jitterErr >= 5) {
62 float quantityInLSB = (1000 * 25 * jitterErr) / LSB;
63 int log2OfQuantity = (
int)(log2(quantityInLSB));
64 int exponentTmp = log2OfQuantity - 4;
68 uint8_t significand = (
int)(lround(quantityInLSB /
pow(2.,
exponent)));
bool checkFlag(Flags flag) const
uint8_t jitterErrorBits() const
bool isJitterErrorValid() const
float jitterError() const
bool isJitterValid() const
virtual ~HGCUncalibratedRecHit()
void setFlagBit(Flags flag)
void setJitterError(float jitterErr)
Power< A, B >::type pow(const A &a, const B &b)