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