1 #ifndef ECALTBTDCRAWINFO_H 2 #define ECALTBTDCRAWINFO_H 1 19 data_.reserve(channels);
37 if (
data_.size() < i+1 )
45 std::vector<EcalTBTDCSample>
data_;
EcalTBTDCRawInfo(unsigned int channels)
const EcalTBTDCSample & sample(unsigned int i) const
const EcalTBTDCSample & operator[](unsigned int i) const
std::vector< EcalTBTDCSample > data_
unsigned int size() const
Get methods.
unsigned int channels() const
std::ostream & operator<<(std::ostream &s, const EcalTBTDCRawInfo &digi)
void setSample(unsigned int i, const EcalTBTDCSample &sam)
void setSize(unsigned int size)
Set methods.