#include <TBDataFormats/EcalTBObjects/interface/EcalTBTDCRawInfo.h>
Public Member Functions | |
unsigned int | channels () const |
EcalTBTDCRawInfo (unsigned int channels) | |
EcalTBTDCRawInfo () | |
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] |
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] |
void EcalTBTDCRawInfo::setSample | ( | unsigned int | i, | |
const EcalTBTDCSample & | sam | |||
) | [inline] |
Definition at line 35 of file EcalTBTDCRawInfo.h.
References data_.
Referenced by EcalTBDigiProducer::fillTBTDCRawInfo(), and CamacTBDataFormatter::interpretRawData().
00036 { 00037 if (data_.size() < i+1 ) 00038 // data_.reserve(i); 00039 data_.resize(i+1); 00040 data_[i]=sam; 00041 };
Set methods.
Definition at line 29 of file EcalTBTDCRawInfo.h.
References data_.
Referenced by CamacTBDataFormatter::interpretRawData().
Get methods.
Definition at line 23 of file EcalTBTDCRawInfo.h.
References data_.
Referenced by operator<<().
00023 { 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().