7 : id_(
id), size_(0), data_(MAXSAMPLES) {}
70 s << digi.
id() <<
" " << digi.
size() <<
" samples " << std::endl;
71 for (
int i = 0;
i < digi.
size();
i++)
72 s <<
" " << digi.
sample(
i) << std::endl;
bool fineGrain() const
get the fine-grain bit of interesting sample
const EcalTrigTowerDetId & id() const
bool isDebug() const
True if debug mode (# of samples > 1)
int sampleOfInterest() const
Gets the interesting sample.
std::ostream & operator<<(std::ostream &s, const EcalTriggerPrimitiveDigi &digi)
int compressedEt() const
get the encoded/compressed Et of interesting sample
static const int MAXSAMPLES
int ttFlag() const
get the Trigger tower Flag of interesting sample
EcalTriggerPrimitiveDigi()
std::vector< EcalTriggerPrimitiveSample > data_
const EcalTriggerPrimitiveSample & sample(int i) const