1 #ifndef DIGIHCAL_HODATAFRAME_H 2 #define DIGIHCAL_HODATAFRAME_H
HcalElectronicsId electronicsId_
int fiberIdleOffset() const
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7...
bool zsUnsuppressed() const
was ZS unsuppressed?
const HcalQIESample & sample(int i) const
access a sample
const HcalElectronicsId & elecId() const
const HcalDetId & id() const
void setFiberIdleOffset(int offset)
static const int MAXSAMPLES
bool zsMarkAndPass() const
was ZS MarkAndPass?
void setSample(int i, const HcalQIESample &sam)
int size() const
total number of samples in the digi
std::ostream & operator<<(std::ostream &, const HODataFrame &)
constexpr size_t nSamples
HcalQIESample data_[MAXSAMPLES]
bool validate(int firstSample=0, int nSamples=100) const
validate appropriate DV and ER bits as well as capid rotation for the specified samples (default is a...
void setZSInfo(bool unsuppressed, bool markAndPass, uint32_t crossingMask=0)
uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
void setReadoutIds(const HcalElectronicsId &eid)
Readout chain identification for Hcal.
const HcalQIESample & operator[](int i) const
access a sample
void setPresamples(int ps)
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
HcalDetId key_type
For the sorted collection.