CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Attributes
EcalFenixTcp Class Reference

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)
 
EcalFenixEtTotgetAdder () const
 
EcalFenixBypassLingetBypasslin (int i) const
 
EcalFenixFgvbEBgetFGVBEB () const
 
EcalFenixTcpFgvbEEgetFGVBEE () const
 
EcalFenixTcpFormatgetFormatter () const
 
EcalFenixMaxof2getMaxOf2 () const
 
EcalFenixTcpsFgvbEBgetsFGVBEB () 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 EcalTPGTowerStatusecaltpgBadTT_
 
const EcalTPGFineGrainEBGroupecaltpgFgEBGroup_
 
const EcalTPGFineGrainEBIdMapecaltpgFineGrainEB_
 
const EcalTPGFineGrainTowerEEecaltpgFineGrainTowerEE_
 
const EcalTPGLutIdMapecaltpgLut_
 
const EcalTPGLutGroupecaltpgLutGroup_
 
const EcalTPGSpikeecaltpgSpike_
 

Private Attributes

EcalFenixEtTotadder_
 
std::vector< int > adder_out_
 
std::vector< EcalFenixBypassLin * > bypasslin_
 
std::vector< std::vector< int > > bypasslin_out_
 
bool debug_
 
std::vector< int > fgvb_out_
 
EcalFenixFgvbEBfgvbEB_
 
EcalFenixTcpFgvbEEfgvbEE_
 
EcalFenixTcpFormatformatter_
 
EcalFenixMaxof2maxOf2_
 
std::vector< int > maxOf2_out_
 
int nbMaxStrips_
 
EcalFenixTcpsFgvbEBsfgvbEB_
 
std::vector< int > strip_fgvb_out_
 

Detailed Description

class representing the Fenix chip, format strip

Definition at line 34 of file EcalFenixTcp.h.

Constructor & Destructor Documentation

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.

EcalFenixTcp::~EcalFenixTcp ( )
virtual

Definition at line 36 of file EcalFenixTcp.cc.

Member Function Documentation

EcalFenixEtTot* EcalFenixTcp::getAdder ( ) const
inline

Definition at line 117 of file EcalFenixTcp.h.

References adder_.

117 { return adder_;}
EcalFenixEtTot * adder_
Definition: EcalFenixTcp.h:43
EcalFenixBypassLin* EcalFenixTcp::getBypasslin ( int  i) const
inline

Definition at line 116 of file EcalFenixTcp.h.

References bypasslin_, and i.

116 {return bypasslin_[i];}
int i
Definition: DBlmapReader.cc:9
std::vector< EcalFenixBypassLin * > bypasslin_
Definition: EcalFenixTcp.h:42
EcalFenixFgvbEB* EcalFenixTcp::getFGVBEB ( ) const
inline

Definition at line 120 of file EcalFenixTcp.h.

References fgvbEB_.

120 {return fgvbEB_;}
EcalFenixFgvbEB * fgvbEB_
Definition: EcalFenixTcp.h:44
EcalFenixTcpFgvbEE* EcalFenixTcp::getFGVBEE ( ) const
inline

Definition at line 121 of file EcalFenixTcp.h.

References fgvbEE_.

121 {return fgvbEE_;}
EcalFenixTcpFgvbEE * fgvbEE_
Definition: EcalFenixTcp.h:45
EcalFenixTcpFormat* EcalFenixTcp::getFormatter ( ) const
inline

Definition at line 119 of file EcalFenixTcp.h.

References formatter_.

119 {return formatter_;}
EcalFenixTcpFormat * formatter_
Definition: EcalFenixTcp.h:48
EcalFenixMaxof2* EcalFenixTcp::getMaxOf2 ( ) const
inline

Definition at line 118 of file EcalFenixTcp.h.

References maxOf2_.

118 {return maxOf2_;}
EcalFenixMaxof2 * maxOf2_
Definition: EcalFenixTcp.h:41
EcalFenixTcpsFgvbEB* EcalFenixTcp::getsFGVBEB ( ) const
inline

Definition at line 122 of file EcalFenixTcp.h.

References sfgvbEB_.

122 {return sfgvbEB_;}
EcalFenixTcpsFgvbEB * sfgvbEB_
Definition: EcalFenixTcp.h:46
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.

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.

void EcalFenixTcp::process_part1 ( std::vector< std::vector< int > > &  tpframetow,
int  nStr,
int  bitMask 
)

Definition at line 75 of file EcalFenixTcp.cc.

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.

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.

void EcalFenixTcp::setPointers ( const EcalTPGFineGrainEBGroup ecaltpgFgEBGroup,
const EcalTPGLutGroup ecaltpgLutGroup,
const EcalTPGLutIdMap ecaltpgLut,
const EcalTPGFineGrainEBIdMap ecaltpgFineGrainEB,
const EcalTPGFineGrainTowerEE ecaltpgFineGrainTowerEE,
const EcalTPGTowerStatus ecaltpgBadTT,
const EcalTPGSpike ecaltpgSpike 
)
inline

