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