Go to the documentation of this file.
21 : debug_(
debug), nbMaxStrips_(nbMaxStrips) {
34 std::vector<int> vec(maxNrSamples, 0);
55 std::vector<EBDataFrame> &bid,
58 std::vector<EcalTriggerPrimitiveSample> &tptow,
59 std::vector<EcalTriggerPrimitiveSample> &tptow2,
81 std::vector<EEDataFrame> &bid,
84 std::vector<EcalTriggerPrimitiveSample> &tptow,
85 std::vector<EcalTriggerPrimitiveSample> &tptow2,
147 std::vector<EcalTriggerPrimitiveSample> &tcp_out,
148 std::vector<EcalTriggerPrimitiveSample> &tcp_outTcc,
188 std::cout <<
"output of TCP formatter Barrel is a vector of size: " <<
std::dec << tcp_out.size() << std::endl;
190 for (
unsigned int i = 0;
i < tcp_out.size();
i++) {
206 std::vector<EcalTriggerPrimitiveSample> &tcp_out,
207 std::vector<EcalTriggerPrimitiveSample> &tcp_outTcc,
232 std::cout <<
"output of TCP formatter(endcap) is a vector of size: " <<
std::dec << tcp_out.size() << std::endl;
234 for (
unsigned int i = 0;
i < tcp_out.size();
i++) {
Linearisation for Tcp input: 16 bits output: 12 bits +1 going to fgvb (???)
std::vector< int > adder_out_
virtual std::vector< int > process(const std::vector< EBDataFrame * > &)
void process_part2_barrel(std::vector< std::vector< int >> &, int nStr, int bitMask, 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)
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
EcalFenixTcpsFgvbEB * getsFGVBEB() const
void process_part2_endcap(std::vector< std::vector< int >> &, int nStr, int bitMask, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGTowerStatus *ecaltpgBadTT, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, bool isInInnerRings, EcalTrigTowerDetId towid)
void process(std::vector< int > &add_out, std::vector< int > &maxof2_out, std::vector< int > &output)
std::vector< int > maxOf2_out_
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
calculation of strip Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
void process(const edm::EventSetup &setup, std::vector< EBDataFrame > &bid, std::vector< std::vector< int >> &tpframetow, int nStr, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, bool isInInnerRings, EcalTrigTowerDetId thisTower)
const EcalTPGLutGroup * ecaltpgLutGroup_
EcalFenixFgvbEB * getFGVBEB() const
EcalFenixEtTot * getAdder() const
std::vector< int > fgvb_out_
std::vector< std::vector< int > > bypasslin_out_
EcalFenixTcpFormat * formatter_
void process(std::vector< std::vector< int >> &bypasslin_out, int nStr, int bitMask, std::vector< int > &output)
const EcalTPGSpike * ecaltpgSpike_
EcalFenixTcpFgvbEE * getFGVBEE() const
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
calculation of Fgvb for Fenix Tcp, format endcap calculates fgvb for the endcap
EcalFenixTcpFormat * getFormatter() const
EcalFenixTcpsFgvbEB * sfgvbEB_
void setParameters(uint32_t towid, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE)
class for calculation of Et for Fenix tcp calculates the sum
constexpr uint32_t rawId() const
get the raw id
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
EcalFenixTcp(const edm::EventSetup &setup, bool tcpFormat, bool debug, bool famos, int binOfMax, int maxNrSamples, int nbMaxStrips)
const EcalTPGLutIdMap * ecaltpgLut_
EcalFenixFgvbEB * fgvbEB_
void setParameters(uint32_t towid, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB)
void process(std::vector< std::vector< int >> &bypasslin_out, int nStr, int bitMask, std::vector< int > &output)
void process_part1(std::vector< std::vector< int >> &tpframetow, int nStr, int bitMask)
const EcalTPGTowerStatus * ecaltpgBadTT_
EcalFenixMaxof2 * getMaxOf2() const
std::vector< EcalFenixBypassLin * > bypasslin_
std::vector< int > strip_fgvb_out_
void process(std::vector< std::vector< int >> &, int nStr, int bitMask, std::vector< int > &out)
EcalFenixMaxof2 * maxOf2_
EcalFenixTcpFgvbEE * fgvbEE_