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_
class for calculation of Et for Fenix tcp calculates the sum. As in the firmware the Et sum is splitt...
EcalFenixTcpFormatEB * getFormatterEB() const
EcalFenixTcpsFgvbEB * sfgvbEB_
EcalFenixMaxof2 * maxOf2_
const EcalTPGTPMode * ecaltpgTPMode_
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
EcalFenixFgvbEB * getFGVBEB() const
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)
EcalFenixMaxof2 * getMaxOf2() const
const EcalTPGSpike * ecaltpgSpike_
EcalFenixTcpFgvbEE * getFGVBEE() const
EcalFenixBypassLin * getBypasslin(int i) const
std::vector< int > fgvb_out_
const EcalTPGTowerStatus * ecaltpgBadTT_
EcalFenixTcpFgvbEE * fgvbEE_
std::vector< EcalFenixBypassLin * > bypasslin_
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
const EcalTPGLutIdMap * ecaltpgLut_
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
EcalFenixTcpFormatEE * formatter_EE_
EcalFenixTcpsFgvbEB * getsFGVBEB() const
EcalFenixEtTot * getAdder() const
std::vector< int > adder_odd_out_
EcalFenixFgvbEB * fgvbEB_
calculation of Fgvb for Fenix Tcp, format endcap calculates fgvb for the endcap
std::vector< int > adder_even_out_
std::vector< int > maxOf2_out_
EcalFenixTcpFormatEE * getFormatterEE() const
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)
class representing the Fenix chip, format strip
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_
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 ...