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)
static constexpr int MAXSAMPLES
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