#include <EcalFenixTcpFormat.h>
|
| EcalFenixTcpFormat (bool tccFormat, bool debug, bool famos, int binOfMax) |
|
virtual std::vector< int > | process (const std::vector< int > &, const std::vector< int > &) |
|
void | process (std::vector< int > &Et, std::vector< int > &fgvb, std::vector< int > &sfgvb, int eTTotShift, std::vector< EcalTriggerPrimitiveSample > &out, std::vector< EcalTriggerPrimitiveSample > &outTcc, bool isInInnerRings) |
|
void | setParameters (uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike) |
|
virtual | ~EcalFenixTcpFormat () |
|
Definition at line 22 of file EcalFenixTcpFormat.h.
EcalFenixTcpFormat::EcalFenixTcpFormat |
( |
bool |
tccFormat, |
|
|
bool |
debug, |
|
|
bool |
famos, |
|
|
int |
binOfMax |
|
) |
| |
EcalFenixTcpFormat::~EcalFenixTcpFormat |
( |
| ) |
|
|
virtual |
virtual std::vector<int> EcalFenixTcpFormat::process |
( |
const std::vector< int > & |
, |
|
|
const std::vector< int > & |
|
|
) |
| |
|
inlinevirtual |
Definition at line 22 of file EcalFenixTcpFormat.cc.
References badTTStatus_, binOfMax_, famos_, i, lut_, spikeZeroThresh_, and tcpFormat_.
32 for (
unsigned int i=0;
i<
out.size();++
i) {
34 myEt=Et[0]>>eTTotShift;
35 if (myEt>0x3ff) myEt=0x3ff ;
36 if (isInInnerRings) myEt = myEt /2 ;
45 lut_out = (
lut_)[myEt] ;
47 int ttFlag = (lut_out & 0x700) >> 8 ;
48 myEt = lut_out & 0xff ;
55 for (
unsigned int i=0;
i<Et.size();++
i) {
69 if (myEt>0x3ff) myEt=0x3ff ;
82 lut_out = (
lut_)[myEt] ;
84 int ttFlag = (lut_out & 0x700) >> 8 ;
88 myEt = lut_out & 0xff ;
Definition at line 94 of file EcalFenixTcpFormat.cc.
References badTTStatus_, EcalTPGSpike::getMap(), lut_, and spikeZeroThresh_.
102 if(sit != spikeMap.end())
110 if (it!=groupmap.end()) {
111 uint32_t lutid=(*it).second;
114 if (itl!=lutmap.end()) {
115 lut_=(*itl).second.getLut();
116 }
else edm::LogWarning(
"EcalTPG")<<
" could not find EcalTPGLutMap for "<<lutid;
119 else edm::LogWarning(
"EcalTPG")<<
" could not find EcalTPGFineGrainTowerEEMap for "<<towid;
123 if (itbadTT!=badTTMap.end()) {
std::map< uint32_t, uint16_t >::const_iterator EcalTPGTowerStatusMapIterator
std::map< uint32_t, uint16_t > EcalTPGTowerStatusMap
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
std::map< uint32_t, uint16_t >::const_iterator EcalTPGSpikeMapIterator
std::map< uint32_t, EcalTPGLut > EcalTPGLutMap
std::map< uint32_t, uint16_t > EcalTPGSpikeMap
std::map< uint32_t, uint32_t > EcalTPGGroupsMap
std::map< uint32_t, EcalTPGLut >::const_iterator EcalTPGLutMapItr
const std::map< uint32_t, uint16_t > & getMap() const
const uint16_t* EcalFenixTcpFormat::badTTStatus_ |
|
private |
unsigned int EcalFenixTcpFormat::binOfMax_ |
|
private |
bool EcalFenixTcpFormat::debug_ |
|
private |
bool EcalFenixTcpFormat::famos_ |
|
private |
const unsigned int* EcalFenixTcpFormat::lut_ |
|
private |
uint16_t EcalFenixTcpFormat::spikeZeroThresh_ |
|
private |
uint16_t EcalFenixTcpFormat::status_ |
|
private |
bool EcalFenixTcpFormat::tcpFormat_ |
|
private |