1 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCP_H 2 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCP_H 79 bool tcpFormat,
bool debug,
bool famos,
int binOfMax,
int maxNrSamples,
int nbMaxStrips,
bool TPinfoPrintout);
82 void process(std::vector<EBDataFrame> &bid,
85 std::vector<EcalTriggerPrimitiveSample> &tptow,
86 std::vector<EcalTriggerPrimitiveSample> &tptow2,
89 void process(std::vector<EEDataFrame> &bid,
92 std::vector<EcalTriggerPrimitiveSample> &tptow,
93 std::vector<EcalTriggerPrimitiveSample> &tptow2,
109 std::vector<EcalTriggerPrimitiveSample> &tptow,
110 std::vector<EcalTriggerPrimitiveSample> &tptow2,
121 std::vector<EcalTriggerPrimitiveSample> &tptow,
122 std::vector<EcalTriggerPrimitiveSample> &tptow2,
void process_part2_endcap(std::vector< std::vector< int >> &, int nStr, int bitMask, int bitOddEven, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGTowerStatus *ecaltpgBadTT, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, bool isInInnerRings, EcalTrigTowerDetId towid)
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
EcalFenixTcpFormatEB * getFormatterEB() const
class for calculation of Et for Fenix tcp calculates the sum. As in the firmware the Et sum is splitt...
EcalFenixTcpsFgvbEB * sfgvbEB_
EcalFenixMaxof2 * maxOf2_
const EcalTPGTPMode * ecaltpgTPMode_
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
void process(std::vector< EBDataFrame > &bid, std::vector< std::vector< int >> &tpframetow, int nStr, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, bool isInInnerRings, EcalTrigTowerDetId thisTower)
EcalFenixTcp(bool tcpFormat, bool debug, bool famos, int binOfMax, int maxNrSamples, int nbMaxStrips, bool TPinfoPrintout)
void process_part1(std::vector< std::vector< int >> &tpframetow, int nStr, int bitMask, int bitOddEven)
const EcalTPGSpike * ecaltpgSpike_
std::vector< int > fgvb_out_
const EcalTPGTowerStatus * ecaltpgBadTT_
EcalFenixTcpFgvbEE * fgvbEE_
std::vector< EcalFenixBypassLin * > bypasslin_
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
EcalFenixTcpFormatEE * getFormatterEE() const
const EcalTPGLutIdMap * ecaltpgLut_
EcalFenixTcpFgvbEE * getFGVBEE() const
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
EcalFenixMaxof2 * getMaxOf2() const
EcalFenixTcpFormatEE * formatter_EE_
std::vector< int > adder_odd_out_
EcalFenixFgvbEB * fgvbEB_
EcalFenixTcpsFgvbEB * getsFGVBEB() const
calculation of Fgvb for Fenix Tcp, format endcap calculates fgvb for the endcap
std::vector< int > adder_even_out_
std::vector< int > maxOf2_out_
std::vector< int > strip_fgvb_out_
void process_part2_barrel(std::vector< std::vector< int >> &, int nStr, int bitMask, int bitOddEven, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB, const EcalTPGTowerStatus *ecaltpgBadTT, const EcalTPGSpike *ecaltpgSpike, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, EcalTrigTowerDetId towid)
EcalFenixFgvbEB * getFGVBEB() const
class representing the Fenix chip, format strip
EcalFenixBypassLin * getBypasslin(int i) const
EcalFenixTcpFormatEB * formatter_EB_
void setPointers(const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGTowerStatus *ecaltpgBadTT, const EcalTPGSpike *ecaltpgSpike, const EcalTPGTPMode *ecaltpgTPMode)
const EcalTPGLutGroup * ecaltpgLutGroup_
EcalFenixEtTot * getAdder() const
std::vector< std::vector< int > > bypasslin_out_
Linearisation for Tcp input: 16 bits output: 12 bits +1 going to fgvb (???)
calculation of strip Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel ...