69 s << digi.
id() <<
" " << digi.
size() <<
" samples " << std::endl;
70 for (
int i = 0;
i < digi.
size();
i++)
71 s <<
" " << digi.
sample(
i) << std::endl;
std::ostream & operator<<(std::ostream &s, const EcalEBTriggerPrimitiveDigi &digi)
int sampleOfInterest() const
Gets the interesting sample.
std::vector< EcalEBTriggerPrimitiveSample > data_
void setSample(int i, const EcalEBTriggerPrimitiveSample &sam)
bool isDebug() const
True if debug mode (# of samples > 1)
bool l1aSpike() const
Spike flag.
int encodedEt() const
get the 10 bits Et of interesting sample
static constexpr int MAXSAMPLES
const EBDetId & id() const
int time() const
Time info.
static const int MAXSAMPLES
const EcalEBTriggerPrimitiveSample & sample(int i) const
EcalEBTriggerPrimitiveDigi()