1 #include "HGCal/DataFormats/interface/SKIROC2DataFrame.h"
17 s << ski.
detid() << std::endl;
18 for (
int i = 0; i < ski.
samples(); i++)
19 s <<
" " << ski[i].adcLow()
20 <<
" " << ski[i].adcHigh()
21 <<
" " << ski[i].tdc()
22 <<
" " << ski.
samples() << std::endl;
void copyContent(const SKIROC2DataFrame &src)
HGCalTBDetId detid() const
Get the detector id.
void setSample(edm::DataFrame::size_type isample, int adcLow, int adcHigh, int tdc)
set the sample contents
std::ostream & operator<<(std::ostream &, const HGCalTBDetId &id)
static const int HEADER_WORDS
static const int WORDS_PER_SAMPLE
int samples() const
total number of samples in the digi