Formatting for Fenix Tcp input 10 bits from Ettot 1 bit from fgvb 3 bits TriggerTowerFlag output: 16 bits simple formatting. More...
#include <EcalEBFenixTcpFormat.h>
Public Member Functions | |
EcalEBFenixTcpFormat (bool tccFormat, bool debug, bool famos, int binOfMax) | |
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 | setParameters (uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike) |
virtual | ~EcalEBFenixTcpFormat () |
Private Attributes | |
const uint16_t * | badTTStatus_ |
unsigned int | binOfMax_ |
bool | debug_ |
bool | famos_ |
const unsigned int * | lut_ |
uint16_t | spikeZeroThresh_ |
uint16_t | status_ |
bool | tcpFormat_ |
Formatting for Fenix Tcp input 10 bits from Ettot 1 bit from fgvb 3 bits TriggerTowerFlag output: 16 bits simple formatting.
Definition at line 22 of file EcalEBFenixTcpFormat.h.
EcalEBFenixTcpFormat::EcalEBFenixTcpFormat | ( | bool | tccFormat, |
bool | debug, | ||
bool | famos, | ||
int | binOfMax | ||
) |
Definition at line 11 of file EcalEBFenixTcpFormat.cc.
References badTTStatus_, and status_.
|
virtual |
Definition at line 17 of file EcalEBFenixTcpFormat.cc.
void EcalEBFenixTcpFormat::process | ( | std::vector< int > & | Etin, |
std::vector< int > & | Etout | ||
) |
Definition at line 19 of file EcalEBFenixTcpFormat.cc.
References mps_fire::i.
Referenced by EcalEBTrigPrimTestAlgo::run().
void EcalEBFenixTcpFormat::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 | ||
) |
Definition at line 49 of file EcalEBFenixTcpFormat.cc.
References badTTStatus_, binOfMax_, famos_, mps_fire::i, lut_, spikeZeroThresh_, and tcpFormat_.
void EcalEBFenixTcpFormat::setParameters | ( | uint32_t | towid, |
const EcalTPGLutGroup * | ecaltpgLutGroup, | ||
const EcalTPGLutIdMap * | ecaltpgLut, | ||
const EcalTPGTowerStatus * | ecaltpgbadTT, | ||
const EcalTPGSpike * | ecaltpgSpike | ||
) |
Definition at line 131 of file EcalEBFenixTcpFormat.cc.
References badTTStatus_, EcalTPGTowerStatus::getMap(), EcalTPGLutIdMap::getMap(), EcalTPGSpike::getMap(), EcalTPGGroups::getMap(), lut_, and spikeZeroThresh_.
Referenced by EcalEBTrigPrimTestAlgo::run().
|
private |
Definition at line 43 of file EcalEBFenixTcpFormat.h.
Referenced by EcalEBFenixTcpFormat(), process(), and setParameters().
|
private |
Definition at line 48 of file EcalEBFenixTcpFormat.h.
Referenced by process().
|
private |
Definition at line 46 of file EcalEBFenixTcpFormat.h.
|
private |
Definition at line 47 of file EcalEBFenixTcpFormat.h.
Referenced by process().
|
private |
Definition at line 42 of file EcalEBFenixTcpFormat.h.
Referenced by process(), and setParameters().
|
private |
Definition at line 49 of file EcalEBFenixTcpFormat.h.
Referenced by process(), and setParameters().
|
private |
Definition at line 44 of file EcalEBFenixTcpFormat.h.
Referenced by EcalEBFenixTcpFormat().
|
private |
Definition at line 45 of file EcalEBFenixTcpFormat.h.
Referenced by process().