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