class representing the Fenix chip, format strip More...
#include <EcalFenixTcp.h>
Public Member Functions | |
EcalFenixTcp (const edm::EventSetup &setup, bool tcpFormat, bool debug, bool famos, int binOfMax, int maxNrSamples, int nbMaxStrips) | |
EcalFenixEtTot * | getAdder () const |
EcalFenixBypassLin * | getBypasslin (int i) const |
EcalFenixFgvbEB * | getFGVBEB () const |
EcalFenixTcpFgvbEE * | getFGVBEE () const |
EcalFenixTcpFormat * | getFormatter () const |
EcalFenixMaxof2 * | getMaxOf2 () const |
EcalFenixTcpsFgvbEB * | getsFGVBEB () const |
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 | process (const edm::EventSetup &setup, std::vector< EEDataFrame > &bid, std::vector< std::vector< int > > &tpframetow, int nStr, std::vector< EcalTriggerPrimitiveSample > &tptow, std::vector< EcalTriggerPrimitiveSample > &tptow2, bool isInInnerRings, EcalTrigTowerDetId thisTower) |
void | process_part1 (std::vector< std::vector< int > > &tpframetow, int nStr, int bitMask) |
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) |
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 | setPointers (const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGTowerStatus *ecaltpgBadTT, const EcalTPGSpike *ecaltpgSpike) |
virtual | ~EcalFenixTcp () |
Public Attributes | |
const EcalTPGTowerStatus * | ecaltpgBadTT_ |
const EcalTPGFineGrainEBGroup * | ecaltpgFgEBGroup_ |
const EcalTPGFineGrainEBIdMap * | ecaltpgFineGrainEB_ |
const EcalTPGFineGrainTowerEE * | ecaltpgFineGrainTowerEE_ |
const EcalTPGLutIdMap * | ecaltpgLut_ |
const EcalTPGLutGroup * | ecaltpgLutGroup_ |
const EcalTPGSpike * | ecaltpgSpike_ |
Private Attributes | |
EcalFenixEtTot * | adder_ |
std::vector< int > | adder_out_ |
std::vector< EcalFenixBypassLin * > | bypasslin_ |
std::vector< std::vector< int > > | bypasslin_out_ |
bool | debug_ |
std::vector< int > | fgvb_out_ |
EcalFenixFgvbEB * | fgvbEB_ |
EcalFenixTcpFgvbEE * | fgvbEE_ |
EcalFenixTcpFormat * | formatter_ |
EcalFenixMaxof2 * | maxOf2_ |
std::vector< int > | maxOf2_out_ |
int | nbMaxStrips_ |
EcalFenixTcpsFgvbEB * | sfgvbEB_ |
std::vector< int > | strip_fgvb_out_ |
class representing the Fenix chip, format strip
Definition at line 34 of file EcalFenixTcp.h.
EcalFenixTcp::EcalFenixTcp | ( | const edm::EventSetup & | setup, |
bool | tcpFormat, | ||
bool | debug, | ||
bool | famos, | ||
int | binOfMax, | ||
int | maxNrSamples, | ||
int | nbMaxStrips | ||
) |
Definition at line 14 of file EcalFenixTcp.cc.
References adder_, adder_out_, bypasslin_, bypasslin_out_, debug_, fgvb_out_, fgvbEB_, fgvbEE_, formatter_, i, maxOf2_, maxOf2_out_, nbMaxStrips_, sfgvbEB_, and strip_fgvb_out_.
|
virtual |
Definition at line 36 of file EcalFenixTcp.cc.
References adder_, bypasslin_, fgvbEB_, fgvbEE_, formatter_, i, maxOf2_, and nbMaxStrips_.
|
inline |
|
inline |
|
inline |
Definition at line 120 of file EcalFenixTcp.h.
References fgvbEB_.
Referenced by process_part2_barrel().
|
inline |
Definition at line 121 of file EcalFenixTcp.h.
References fgvbEE_.
Referenced by process_part2_endcap().
|
inline |
Definition at line 119 of file EcalFenixTcp.h.
References formatter_.
Referenced by process_part2_barrel(), and process_part2_endcap().
|
inline |
Definition at line 118 of file EcalFenixTcp.h.
References maxOf2_.
Referenced by process_part2_barrel().
|
inline |
Definition at line 122 of file EcalFenixTcp.h.
References sfgvbEB_.
Referenced by process_part2_barrel().
void EcalFenixTcp::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 | ||
) |
Definition at line 46 of file EcalFenixTcp.cc.
References ecaltpgBadTT_, ecaltpgFgEBGroup_, ecaltpgFineGrainEB_, ecaltpgLut_, ecaltpgLutGroup_, ecaltpgSpike_, process_part1(), and process_part2_barrel().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), EcalTrigPrimFunctionalAlgo::run_part2(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void EcalFenixTcp::process | ( | const edm::EventSetup & | setup, |
std::vector< EEDataFrame > & | bid, | ||
std::vector< std::vector< int > > & | tpframetow, | ||
int | nStr, | ||
std::vector< EcalTriggerPrimitiveSample > & | tptow, | ||
std::vector< EcalTriggerPrimitiveSample > & | tptow2, | ||
bool | isInInnerRings, | ||
EcalTrigTowerDetId | thisTower | ||
) |
Definition at line 62 of file EcalFenixTcp.cc.
References ecaltpgBadTT_, ecaltpgFineGrainTowerEE_, ecaltpgLut_, ecaltpgLutGroup_, process_part1(), and process_part2_endcap().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void EcalFenixTcp::process_part1 | ( | std::vector< std::vector< int > > & | tpframetow, |
int | nStr, | ||
int | bitMask | ||
) |
Definition at line 75 of file EcalFenixTcp.cc.
References adder_out_, gather_cfg::cout, debug_, getAdder(), i, and EcalFenixEtTot::process().
Referenced by process().
void EcalFenixTcp::process_part2_barrel | ( | std::vector< std::vector< int > > & | bypasslinout, |
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 | ||
) |
Definition at line 110 of file EcalFenixTcp.cc.
References adder_out_, gather_cfg::cout, debug_, fgvb_out_, getFGVBEB(), getFormatter(), getMaxOf2(), getsFGVBEB(), i, maxOf2_out_, EcalFenixTcpsFgvbEB::process(), EcalFenixMaxof2::process(), EcalFenixTcpFormat::process(), EcalFenixFgvbEB::process(), DetId::rawId(), EcalFenixTcpFormat::setParameters(), EcalFenixFgvbEB::setParameters(), and strip_fgvb_out_.
Referenced by process().
void EcalFenixTcp::process_part2_endcap | ( | std::vector< std::vector< int > > & | bypasslinout, |
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 | ||
) |
Definition at line 171 of file EcalFenixTcp.cc.
References adder_out_, gather_cfg::cout, debug_, fgvb_out_, fgvbEE_, getFGVBEE(), getFormatter(), i, EcalFenixTcpFormat::process(), EcalFenixTcpFgvbEE::process(), DetId::rawId(), EcalFenixTcpFormat::setParameters(), EcalFenixTcpFgvbEE::setParameters(), and strip_fgvb_out_.
Referenced by process().
|
inline |
Definition at line 59 of file EcalFenixTcp.h.
References ecaltpgBadTT_, ecaltpgFgEBGroup_, ecaltpgFineGrainEB_, ecaltpgFineGrainTowerEE_, ecaltpgLut_, ecaltpgLutGroup_, and ecaltpgSpike_.
Referenced by EcalTrigPrimFunctionalAlgo::setPointers2().
|
private |
Definition at line 43 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), getAdder(), and ~EcalFenixTcp().
|
private |
Definition at line 52 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), process_part1(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 42 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), getBypasslin(), and ~EcalFenixTcp().
|
private |
Definition at line 51 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp().
|
private |
Definition at line 37 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), process_part1(), process_part2_barrel(), and process_part2_endcap().
const EcalTPGTowerStatus* EcalFenixTcp::ecaltpgBadTT_ |
Definition at line 129 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
const EcalTPGFineGrainEBGroup* EcalFenixTcp::ecaltpgFgEBGroup_ |
Definition at line 124 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
const EcalTPGFineGrainEBIdMap* EcalFenixTcp::ecaltpgFineGrainEB_ |
Definition at line 127 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
const EcalTPGFineGrainTowerEE* EcalFenixTcp::ecaltpgFineGrainTowerEE_ |
Definition at line 128 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
const EcalTPGLutIdMap* EcalFenixTcp::ecaltpgLut_ |
Definition at line 126 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
const EcalTPGLutGroup* EcalFenixTcp::ecaltpgLutGroup_ |
Definition at line 125 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
const EcalTPGSpike* EcalFenixTcp::ecaltpgSpike_ |
Definition at line 130 of file EcalFenixTcp.h.
Referenced by process(), and setPointers().
|
private |
Definition at line 54 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), process_part2_barrel(), and process_part2_endcap().
|
private |
Definition at line 44 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), getFGVBEB(), and ~EcalFenixTcp().
|
private |
Definition at line 45 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), getFGVBEE(), process_part2_endcap(), and ~EcalFenixTcp().
|
private |
Definition at line 48 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), getFormatter(), and ~EcalFenixTcp().
|
private |
Definition at line 41 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), getMaxOf2(), and ~EcalFenixTcp().
|
private |
Definition at line 53 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), and process_part2_barrel().
|
private |
Definition at line 39 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), and ~EcalFenixTcp().
|
private |
Definition at line 46 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), and getsFGVBEB().
|
private |
Definition at line 55 of file EcalFenixTcp.h.
Referenced by EcalFenixTcp(), process_part2_barrel(), and process_part2_endcap().