Definition at line 59 of file EcalFenixTcp.h.

References ecaltpgBadTT_, ecaltpgFgEBGroup_, ecaltpgFineGrainEB_, ecaltpgFineGrainTowerEE_, ecaltpgLut_, ecaltpgLutGroup_, and ecaltpgSpike_.

66  {
67  ecaltpgFgEBGroup_=ecaltpgFgEBGroup;
68  ecaltpgLutGroup_=ecaltpgLutGroup;
69  ecaltpgLut_=ecaltpgLut;
70  ecaltpgFineGrainEB_=ecaltpgFineGrainEB;
71  ecaltpgFineGrainTowerEE_=ecaltpgFineGrainTowerEE;
72  ecaltpgBadTT_=ecaltpgBadTT;
73  ecaltpgSpike_=ecaltpgSpike;
74  }
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
Definition: EcalFenixTcp.h:127
const EcalTPGSpike * ecaltpgSpike_
Definition: EcalFenixTcp.h:130
const EcalTPGTowerStatus * ecaltpgBadTT_
Definition: EcalFenixTcp.h:129
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
Definition: EcalFenixTcp.h:124
const EcalTPGLutIdMap * ecaltpgLut_
Definition: EcalFenixTcp.h:126
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
Definition: EcalFenixTcp.h:128
const EcalTPGLutGroup * ecaltpgLutGroup_
Definition: EcalFenixTcp.h:125

Member Data Documentation

EcalFenixEtTot* EcalFenixTcp::adder_
private

Definition at line 43 of file EcalFenixTcp.h.

Referenced by getAdder().

std::vector<int> EcalFenixTcp::adder_out_
private

Definition at line 52 of file EcalFenixTcp.h.

std::vector<EcalFenixBypassLin *> EcalFenixTcp::bypasslin_
private

Definition at line 42 of file EcalFenixTcp.h.

Referenced by getBypasslin().

std::vector<std::vector<int> > EcalFenixTcp::bypasslin_out_
private

Definition at line 51 of file EcalFenixTcp.h.

bool EcalFenixTcp::debug_
private

Definition at line 37 of file EcalFenixTcp.h.

const EcalTPGTowerStatus* EcalFenixTcp::ecaltpgBadTT_

Definition at line 129 of file EcalFenixTcp.h.

Referenced by setPointers().

const EcalTPGFineGrainEBGroup* EcalFenixTcp::ecaltpgFgEBGroup_

Definition at line 124 of file EcalFenixTcp.h.

Referenced by setPointers().

const EcalTPGFineGrainEBIdMap* EcalFenixTcp::ecaltpgFineGrainEB_

Definition at line 127 of file EcalFenixTcp.h.

Referenced by setPointers().

const EcalTPGFineGrainTowerEE* EcalFenixTcp::ecaltpgFineGrainTowerEE_

Definition at line 128 of file EcalFenixTcp.h.

Referenced by setPointers().

const EcalTPGLutIdMap* EcalFenixTcp::ecaltpgLut_

Definition at line 126 of file EcalFenixTcp.h.

Referenced by setPointers().

const EcalTPGLutGroup* EcalFenixTcp::ecaltpgLutGroup_

Definition at line 125 of file EcalFenixTcp.h.

Referenced by setPointers().

const EcalTPGSpike* EcalFenixTcp::ecaltpgSpike_

Definition at line 130 of file EcalFenixTcp.h.

Referenced by setPointers().

std::vector<int> EcalFenixTcp::fgvb_out_
private

Definition at line 54 of file EcalFenixTcp.h.

EcalFenixFgvbEB* EcalFenixTcp::fgvbEB_
private

Definition at line 44 of file EcalFenixTcp.h.

Referenced by getFGVBEB().

EcalFenixTcpFgvbEE* EcalFenixTcp::fgvbEE_
private

Definition at line 45 of file EcalFenixTcp.h.

Referenced by getFGVBEE().

EcalFenixTcpFormat* EcalFenixTcp::formatter_
private

Definition at line 48 of file EcalFenixTcp.h.

Referenced by getFormatter().

EcalFenixMaxof2* EcalFenixTcp::maxOf2_
private

Definition at line 41 of file EcalFenixTcp.h.

Referenced by getMaxOf2().

std::vector<int> EcalFenixTcp::maxOf2_out_
private

Definition at line 53 of file EcalFenixTcp.h.

int EcalFenixTcp::nbMaxStrips_
private

Definition at line 39 of file EcalFenixTcp.h.

EcalFenixTcpsFgvbEB* EcalFenixTcp::sfgvbEB_
private

Definition at line 46 of file EcalFenixTcp.h.

Referenced by getsFGVBEB().

std::vector<int> EcalFenixTcp::strip_fgvb_out_
private

Definition at line 55 of file EcalFenixTcp.h.