Go to the documentation of this file. 1 #ifndef ECALTRIGPRIMCOMPACTCOLL_H
2 #define ECALTRIGPRIMCOMPACTCOLL_H
38 <<
"Trigger tower index (" <<
ieta <<
"," <<
iphi <<
") are out of range";
97 #endif //ECALTRIGPRIMCOMPACTCOLL_H not defined
unsigned ttId(DetId const &)
edm::SortedCollection< EcalTriggerPrimitiveDigi > EcalTrigPrimDigiCollection
int sFGVB(int ieta, int iphi) const
int ttFlag(const EcalTrigTowerDetId &ttId) const
std::vector< uint16_t > data_
void setValue(int ieta, int iphi, uint16_t sample)
Set data.
bool fineGrain(const EcalTrigTowerDetId &ttId) const
int compressedEt(int ieta, int iphi) const
get the encoded/compressed Et (8 bits)
static const int nEtaBins
int compressedEt(const EcalTrigTowerDetId &ttId) const
int l1aSpike(const EcalTrigTowerDetId &ttId) const
void toEcalTrigPrimDigiCollection(EcalTrigPrimDigiCollection &dest) const
uint16_t raw(const EcalTrigTowerDetId &ttId) const
static const int nPhiBins
int sFGVB(const EcalTrigTowerDetId &ttId) const
int l1aSpike(int ieta, int iphi) const
int ttFlag(int ieta, int iphi) const
get the Trigger tower Flag (3 bits)
EcalTrigPrimCompactColl()
static size_t index(int ieta, int iphi)
bool fineGrain(int ieta, int iphi) const
get the fine-grain bit (1 bit)
uint16_t raw(int ieta, int iphi) const
get the raw word