1 #ifndef DataFormats_EcalDigi_EcalEBPhase2TriggerPrimitiveDigi_h 2 #define DataFormats_EcalDigi_EcalEBPhase2TriggerPrimitiveDigi_h 56 std::vector<EcalEBPhase2TriggerPrimitiveSample>
data_;
int time() const
Time info.
const EcalEBPhase2TriggerPrimitiveSample & operator[](int i) const
EBDetId key_type
For the sorted collection.
void setSample(int i, const EcalEBPhase2TriggerPrimitiveSample &sam)
EcalEBPhase2TriggerPrimitiveDigi()
void swap(EcalEBPhase2TriggerPrimitiveDigi &lh, EcalEBPhase2TriggerPrimitiveDigi &rh)
int sampleOfInterest() const
Gets the interesting sample.
int encodedEt() const
get the 12 bits Et of interesting sample
const EcalEBPhase2TriggerPrimitiveSample & sample(int i) const
std::vector< EcalEBPhase2TriggerPrimitiveSample > data_
bool l1aSpike() const
Spike flag.
void setSampleValue(int i, uint16_t value)
bool isDebug() const
True if debug mode (# of samples > 1)
const EBDetId & id() const
void swap(EcalEBPhase2TriggerPrimitiveDigi &rh)
std::ostream & operator<<(std::ostream &s, const EcalEBPhase2TriggerPrimitiveDigi &digi)