#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) |
int | size () const |
void | swap (EcalTimeDigi &rh) |
Private Attributes | |
std::vector< float > | data_ |
DetId | id_ |
int | sampleOfInterest_ |
unsigned int | size_ |
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 32 of file EcalTimeDigi.h.
References sampleOfInterest_.
|
inline |
|
inline |
void EcalTimeDigi::setSize | ( | unsigned int | size | ) |
|
inline |
Definition at line 22 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_, and std::swap().
|
private |
Definition at line 38 of file EcalTimeDigi.h.
Referenced by operator[](), sample(), setSample(), setSize(), and swap().
|
private |
Definition at line 35 of file EcalTimeDigi.h.
|
private |
Definition at line 37 of file EcalTimeDigi.h.
Referenced by sampleOfInterest(), and setSampleOfInterest().
|
private |
Definition at line 36 of file EcalTimeDigi.h.