1 #ifndef DIGIHCAL_HCALUpgradeDATAFRAME_H
2 #define DIGIHCAL_HCALUpgradeDATAFRAME_H
35 bool valid(
int iSample=0)
const {
return dv_[iSample] ; }
36 uint16_t
adc(
int iSample=0)
const {
return adc_[iSample] ; }
37 uint16_t
tdc(
int iSample=0)
const {
return tdc_[iSample] ; }
42 void setZSInfo(
bool unsuppressed,
bool markAndPass, uint32_t crossingMask=0);
bool zsMarkAndPass() const
int startingCapId() const
const HcalElectronicsId & elecId() const
bool zsUnsuppressed() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const int MAXSAMPLES
uint32_t zsCrossingMask() const
void setPresamples(int presamples)
int capId(int iSample=0) const
bool valid(int iSample=0) const
uint16_t tdc(int iSample=0) const
void setStartingCapId(int capId)
HcalDetId key_type
For the sorted collection.
void setZSInfo(bool unsuppressed, bool markAndPass, uint32_t crossingMask=0)
uint16_t tdc_[MAXSAMPLES]
void setSample(int iSample, uint16_t adc, uint16_t tdc, bool dv)
uint16_t adc_[MAXSAMPLES]
void setReadoutIds(const HcalElectronicsId &eid)
const HcalDetId & id() const
HcalUpgradeQIESample operator[](int iSample) const
HcalElectronicsId electronicsId_
uint16_t adc(int iSample=0) const
Readout chain identification for Hcal.
edm::SortedCollection< HcalUpgradeDataFrame > HcalUpgradeDigiCollection