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