#include <EcalTBTDCRawInfo.h>
Public Member Functions | |
unsigned int | channels () const |
EcalTBTDCRawInfo () | |
EcalTBTDCRawInfo (unsigned int channels) | |
const EcalTBTDCSample & | operator[] (unsigned int i) const |
const EcalTBTDCSample & | sample (unsigned int i) const |
void | setSample (unsigned int i, const EcalTBTDCSample &sam) |
void | setSize (unsigned int size) |
Set methods. | |
unsigned int | size () const |
Get methods. | |
Private Attributes | |
std::vector< EcalTBTDCSample > | data_ |
Definition at line 13 of file EcalTBTDCRawInfo.h.
EcalTBTDCRawInfo::EcalTBTDCRawInfo | ( | ) | [inline] |
Definition at line 15 of file EcalTBTDCRawInfo.h.
: data_(0) {};
EcalTBTDCRawInfo::EcalTBTDCRawInfo | ( | unsigned int | channels | ) | [inline] |
unsigned int EcalTBTDCRawInfo::channels | ( | ) | const [inline] |
const EcalTBTDCSample& EcalTBTDCRawInfo::operator[] | ( | unsigned int | i | ) | const [inline] |
const EcalTBTDCSample& EcalTBTDCRawInfo::sample | ( | unsigned int | i | ) | const [inline] |
Definition at line 26 of file EcalTBTDCRawInfo.h.
Referenced by operator<<().
void EcalTBTDCRawInfo::setSample | ( | unsigned int | i, |
const EcalTBTDCSample & | sam | ||
) | [inline] |
Definition at line 35 of file EcalTBTDCRawInfo.h.
Referenced by EcalTBDigiProducer::fillTBTDCRawInfo(), and CamacTBDataFormatter::interpretRawData().
void EcalTBTDCRawInfo::setSize | ( | unsigned int | size | ) | [inline] |
Set methods.
Definition at line 29 of file EcalTBTDCRawInfo.h.
References data_.
Referenced by CamacTBDataFormatter::interpretRawData().
unsigned int EcalTBTDCRawInfo::size | ( | void | ) | const [inline] |
Get methods.
Definition at line 23 of file EcalTBTDCRawInfo.h.
References data_.
Referenced by operator<<().
{ return data_.size(); }
std::vector<EcalTBTDCSample> EcalTBTDCRawInfo::data_ [private] |
Definition at line 41 of file EcalTBTDCRawInfo.h.
Referenced by channels(), EcalTBTDCRawInfo(), operator[](), sample(), setSample(), setSize(), and size().