1 #ifndef DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H
2 #define DATAFORMATS_HCALDIGI_QIE11DATAFRAME_H
88 #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
bool zsUnsuppressed() const
other ZS functions (TODO: real implementation)
Sample(const edm::DataFrame &frame, edm::DataFrame::size_type i)
edm::DataFrame::size_type size() const
more accessors
static const int OFFSET_CAPID
QIE11DataFrame(edm::DataFrame const &df)
edm::DataFrame::const_iterator end() const
edm::DataFrame::size_type i_
static const int MASK_CAPID
void copyContent(const QIE11DataFrame &)
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
bool zsMarkAndPass() const
was this a mark-and-pass ZS event?
Sample operator[](edm::DataFrame::size_type i) const
get the sample
edm::DataFrame::const_iterator begin() const
edm::DataFrame::id_type id() const
const edm::DataFrame & frame_
static const int OFFSET_FLAVOR
get the flavor of the frame
static const int OFFSET_TDC
uint32_t zsCrossingMask() const
static const int MASK_SOI
int presamples() const
for backward compatibility
data_type const * const_iterator
edm::DataFrame::iterator begin()
iterators
edm::DataFrame::iterator end()
int samples() const
total number of samples in the digi