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