27 std::vector<int> vec(maxNrSamples,0);
47 std::vector <EBDataFrame> &bid,
48 std::vector<std::vector<int> > & tpframetow,
int nStr,
49 std::vector< EcalTriggerPrimitiveSample> & tptow,
50 std::vector< EcalTriggerPrimitiveSample> & tptow2,
58 process_part2_barrel(tpframetow,nStr,bitMask,
ecaltpgFgEBGroup_,
ecaltpgLutGroup_,
ecaltpgLut_,
ecaltpgFineGrainEB_,
ecaltpgBadTT_,
ecaltpgSpike_,tptow,tptow2,towid);
63 std::vector <EEDataFrame> &bid,
64 std::vector<std::vector<int> > & tpframetow,
int nStr,
65 std::vector< EcalTriggerPrimitiveSample> & tptow,
66 std::vector< EcalTriggerPrimitiveSample> & tptow2,
72 process_part2_endcap(tpframetow,nStr,bitMask,
ecaltpgLutGroup_,
ecaltpgLut_,
ecaltpgFineGrainTowerEE_,
ecaltpgBadTT_,tptow,tptow2,isInInnerRing, towid);
111 int nStr,
int bitMask,
118 std::vector< EcalTriggerPrimitiveSample> & tcp_out,
119 std::vector< EcalTriggerPrimitiveSample> & tcp_outTcc,
160 std::cout<<
"output of TCP formatter Barrel is a vector of size: "<<
std::dec<<tcp_out.size()<<std::endl;
162 for (
unsigned int i =0;
i<tcp_out.size();
i++){
176 std::vector< EcalTriggerPrimitiveSample> & tcp_out,
177 std::vector< EcalTriggerPrimitiveSample> & tcp_outTcc,
bool isInInnerRings,
200 std::cout<<
"output of TCP formatter(endcap) is a vector of size: "<<
std::dec<<tcp_out.size()<<std::endl;
202 for (
unsigned int i =0;
i<tcp_out.size();
i++){
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
void setParameters(uint32_t towid, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB)
class for calculation of Et for Fenix tcp calculates the sum
void process(std::vector< std::vector< int > > &, int nStr, int bitMask, std::vector< int > &out)
EcalFenixTcpsFgvbEB * sfgvbEB_
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
void process(std::vector< std::vector< int > > &bypasslin_out, int nStr, int bitMask, std::vector< int > &output)
const EcalTPGSpike * ecaltpgSpike_
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)
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 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_
EcalFenixTcpsFgvbEB * getsFGVBEB() const
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
std::vector< int > maxOf2_out_
std::vector< int > strip_fgvb_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 (???)
calculation of strip Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel ...