Go to the documentation of this file. 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_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)
Linearisation for Tcp input: 16 bits output: 12 bits +1 going to fgvb (???)
std::vector< int > adder_odd_out_
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
EcalFenixTcpsFgvbEB * getsFGVBEB() const
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)
std::vector< int > maxOf2_out_
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
std::vector< int > adder_even_out_
calculation of strip Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
EcalFenixBypassLin * getBypasslin(int i) const
const EcalTPGLutGroup * ecaltpgLutGroup_
EcalFenixFgvbEB * getFGVBEB() const
EcalFenixEtTot * getAdder() const
void process_part1(std::vector< std::vector< int >> &tpframetow, int nStr, int bitMask, int bitOddEven)
std::vector< int > fgvb_out_
std::vector< std::vector< int > > bypasslin_out_
EcalFenixTcpFormatEB * formatter_EB_
const EcalTPGSpike * ecaltpgSpike_
EcalFenixTcpFgvbEE * getFGVBEE() const
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
calculation of Fgvb for Fenix Tcp, format endcap calculates fgvb for the endcap
EcalFenixTcpFormatEB * getFormatterEB() const
EcalFenixTcpFormatEE * getFormatterEE() 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)
EcalFenixTcpsFgvbEB * sfgvbEB_
class for calculation of Et for Fenix tcp calculates the sum. As in the firmware the Et sum is splitt...
EcalFenixTcpFormatEE * formatter_EE_
EcalFenixTcp(bool tcpFormat, bool debug, bool famos, int binOfMax, int maxNrSamples, int nbMaxStrips, bool TPinfoPrintout)
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
const EcalTPGLutIdMap * ecaltpgLut_
EcalFenixFgvbEB * fgvbEB_
class representing the Fenix chip, format strip
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 EcalTPGTPMode * ecaltpgTPMode_
const EcalTPGTowerStatus * ecaltpgBadTT_
EcalFenixMaxof2 * getMaxOf2() const
std::vector< EcalFenixBypassLin * > bypasslin_
std::vector< int > strip_fgvb_out_
EcalFenixMaxof2 * maxOf2_
EcalFenixTcpFgvbEE * fgvbEE_