6 : amplitude_(0.), amplitudeError_(0.), pedestal_(0.), jitter_(0.), chi2_(10000.), flags_(0), aux_(0) {
8 for (
unsigned int ibx = 0; ibx < nsample; ++ibx)
13 const DetId&
id,
float ampl,
float ped,
float jit,
float chi2, uint32_t
flags, uint32_t
aux)
23 for (
unsigned int ibx = 0; ibx < nsample; ++ibx)
55 if (25 * jitterErr >= 5) {
61 float quantityInLSB = (1000 * 25 * jitterErr) / LSB;
62 int log2OfQuantity = (
int)(log2(quantityInLSB));
63 int exponentTmp = log2OfQuantity - 4;
131 int bits = (encBits < 1) ? 1 : (encBits > 254) ? 254 : encBits;
132 aux_ = (~0xFF &
aux_) | (static_cast<uint8_t>(
bits) & 0xFF);
bool checkFlag(Flags flag) const
constexpr const float encodingValue
constexpr const float nonCorrectedSlope
void setJitterError(float jitterErr)
constexpr const float clockToNS
float jitterError() const
constexpr const float encodingOffest
bool isJitterErrorValid() const
void setNonCorrectedTime(const float correctedJittter, const float nonCorrectedJitter)
float OOTamplitudes_[EcalDataFrame::MAXSAMPLES]
float nonCorrectedTime() const
uint8_t jitterErrorBits() const
bool isJitterValid() const
void setFlagBit(Flags flag)
static constexpr int MAXSAMPLES
Power< A, B >::type pow(const A &a, const B &b)