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