1 #ifndef ECAL_FENIX_TCP_H 2 #define ECAL_FENIX_TCP_H 76 bool famos,
int binOfMax,
int maxNrSamples,
int nbMaxStrips);
81 std::vector<EBDataFrame> &bid,
82 std::vector<std::vector<int>> &tpframetow,
int nStr,
83 std::vector<EcalTriggerPrimitiveSample> &tptow,
84 std::vector<EcalTriggerPrimitiveSample> &tptow2,
bool isInInnerRings,
88 std::vector<EEDataFrame> &bid,
89 std::vector<std::vector<int>> &tpframetow,
int nStr,
90 std::vector<EcalTriggerPrimitiveSample> &tptow,
91 std::vector<EcalTriggerPrimitiveSample> &tptow2,
bool isInInnerRings,
94 void process_part1(std::vector<std::vector<int>> &tpframetow,
int nStr,
105 std::vector<EcalTriggerPrimitiveSample> &tptow,
106 std::vector<EcalTriggerPrimitiveSample> &tptow2,
115 std::vector<EcalTriggerPrimitiveSample> &tptow,
116 std::vector<EcalTriggerPrimitiveSample> &tptow2,
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 EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
class for calculation of Et for Fenix tcp calculates the sum
EcalFenixTcpsFgvbEB * sfgvbEB_
EcalFenixMaxof2 * maxOf2_
EcalFenixTcpFormat * formatter_
calculation of 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)
EcalFenixFgvbEB * getFGVBEB() const
def setup(process, global_tag, zero_tesla=False)
EcalFenixMaxof2 * getMaxOf2() const
const EcalTPGSpike * ecaltpgSpike_
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_
void process_part1(std::vector< std::vector< int >> &tpframetow, int nStr, int bitMask)
void setPointers(const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGTowerStatus *ecaltpgBadTT, const EcalTPGSpike *ecaltpgSpike)
const EcalTPGLutIdMap * ecaltpgLut_
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
EcalFenixTcpsFgvbEB * getsFGVBEB() const
EcalFenixEtTot * getAdder() const
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
class representing the Fenix chip, format strip
const EcalTPGLutGroup * ecaltpgLutGroup_
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 (???)
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)
calculation of strip Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel ...