#include <EcalTrigPrimCompactColl.h>
Public Member Functions | |
EcalTrigPrimCompactColl () | |
void | setValue (int ieta, int iphi, uint16_t sample) |
Set data. More... | |
void | toEcalTrigPrimDigiCollection (EcalTrigPrimDigiCollection &dest) const |
uint16_t | raw (int ieta, int iphi) const |
get the raw word More... | |
uint16_t | raw (const EcalTrigTowerDetId &ttId) const |
int | compressedEt (int ieta, int iphi) const |
get the encoded/compressed Et (8 bits) More... | |
int | compressedEt (const EcalTrigTowerDetId &ttId) const |
bool | fineGrain (int ieta, int iphi) const |
get the fine-grain bit (1 bit) More... | |
bool | fineGrain (const EcalTrigTowerDetId &ttId) const |
int | ttFlag (int ieta, int iphi) const |
get the Trigger tower Flag (3 bits) More... | |
int | ttFlag (const EcalTrigTowerDetId &ttId) const |
int | sFGVB (int ieta, int iphi) const |
int | sFGVB (const EcalTrigTowerDetId &ttId) const |
int | l1aSpike (int ieta, int iphi) const |
int | l1aSpike (const EcalTrigTowerDetId &ttId) const |
Static Private Member Functions | |
static size_t | index (int ieta, int iphi) |
Private Attributes | |
std::vector< uint16_t > | data_ |
int16_t | formatVers_ |
Static Private Attributes | |
static const int | nBins = nPhiBins*nEtaBins |
static const int | nEtaBins = 56 |
static const int | nPhiBins = 72 |
This collection is used to store ECAL trigger primitive with a low footpring in ROOT EDM file.
Note that only the time sample of interest time is stored. In nornal operation data contains only this time sample.
The interface is similar to EcalTriggerPrimitiveSample one. The collection can also be converted to an EcalTrigPrimDigiCollection with the method toEcalTrigPrimDigiCollection().
The collection is generated with EcalCompactTrigPrimProducer module from package RecoLocalCalo/EcalRecProducers.
author: Ph. Gras CEA/IRFU Saclay
Definition at line 27 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 42 of file EcalTrigPrimCompactColl.h.
|
inline |
get the encoded/compressed Et (8 bits)
Definition at line 55 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 56 of file EcalTrigPrimCompactColl.h.
References compressedEt(), EcalTrigTowerDetId::ieta(), and EcalTrigTowerDetId::iphi().
Referenced by compressedEt().
|
inline |
get the fine-grain bit (1 bit)
Definition at line 61 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 62 of file EcalTrigPrimCompactColl.h.
References fineGrain(), EcalTrigTowerDetId::ieta(), and EcalTrigTowerDetId::iphi().
Referenced by fineGrain().
|
inlinestaticprivate |
Definition at line 35 of file EcalTrigPrimCompactColl.h.
References Exception, nBins, nPhiBins, and alignCSCRings::r.
Referenced by BeautifulSoup.PageElement::_invert(), and setValue().
|
inline |
Gets the "strip fine grain veto bit" (sFGVB) used as L1A spike detection Deprecated. Use instead sFGVB() method. Indeed the name of the method being missleading, since it returns 0 for spike-compatible deposit.
Definition at line 85 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 86 of file EcalTrigPrimCompactColl.h.
References sFGVB().
|
inline |
get the raw word
Definition at line 49 of file EcalTrigPrimCompactColl.h.
Referenced by toEcalTrigPrimDigiCollection().
|
inline |
Definition at line 50 of file EcalTrigPrimCompactColl.h.
References EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::iphi(), and raw().
Referenced by raw().
|
inline |
Set data.
Definition at line 45 of file EcalTrigPrimCompactColl.h.
References data_, index(), and compare_using_db::sample.
Referenced by Vispa.Views.PropertyView.StringProperty::buttonClicked(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Vispa.Views.PropertyView.FileVectorProperty::buttonClicked(), Vispa.Views.PropertyView.TextEditWithButtonProperty::keyPressEvent(), and Vispa.Views.PropertyView.TextEditWithButtonProperty::setMultiline().
|
inline |
Gets the "strip fine grain veto bit" (sFGVB) used as L1A spike detection
Definition at line 75 of file EcalTrigPrimCompactColl.h.
Referenced by l1aSpike().
|
inline |
Definition at line 76 of file EcalTrigPrimCompactColl.h.
References EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::iphi(), and sFGVB().
Referenced by sFGVB().
void EcalTrigPrimCompactColl::toEcalTrigPrimDigiCollection | ( | EcalTrigPrimDigiCollection & | dest | ) | const |
Definition at line 3 of file EcalTrigPrimCompactColl.cc.
References EcalBarrel, EcalEndcap, EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::iphi(), edm::SortedCollection< T, SORT >::push_back(), raw(), edm::SortedCollection< T, SORT >::reserve(), EcalTriggerPrimitiveDigi::setSample(), EcalTriggerPrimitiveDigi::setSize(), edm::SortedCollection< T, SORT >::sort(), EcalTrigTowerDetId::SUBDETIJMODE, edm::SortedCollection< T, SORT >::swap(), ecaldqm::ttId(), and ecaldqm::zside().
|
inline |
get the Trigger tower Flag (3 bits)
Definition at line 67 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 68 of file EcalTrigPrimCompactColl.h.
References EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::iphi(), and ttFlag().
Referenced by ttFlag().
|
private |
Definition at line 93 of file EcalTrigPrimCompactColl.h.
Referenced by setValue().
|
private |
Definition at line 92 of file EcalTrigPrimCompactColl.h.
Definition at line 32 of file EcalTrigPrimCompactColl.h.
Referenced by index().
|
staticprivate |
Definition at line 31 of file EcalTrigPrimCompactColl.h.
|
staticprivate |
Definition at line 30 of file EcalTrigPrimCompactColl.h.
Referenced by index().