calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel More...
#include <EcalFenixFgvbEB.h>
Public Member Functions | |
EcalFenixFgvbEB (int maxNrSamples) | |
void | process (std::vector< int > &add_out, std::vector< int > &maxof2_out, std::vector< int > &output) |
void | setParameters (uint32_t towid, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) |
virtual | ~EcalFenixFgvbEB () |
Private Attributes | |
std::vector< int > | add_out_8_ |
uint32_t | EThigh_ |
uint32_t | ETlow_ |
uint32_t | lut_ |
uint32_t | Rathigh_ |
uint32_t | Ratlow_ |
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
input: 2X12 bits ( 12 bits Ettot + 12 bits maxof2) output: 1 bit
makes comparisons between maxof2 and 2 fractions of Ettot and uses this
comparison to decide —> needs to get some values from outside
Definition at line 23 of file EcalFenixFgvbEB.h.
EcalFenixFgvbEB::EcalFenixFgvbEB | ( | int | maxNrSamples | ) |
|
virtual |
Definition at line 8 of file EcalFenixFgvbEB.cc.
void EcalFenixFgvbEB::process | ( | std::vector< int > & | add_out, |
std::vector< int > & | maxof2_out, | ||
std::vector< int > & | output | ||
) |
Definition at line 10 of file EcalFenixFgvbEB.cc.
References add_out_8_, EThigh_, ETlow_, mps_fire::i, lut_, Rathigh_, and Ratlow_.
Referenced by EcalFenixTcp::process_part2_barrel().
void EcalFenixFgvbEB::setParameters | ( | uint32_t | towid, |
const EcalTPGFineGrainEBGroup * | ecaltpgFgEBGroup, | ||
const EcalTPGFineGrainEBIdMap * | ecaltpgFineGrainEB | ||
) |
Definition at line 71 of file EcalFenixFgvbEB.cc.
References EThigh_, ETlow_, spr::find(), EcalTPGFineGrainEBIdMap::getMap(), EcalTPGGroups::getMap(), lut_, Rathigh_, and Ratlow_.
Referenced by EcalFenixTcp::process_part2_barrel().
|
private |
Definition at line 29 of file EcalFenixFgvbEB.h.
Referenced by EcalFenixFgvbEB(), and process().
|
private |
Definition at line 25 of file EcalFenixFgvbEB.h.
Referenced by process(), and setParameters().
|
private |
Definition at line 25 of file EcalFenixFgvbEB.h.
Referenced by process(), and setParameters().
|
private |
Definition at line 25 of file EcalFenixFgvbEB.h.
Referenced by process(), and setParameters().
|
private |
Definition at line 25 of file EcalFenixFgvbEB.h.
Referenced by process(), and setParameters().
|
private |
Definition at line 25 of file EcalFenixFgvbEB.h.
Referenced by process(), and setParameters().