1 #ifndef DIGIHGCAL_HGCSAMPLE_H 2 #define DIGIHGCAL_HGCSAMPLE_H 78 static uint32_t
convertV9ToV10(uint32_t valueOldForm,
bool toaFiredOldForm) {
91 uint32_t valueNewForm(valueOldForm);
HGCSample(const HGCSample &o)
void print(std::ostream &out=std::cout)
HGCSample(uint32_t value)
void setThreshold(bool thr)
setters
void setToA(uint16_t toa)
void setGain(uint16_t gain)
void setToAValid(bool toaFired)
void setWord(uint16_t word, HGCSampleMasks mask, HGCSampleShifts shift)
wrapper to reset words at a given position
HGCSample & operator=(const HGCSample &)=default
static unsigned int const shift
static uint32_t convertV9ToV10(uint32_t valueOldForm, bool toaFiredOldForm)
Data Model Evolution.
void setData(uint16_t data)
uint32_t raw() const
getters
uint32_t getWord(HGCSampleMasks mask, HGCSampleShifts shift) const