#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 43 of file EcalTrigPrimCompactColl.h.
|
inline |
get the encoded/compressed Et (8 bits)
Definition at line 56 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 57 of file EcalTrigPrimCompactColl.h.
References compressedEt(), and ecaldqm::ttId().
Referenced by compressedEt().
|
inline |
get the fine-grain bit (1 bit)
Definition at line 62 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 63 of file EcalTrigPrimCompactColl.h.
References fineGrain(), and ecaldqm::ttId().
Referenced by fineGrain().
|
inlinestaticprivate |
Definition at line 34 of file EcalTrigPrimCompactColl.h.
References Exception, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, nBins, nPhiBins, and alignCSCRings::r.
Referenced by 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 86 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 87 of file EcalTrigPrimCompactColl.h.
References sFGVB(), and ecaldqm::ttId().
|
inline |
get the raw word
Definition at line 50 of file EcalTrigPrimCompactColl.h.
Referenced by toEcalTrigPrimDigiCollection().
|
inline |
Definition at line 51 of file EcalTrigPrimCompactColl.h.
References raw(), and ecaldqm::ttId().
Referenced by raw().
|
inline |
Set data.
Definition at line 46 of file EcalTrigPrimCompactColl.h.
References data_, hcalRecHitTable_cff::ieta, index(), hcalRecHitTable_cff::iphi, and ecalGpuTask_cfi::sample.
Referenced by Types._ProxyParameter::__init__().
|
inline |
Gets the "strip fine grain veto bit" (sFGVB) used as L1A spike detection
Definition at line 76 of file EcalTrigPrimCompactColl.h.
Referenced by l1aSpike().
|
inline |
Definition at line 77 of file EcalTrigPrimCompactColl.h.
References sFGVB(), and ecaldqm::ttId().
Referenced by sFGVB().
void EcalTrigPrimCompactColl::toEcalTrigPrimDigiCollection | ( | EcalTrigPrimDigiCollection & | dest | ) | const |
Definition at line 3 of file EcalTrigPrimCompactColl.cc.
References mps_fire::dest, EcalBarrel, EcalEndcap, hcalRecHitTable_cff::iphi, edm::SortedCollection< T, SORT >::push_back(), raw(), edm::SortedCollection< T, SORT >::reserve(), edm::SortedCollection< T, SORT >::sort(), EcalTrigTowerDetId::SUBDETIJMODE, cmsswSequenceInfo::tp, ecaldqm::ttId(), and ecaldqm::zside().
|
inline |
get the Trigger tower Flag (3 bits)
Definition at line 68 of file EcalTrigPrimCompactColl.h.
|
inline |
Definition at line 69 of file EcalTrigPrimCompactColl.h.
References ttFlag(), and ecaldqm::ttId().
Referenced by ttFlag().
|
private |
Definition at line 94 of file EcalTrigPrimCompactColl.h.
Referenced by setValue().
|
private |
Definition at line 93 of file EcalTrigPrimCompactColl.h.
Definition at line 31 of file EcalTrigPrimCompactColl.h.
Referenced by index().
|
staticprivate |
Definition at line 30 of file EcalTrigPrimCompactColl.h.
|
staticprivate |
Definition at line 29 of file EcalTrigPrimCompactColl.h.
Referenced by index().