HGCal Test Beam
03a93d6239a951948e06fb3ef8dae4cbdebfad30
|
#include <SKIROC2DataFrame.h>
Classes | |
class | Sample |
Public Member Functions | |
SKIROC2DataFrame () | |
SKIROC2DataFrame (edm::DataFrame const &df) | |
void | copyContent (const SKIROC2DataFrame &src) |
HGCalTBDetId | detid () const |
Get the detector id. More... | |
edm::DataFrame::id_type | id () const |
edm::DataFrame::size_type | size () const |
more accessors More... | |
edm::DataFrame::iterator | begin () |
iterators More... | |
edm::DataFrame::iterator | end () |
edm::DataFrame::const_iterator | begin () const |
edm::DataFrame::const_iterator | end () const |
int | samples () const |
total number of samples in the digi More... | |
Sample | operator[] (edm::DataFrame::size_type i) const |
get the sample More... | |
void | setSample (edm::DataFrame::size_type isample, int adcLow, int adcHigh, int tdc) |
set the sample contents More... | |
uint16_t | flags () const |
get the flag word More... | |
void | setFlags (uint16_t v) |
set the flag word More... | |
Static Public Attributes | |
static const int | WORDS_PER_SAMPLE = 2 |
static const int | HEADER_WORDS = 1 |
static const int | FLAG_WORDS = 1 |
Definition at line 8 of file SKIROC2DataFrame.h.
|
inline |
Definition at line 16 of file SKIROC2DataFrame.h.
|
inline |
Definition at line 17 of file SKIROC2DataFrame.h.
|
inline |
iterators
Definition at line 69 of file SKIROC2DataFrame.h.
|
inline |
Definition at line 77 of file SKIROC2DataFrame.h.
void SKIROC2DataFrame::copyContent | ( | const SKIROC2DataFrame & | src | ) |
Definition at line 3 of file SKIROC2DataFrame.cc.
|
inline |
Get the detector id.
Definition at line 54 of file SKIROC2DataFrame.h.
Referenced by operator<<(), and HGCalTBRecHitProducer::produce().
|
inline |
Definition at line 73 of file SKIROC2DataFrame.h.
|
inline |
Definition at line 81 of file SKIROC2DataFrame.h.
|
inline |
|
inline |
Definition at line 59 of file SKIROC2DataFrame.h.
|
inline |
get the sample
Definition at line 92 of file SKIROC2DataFrame.h.
References HEADER_WORDS, and WORDS_PER_SAMPLE.
|
inline |
total number of samples in the digi
Definition at line 87 of file SKIROC2DataFrame.h.
References FLAG_WORDS, HEADER_WORDS, size(), and WORDS_PER_SAMPLE.
Referenced by operator<<(), and HGCalTBRecHitProducer::produce().
void SKIROC2DataFrame::setFlags | ( | uint16_t | v | ) |
set the flag word
void SKIROC2DataFrame::setSample | ( | edm::DataFrame::size_type | isample, |
int | adcLow, | ||
int | adcHigh, | ||
int | tdc | ||
) |
set the sample contents
Definition at line 7 of file SKIROC2DataFrame.cc.
References SKIROC2DataFrame::Sample::ADCHIGH_SHIFT, SKIROC2DataFrame::Sample::ADCLOW_SHIFT, HEADER_WORDS, SKIROC2DataFrame::Sample::TDC_SHIFT, and WORDS_PER_SAMPLE.
|
inline |
more accessors
Definition at line 64 of file SKIROC2DataFrame.h.
|
static |
Definition at line 14 of file SKIROC2DataFrame.h.
Referenced by samples().
|
static |
Definition at line 13 of file SKIROC2DataFrame.h.
Referenced by operator[](), samples(), and setSample().
|
static |
Definition at line 12 of file SKIROC2DataFrame.h.
Referenced by operator[](), samples(), and setSample().