1 #ifndef _DataFormats_EcalDigi_ECALTIMEDIGI_H_ 2 #define _DataFormats_EcalDigi_ECALTIMEDIGI_H_
const float & operator[](unsigned int i) const
void setSample(unsigned int i, const float sam)
void swap(EcalTimeDigi &lh, EcalTimeDigi &rh)
void setWaveform(float *waveform)
const float & sample(unsigned int i) const
std::vector< float > waveform() const
void setSampleOfInterest(int i)
static const unsigned int WAVEFORMSAMPLES
void swap(EcalTimeDigi &rh)
std::ostream & operator<<(std::ostream &s, const EcalTimeDigi &digi)
void setSize(unsigned int size)
DetId key_type
For the sorted collection.
std::vector< float > data_
int sampleOfInterest() const
Gets the BX==0 sample. If =-1 then it means that only OOT hits are present.
std::vector< float > waveform_