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