Go to the documentation of this file.
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)
const EcalEBTriggerPrimitiveSample & sample(int i) const
EcalEBTriggerPrimitiveDigi()
void setSample(int i, const EcalEBTriggerPrimitiveSample &sam)
int time() const
Time info.
static const int MAXSAMPLES
std::vector< EcalEBTriggerPrimitiveSample > data_
int sampleOfInterest() const
Gets the interesting sample.
bool l1aSpike() const
Spike flag.
const EBDetId & id() const
int encodedEt() const
get the 10 bits Et of interesting sample
bool isDebug() const
True if debug mode (# of samples > 1)