#include <EcalTimeDigi.h>
Public Types | |
typedef DetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
EcalTimeDigi () | |
EcalTimeDigi (const DetId &id) | |
const DetId & | id () const |
const float & | operator[] (unsigned int i) const |
const float & | sample (unsigned int i) const |
int | sampleOfInterest () const |
Gets the BX==0 sample. If =-1 then it means that only OOT hits are present. More... | |
void | setSample (unsigned int i, const float sam) |
void | setSampleOfInterest (int i) |
void | setSize (unsigned int size) |
void | setWaveform (float *waveform) |
int | size () const |
void | swap (EcalTimeDigi &rh) |
std::vector< float > | waveform () const |
Static Public Attributes | |
static const unsigned int | WAVEFORMSAMPLES = 250 |
Private Attributes | |
std::vector< float > | data_ |
DetId | id_ |
int | sampleOfInterest_ |
unsigned int | size_ |
std::vector< float > | waveform_ |
Definition at line 8 of file EcalTimeDigi.h.
typedef DetId EcalTimeDigi::key_type |
For the sorted collection.
Definition at line 10 of file EcalTimeDigi.h.
EcalTimeDigi::EcalTimeDigi | ( | ) |
Definition at line 7 of file EcalTimeDigi.cc.
|
explicit |
Definition at line 9 of file EcalTimeDigi.cc.
|
inline |
|
inline |
|
inline |
|
inline |
Gets the BX==0 sample. If =-1 then it means that only OOT hits are present.
Definition at line 34 of file EcalTimeDigi.h.
References sampleOfInterest_.
|
inline |
|
inline |
void EcalTimeDigi::setSize | ( | unsigned int | size | ) |
void EcalTimeDigi::setWaveform | ( | float * | waveform | ) |
Definition at line 18 of file EcalTimeDigi.cc.
References mps_fire::i, parallelization::uint, waveform(), waveform_, and WAVEFORMSAMPLES.
|
inline |
Definition at line 23 of file EcalTimeDigi.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and setSize().
|
inline |
Definition at line 15 of file EcalTimeDigi.h.
References data_, id_, size_, std::swap(), and waveform_.
|
inline |
|
private |
Definition at line 44 of file EcalTimeDigi.h.
Referenced by operator[](), sample(), setSample(), setSize(), and swap().
|
private |
Definition at line 40 of file EcalTimeDigi.h.
|
private |
Definition at line 42 of file EcalTimeDigi.h.
Referenced by sampleOfInterest(), and setSampleOfInterest().
|
private |
Definition at line 41 of file EcalTimeDigi.h.
|
private |
Definition at line 43 of file EcalTimeDigi.h.
Referenced by setWaveform(), swap(), and waveform().
|
static |
Definition at line 37 of file EcalTimeDigi.h.
Referenced by setWaveform().