26 std::vector<int> vec(maxNrSamples,0);
45 std::vector <EBDataFrame> &bid,
46 std::vector<std::vector<int> > & tpframetow,
int nStr,
47 std::vector< EcalTriggerPrimitiveSample> & tptow,
48 std::vector< EcalTriggerPrimitiveSample> & tptow2,
61 std::vector <EEDataFrame> &bid,
62 std::vector<std::vector<int> > & tpframetow,
int nStr,
63 std::vector< EcalTriggerPrimitiveSample> & tptow,
64 std::vector< EcalTriggerPrimitiveSample> & tptow2,
70 process_part2_endcap(tpframetow,nStr,bitMask,
ecaltpgLutGroup_,
ecaltpgLut_,
ecaltpgFineGrainTowerEE_,
ecaltpgBadTT_,tptow,tptow2,isInInnerRing, towid);
114 std::vector< EcalTriggerPrimitiveSample> & tcp_out,
115 std::vector< EcalTriggerPrimitiveSample> & tcp_outTcc,
152 std::cout<<
"output of TCP formatter Barrel is a vector of size: "<<std::dec<<tcp_out.size()<<std::endl;
154 for (
unsigned int i =0;
i<tcp_out.size();
i++){
168 std::vector< EcalTriggerPrimitiveSample> & tcp_out,
169 std::vector< EcalTriggerPrimitiveSample> & tcp_outTcc,
bool isInInnerRings,
186 std::cout<<
"output of TCP formatter(endcap) is a vector of size: "<<std::dec<<tcp_out.size()<<std::endl;
188 for (
unsigned int i =0;
i<tcp_out.size();
i++){
189 std::cout <<
" "<<
i<<
" "<<std::dec<<tcp_out[
i]<<std::endl;
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
void setParameters(uint32_t towid, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB)
void process_part2_barrel(std::vector< std::vector< int > > &, int nStr, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB, const EcalTPGTowerStatus *ecaltpgBadTT, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, EcalTrigTowerDetId towid)
class for calculation of Et for Fenix tcp calculates the sum
EcalFenixMaxof2 * maxOf2_
EcalFenixTcpFormat * formatter_
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
EcalFenixFgvbEB * getFGVBEB() const
void process(std::vector< int > &add_out, std::vector< int > &maxof2_out, std::vector< int > &output)
EcalFenixMaxof2 * getMaxOf2() const
EcalFenixTcpFgvbEE * getFGVBEE() const
std::vector< int > fgvb_out_
uint32_t rawId() const
get the raw id
const EcalTPGTowerStatus * ecaltpgBadTT_
EcalFenixTcpFgvbEE * fgvbEE_
std::vector< EcalFenixBypassLin * > bypasslin_
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
void process(std::vector< std::vector< int > > &bypasslin_out, int nStr, int bitMask, std::vector< int > &output)
const EcalTPGLutIdMap * ecaltpgLut_
void process_part1(std::vector< std::vector< int > > &tpframetow, int nStr, int bitMask)
void setParameters(uint32_t towid, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE)
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
EcalFenixEtTot * getAdder() 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)
EcalFenixFgvbEB * fgvbEB_
calculation of Fgvb for Fenix Tcp, format endcap calculates fgvb for the endcap
void process(std::vector< std::vector< int > > &, int nStr, std::vector< int > &out)
std::vector< int > maxOf2_out_
EcalFenixTcpFormat * getFormatter() const
virtual std::vector< int > process(const std::vector< EBDataFrame * > &)
const EcalTPGLutGroup * ecaltpgLutGroup_
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)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::vector< std::vector< int > > bypasslin_out_
std::vector< int > adder_out_
EcalFenixTcp(const edm::EventSetup &setup, bool tcpFormat, bool debug, bool famos, int binOfMax, int maxNrSamples, int nbMaxStrips)
Linearisation for Tcp input: 16 bits output: 12 bits +1 going to fgvb (???)