1 #ifndef ECAL_FENIX_TCP_H
2 #define ECAL_FENIX_TCP_H
76 std::vector <EBDataFrame> &bid,
77 std::vector<std::vector<int> > & tpframetow,
int nStr,
78 std::vector< EcalTriggerPrimitiveSample> & tptow,
79 std::vector< EcalTriggerPrimitiveSample> & tptow2,
82 std::vector <EEDataFrame> &bid,
83 std::vector<std::vector<int> > & tpframetow,
int nStr,
84 std::vector< EcalTriggerPrimitiveSample> & tptow,
85 std::vector< EcalTriggerPrimitiveSample> & tptow2,
88 void process_part1(std::vector<std::vector<int> > &tpframetow,
int nStr,
int bitMask);
96 std::vector< EcalTriggerPrimitiveSample> &tptow,
97 std::vector< EcalTriggerPrimitiveSample> &tptow2,
105 std::vector< EcalTriggerPrimitiveSample> &tptow,
106 std::vector< EcalTriggerPrimitiveSample> &tptow2,
bool isInInnerRings,
void setPointers(const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGTowerStatus *ecaltpgBadTT)
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
EcalFenixMaxof2 * getMaxOf2() const
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_
void process_part1(std::vector< std::vector< int > > &tpframetow, int nStr, int bitMask)
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
std::vector< int > maxOf2_out_
EcalFenixTcpFormat * getFormatter() const
class representing the Fenix chip, format strip
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 (???)