1 #ifndef ECALTRIGGERPRIMITIVEDIGI_H 2 #define ECALTRIGGERPRIMITIVEDIGI_H 1 77 std::vector<EcalTriggerPrimitiveSample>
data_;
void swap(EcalTriggerPrimitiveDigi &rh)
const EcalTriggerPrimitiveSample & operator[](int i) const
bool isDebug() const
True if debug mode (# of samples > 1)
int compressedEt() const
get the encoded/compressed Et of interesting sample
void setSample(int i, const EcalTriggerPrimitiveSample &sam)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::ostream & operator<<(std::ostream &s, const EcalTriggerPrimitiveDigi &digi)
EcalTrigTowerDetId key_type
For the sorted collection.
const EcalTriggerPrimitiveSample & sample(int i) const
const EcalTrigTowerDetId & id() const
static const int MAXSAMPLES
void setSampleValue(int i, uint16_t value)
bool fineGrain() const
get the fine-grain bit of interesting sample
int sampleOfInterest() const
Gets the interesting sample.
int ttFlag() const
get the Trigger tower Flag of interesting sample
EcalTriggerPrimitiveDigi()
std::vector< EcalTriggerPrimitiveSample > data_