1 #ifndef DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H
2 #define DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H
72 #endif // DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H
int adc(sample_type sample)
get the ADC sample (12 bits)
DetId detid() const
Get the detector id.
void setSample(edm::DataFrame::size_type isample, int adc, int tdc, bool soi=false)
set the sample contents
static const int FLAG_WORDS
Sample(const edm::DataFrame &frame, edm::DataFrame::size_type i)
static const int OFFSET_CAPID
edm::DataFrame::size_type i_
static const int MASK_CAPID
static const int HEADER_WORDS
static const int MASK_ADC
static const int MASK_FLAVOR
void setFlags(uint16_t v)
set the flag word
uint16_t flags() const
get the flag word
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const int WORDS_PER_SAMPLE
static const int MASK_LINKERROR
was there a link error?
static const int MASK_CAPIDERROR
was there a capid rotation error?
static const int MASK_TDC
Sample operator[](edm::DataFrame::size_type i) const
get the sample
data_type & operator[](size_type i)
const edm::DataFrame & frame_
static const int OFFSET_FLAVOR
get the flavor of the frame
bool wasMarkAndPass() const
was this a mark-and-pass ZS event?
static const int OFFSET_TDC
QIE11DataFrame(const edm::DataFrameContainer &c, edm::DataFrame::size_type i)
static const int MASK_SOI
int samples() const
total number of samples in the digi
QIE11DataFrame(edm::DataFrame df)