1 #ifndef DIGIHCAL_CASTORDATAFRAME_H 2 #define DIGIHCAL_CASTORDATAFRAME_H void setFiberIdleOffset(int offset)
void setSample(int i, const HcalQIESample &sam)
const HcalQIESample & sample(int i) const
access a sample
std::ostream & operator<<(std::ostream &, const CastorDataFrame &)
HcalCastorDetId key_type
For the sorted collection.
void setZSInfo(bool unsuppressed, bool markAndPass, uint32_t crossingMask=0)
int size() const
total number of samples in the digi
bool zsUnsuppressed() const
was ZS unsuppressed?
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...
uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
int fiberIdleOffset() const
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7...
bool zsMarkAndPass() const
was ZS MarkAndPass?
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
const HcalCastorDetId & id() const
HcalQIESample data_[MAXSAMPLES]
const HcalQIESample & operator[](int i) const
access a sample
void setPresamples(int ps)
static const int MAXSAMPLES