#include <EcalFenixTcpFormat.h>
|
| EcalFenixTcpFormat (bool tccFormat, bool debug, bool famos, int binOfMax) |
|
| 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 > &, std::vector< int > &) |
|
void | process (std::vector< int > &Et, std::vector< int > &fgvb, std::vector< int > &sfgvb, int eTTotShift, std::vector< EcalEBTriggerPrimitiveSample > &out, std::vector< EcalEBTriggerPrimitiveSample > &outTcc, bool isInInnerRings) |
|
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) |
|
void | setParameters (uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike) |
|
virtual | ~EcalFenixTcpFormat () |
|
virtual | ~EcalFenixTcpFormat () |
|
Definition at line 22 of file EcalFenixTcpFormat.h.
EcalFenixTcpFormat::EcalFenixTcpFormat |
( |
bool |
tccFormat, |
|
|
bool |
debug, |
|
|
bool |
famos, |
|
|
int |
binOfMax |
|
) |
| |
EcalFenixTcpFormat::~EcalFenixTcpFormat |
( |
| ) |
|
|
virtual |
EcalFenixTcpFormat::EcalFenixTcpFormat |
( |
bool |
tccFormat, |
|
|
bool |
debug, |
|
|
bool |
famos, |
|
|
int |
binOfMax |
|
) |
| |
virtual EcalFenixTcpFormat::~EcalFenixTcpFormat |
( |
| ) |
|
|
virtual |
virtual std::vector<int> EcalFenixTcpFormat::process |
( |
const std::vector< int > & |
, |
|
|
const std::vector< int > & |
|
|
) |
| |
|
inlinevirtual |
Definition at line 27 of file EcalFenixTcpFormat.h.
References badTTStatus_, binOfMax_, debug_, famos_, lut_, MillePedeFileConverter_cfg::out, process(), setParameters(), spikeZeroThresh_, status_, tcpFormat_, and findQualityFiles::v.
void EcalFenixTcpFormat::process |
( |
std::vector< int > & |
Etin, |
|
|
std::vector< int > & |
Etout |
|
) |
| |
Definition at line 20 of file EcalFenixTcpFormat.cc.
References badTTStatus_, binOfMax_, famos_, EcalTPGTowerStatus::getMap(), EcalTPGLutIdMap::getMap(), EcalTPGSpike::getMap(), EcalTPGGroups::getMap(), mps_fire::i, lut_, setParameters(), spikeZeroThresh_, tcpFormat_, and globals_cff::x1.
31 for (
unsigned int i = 0;
i <
out.size(); ++
i) {
33 myEt = Et[0] >> eTTotShift;
45 lut_out = (
lut_)[myEt];
47 int ttFlag = (lut_out & 0x700) >> 8;
48 myEt = lut_out & 0xff;
54 for (
unsigned int i = 0;
i < Et.size(); ++
i) {
56 int mysFgvb = sfgvb[
i];
80 lut_out = (
lut_)[myEt];
82 int ttFlag = (lut_out & 0x700) >> 8;
85 ((ttFlag & 0x7) << 11) | ((myFgvb & 0
x1) << 10) | (myEt & 0x3ff));
87 myEt = lut_out & 0xff;
Definition at line 137 of file EcalFenixTcpFormat.cc.
References badTTStatus_, EcalTPGSpike::getMap(), lut_, and spikeZeroThresh_.
Referenced by process(), EcalFenixTcp::process_part2_barrel(), EcalFenixTcp::process_part2_endcap(), and EcalEBTrigPrimTestAlgo::run().
141 if(ecaltpgSpike !=
nullptr)
145 if(sit != spikeMap.end())
153 if (it!=groupmap.end()) {
154 uint32_t lutid=(*it).second;
157 if (itl!=lutmap.end()) {
158 lut_=(*itl).second.getLut();
160 }
else edm::LogWarning(
"EcalTPG")<<
" could not find EcalTPGLutMap for "<<lutid;
163 else edm::LogWarning(
"EcalTPG")<<
" could not find EcalTPGFineGrainTowerEEMap for "<<towid;
167 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 |