CMS 3D CMS Logo

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 33 of file EcalFenixTcp.h.

Constructor & Destructor Documentation

◆ EcalFenixTcp()

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.

21  : debug_(debug), nbMaxStrips_(nbMaxStrips) {
22  bypasslin_.resize(nbMaxStrips_);
23  for (int i = 0; i < nbMaxStrips_; i++)
25  adder_ = new EcalFenixEtTot();
26  maxOf2_ = new EcalFenixMaxof2(maxNrSamples, nbMaxStrips_);
27  formatter_ = new EcalFenixTcpFormat(tcpFormat, debug_, famos, binOfMax);
28  fgvbEB_ = new EcalFenixFgvbEB(maxNrSamples);
29  fgvbEE_ = new EcalFenixTcpFgvbEE(maxNrSamples);
31 
32  // permanent data structures
34  std::vector<int> vec(maxNrSamples, 0);
35  for (int i = 0; i < nbMaxStrips_; i++)
36  bypasslin_out_[i] = vec;
37  adder_out_.resize(maxNrSamples);
38  maxOf2_out_.resize(maxNrSamples);
39  fgvb_out_.resize(maxNrSamples);
40  strip_fgvb_out_.resize(maxNrSamples);
41 }

References adder_, adder_out_, bypasslin_, bypasslin_out_, debug_, fgvb_out_, fgvbEB_, fgvbEE_, formatter_, mps_fire::i, maxOf2_, maxOf2_out_, nbMaxStrips_, sfgvbEB_, and strip_fgvb_out_.

◆ ~EcalFenixTcp()

EcalFenixTcp::~EcalFenixTcp ( )
virtual

Definition at line 43 of file EcalFenixTcp.cc.

43  {
44  for (int i = 0; i < nbMaxStrips_; i++)
45  delete bypasslin_[i];
46  delete adder_;
47  delete maxOf2_;
48  delete formatter_;
49  delete fgvbEB_;
50  delete fgvbEE_;
51 }

References adder_, bypasslin_, fgvbEB_, fgvbEE_, formatter_, mps_fire::i, maxOf2_, and nbMaxStrips_.

Member Function Documentation

◆ getAdder()

EcalFenixEtTot* EcalFenixTcp::getAdder ( ) const
inline

Definition at line 128 of file EcalFenixTcp.h.

128 { return adder_; }

References adder_.

Referenced by process_part1().

◆ getBypasslin()

EcalFenixBypassLin* EcalFenixTcp::getBypasslin ( int  i) const
inline

Definition at line 127 of file EcalFenixTcp.h.

127 { return bypasslin_[i]; }

References bypasslin_, and mps_fire::i.

◆ getFGVBEB()

EcalFenixFgvbEB* EcalFenixTcp::getFGVBEB ( ) const
inline

Definition at line 131 of file EcalFenixTcp.h.

131 { return fgvbEB_; }

References fgvbEB_.

Referenced by process_part2_barrel().

◆ getFGVBEE()

EcalFenixTcpFgvbEE* EcalFenixTcp::getFGVBEE ( ) const
inline

Definition at line 132 of file EcalFenixTcp.h.

132 { return fgvbEE_; }

References fgvbEE_.

Referenced by process_part2_endcap().

◆ getFormatter()

EcalFenixTcpFormat* EcalFenixTcp::getFormatter ( ) const
inline

Definition at line 130 of file EcalFenixTcp.h.

130 { return formatter_; }

References formatter_.

Referenced by process_part2_barrel(), and process_part2_endcap().

◆ getMaxOf2()

EcalFenixMaxof2* EcalFenixTcp::getMaxOf2 ( ) const
inline

Definition at line 129 of file EcalFenixTcp.h.

129 { return maxOf2_; }

References maxOf2_.

Referenced by process_part2_barrel().

◆ getsFGVBEB()

EcalFenixTcpsFgvbEB* EcalFenixTcp::getsFGVBEB ( ) const
inline

Definition at line 133 of file EcalFenixTcp.h.

133 { return sfgvbEB_; }

References sfgvbEB_.

Referenced by process_part2_barrel().

◆ process() [1/2]

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 54 of file EcalFenixTcp.cc.

61  {
62  int bitMask = 12;
63  process_part1(tpframetow, nStr, bitMask);
64 
65  process_part2_barrel(tpframetow,
66  nStr,
67  bitMask,
74  tptow,
75  tptow2,
76  towid);
77 }

References ecaltpgBadTT_, ecaltpgFgEBGroup_, ecaltpgFineGrainEB_, ecaltpgLut_, ecaltpgLutGroup_, ecaltpgSpike_, process_part1(), and process_part2_barrel().

Referenced by EcalTrigPrimFunctionalAlgo::run_part2().

◆ process() [2/2]

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 80 of file EcalFenixTcp.cc.

87  {
88  int bitMask = 12; // Pascal: endcap has 12 bits as in EB (bug in FENIX!!!!)
89  // {was 10 before]
90  process_part1(tpframetow, nStr, bitMask);
91 
92  process_part2_endcap(tpframetow,
93  nStr,
94  bitMask,
99  tptow,
100  tptow2,
101  isInInnerRing,
102  towid);
103 }

References ecaltpgBadTT_, ecaltpgFineGrainTowerEE_, ecaltpgLut_, ecaltpgLutGroup_, process_part1(), and process_part2_endcap().

◆ process_part1()

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

Definition at line 105 of file EcalFenixTcp.cc.

105  {
106  // //call bypasslin
107  // for (int istrip=0;istrip<nStr;istrip ++){
108  // this->getBypasslin(istrip)->process(tpframetow[istrip],bypasslin_out_[istrip]);
109  // }
110  // //this is a test
111  // if (debug_) {
112  // std::cout<<"bypasslinout = "<<std::endl;
113  // for (int istrip=0;istrip<nStr;istrip ++){
114  // std::vector<int> stripin= bypasslin_out_[istrip];
115  // for (unsigned int is=0;is<stripin.size();is++){
116  // std::cout<<stripin[is]<<" ";
117  // }
118  // std::cout<<std::endl;
119  // }
120  // }
121 
122  // //call adder
123  // this->getAdder()->process(bypasslin_out_, nStr, bitMask,adder_out_);
124  this->getAdder()->process(tpframetow, nStr, bitMask, adder_out_);
125  // this is a test:
126  if (debug_) {
127  std::cout << "output of adder is a vector of size: " << adder_out_.size() << std::endl;
128  std::cout << "value : " << std::endl;
129  for (unsigned int i = 0; i < adder_out_.size(); i++) {
130  std::cout << " " << adder_out_[i];
131  }
132  std::cout << std::endl;
133  }
134  // return adder_out;
135  return;
136 }

References adder_out_, gather_cfg::cout, debug_, getAdder(), mps_fire::i, and EcalFenixEtTot::process().

Referenced by process().

◆ process_part2_barrel()

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 138 of file EcalFenixTcp.cc.

149  {
150  // call maxof2
151  // this->getMaxOf2()->process(bypasslin_out_,nStr,maxOf2_out_);
152  this->getMaxOf2()->process(bypasslinout, nStr, bitMask, maxOf2_out_);
153  // this is a test:
154  if (debug_) {
155  std::cout << "output of maxof2 is a vector of size: " << maxOf2_out_.size() << std::endl;
156  std::cout << "value : " << std::endl;
157  for (unsigned int i = 0; i < maxOf2_out_.size(); i++) {
158  std::cout << " " << std::dec << maxOf2_out_[i];
159  }
160  std::cout << std::endl;
161  }
162 
163  // call fgvb
164 
165  this->getFGVBEB()->setParameters(towid.rawId(), ecaltpgFgEBGroup, ecaltpgFineGrainEB);
167 
168  // Call sFGVB
169  this->getsFGVBEB()->process(bypasslinout, nStr, bitMask, strip_fgvb_out_);
170 
171  // this is a test:
172  if (debug_) {
173  std::cout << "output of fgvb is a vector of size: " << fgvb_out_.size() << std::endl;
174  std::cout << "value : " << std::endl;
175  for (unsigned int i = 0; i < fgvb_out_.size(); i++) {
176  std::cout << " " << std::dec << fgvb_out_[i];
177  }
178  std::cout << std::endl;
179  }
180 
181  // call formatter
182  int eTTotShift = 2;
183 
184  this->getFormatter()->setParameters(towid.rawId(), ecaltpgLutGroup, ecaltpgLut, ecaltpgBadTT, ecaltpgSpike);
185  this->getFormatter()->process(adder_out_, fgvb_out_, strip_fgvb_out_, eTTotShift, tcp_out, tcp_outTcc, false);
186  // this is a test:
187  if (debug_) {
188  std::cout << "output of TCP formatter Barrel is a vector of size: " << std::dec << tcp_out.size() << std::endl;
189  std::cout << "value : " << std::endl;
190  for (unsigned int i = 0; i < tcp_out.size(); i++) {
191  std::cout << " " << i << " " << std::dec << tcp_out[i];
192  }
193  std::cout << std::endl;
194  }
195 
196  return;
197 }

References adder_out_, gather_cfg::cout, debug_, TauDecayModes::dec, fgvb_out_, getFGVBEB(), getFormatter(), getMaxOf2(), getsFGVBEB(), mps_fire::i, maxOf2_out_, EcalFenixTcpsFgvbEB::process(), EcalFenixMaxof2::process(), EcalFenixTcpFormat::process(), EcalFenixFgvbEB::process(), DetId::rawId(), EcalFenixFgvbEB::setParameters(), EcalFenixTcpFormat::setParameters(), and strip_fgvb_out_.

Referenced by process().

◆ process_part2_endcap()

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 199 of file EcalFenixTcp.cc.

211 {
212  // Zero EB strip records
213  for (unsigned int i = 0; i < strip_fgvb_out_.size(); ++i) {
214  strip_fgvb_out_[i] = 0;
215  }
216 
217  // call fgvb
218  this->getFGVBEE()->setParameters(towid.rawId(), ecaltpgFineGrainTowerEE);
219  // fgvbEE_->process(bypasslin_out_,nStr,bitMask,fgvb_out_);
220  fgvbEE_->process(bypasslinout, nStr, bitMask, fgvb_out_);
221 
222  // call formatter
223  int eTTotShift = 2; // Pascal: endcap has 12 bits as in EB (bug in FENIX!!!!)
224  // so shift must be applied to just keep [11:2]
225 
226  this->getFormatter()->setParameters(towid.rawId(), ecaltpgLutGroup, ecaltpgLut, ecaltpgbadTT, nullptr);
227 
228  this->getFormatter()->process(
229  adder_out_, fgvb_out_, strip_fgvb_out_, eTTotShift, tcp_out, tcp_outTcc, isInInnerRings);
230  // this is a test:
231  if (debug_) {
232  std::cout << "output of TCP formatter(endcap) is a vector of size: " << std::dec << tcp_out.size() << std::endl;
233  std::cout << "value : " << std::endl;
234  for (unsigned int i = 0; i < tcp_out.size(); i++) {
235  std::cout << " " << i << " " << std::dec << tcp_out[i] << std::endl;
236  }
237  std::cout << std::endl;
238  }
239  return;
240 }

References adder_out_, gather_cfg::cout, debug_, TauDecayModes::dec, fgvb_out_, fgvbEE_, getFGVBEE(), getFormatter(), mps_fire::i, EcalFenixTcpFormat::process(), EcalFenixTcpFgvbEE::process(), DetId::rawId(), EcalFenixTcpFgvbEE::setParameters(), EcalFenixTcpFormat::setParameters(), and strip_fgvb_out_.

Referenced by process().

◆ setPointers()

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 57 of file EcalFenixTcp.h.

63  {
64  ecaltpgFgEBGroup_ = ecaltpgFgEBGroup;
65  ecaltpgLutGroup_ = ecaltpgLutGroup;
66  ecaltpgLut_ = ecaltpgLut;
67  ecaltpgFineGrainEB_ = ecaltpgFineGrainEB;
68  ecaltpgFineGrainTowerEE_ = ecaltpgFineGrainTowerEE;
69  ecaltpgBadTT_ = ecaltpgBadTT;
70  ecaltpgSpike_ = ecaltpgSpike;
71  }

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

Referenced by EcalTrigPrimFunctionalAlgo::setPointers2().

Member Data Documentation

◆ adder_

EcalFenixEtTot* EcalFenixTcp::adder_
private

Definition at line 41 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), getAdder(), and ~EcalFenixTcp().

◆ adder_out_

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

◆ bypasslin_

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

Definition at line 40 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), getBypasslin(), and ~EcalFenixTcp().

◆ bypasslin_out_

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

Definition at line 49 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp().

◆ debug_

bool EcalFenixTcp::debug_
private

◆ ecaltpgBadTT_

const EcalTPGTowerStatus* EcalFenixTcp::ecaltpgBadTT_

Definition at line 140 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ ecaltpgFgEBGroup_

const EcalTPGFineGrainEBGroup* EcalFenixTcp::ecaltpgFgEBGroup_

Definition at line 135 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ ecaltpgFineGrainEB_

const EcalTPGFineGrainEBIdMap* EcalFenixTcp::ecaltpgFineGrainEB_

Definition at line 138 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ ecaltpgFineGrainTowerEE_

const EcalTPGFineGrainTowerEE* EcalFenixTcp::ecaltpgFineGrainTowerEE_

Definition at line 139 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ ecaltpgLut_

const EcalTPGLutIdMap* EcalFenixTcp::ecaltpgLut_

Definition at line 137 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ ecaltpgLutGroup_

const EcalTPGLutGroup* EcalFenixTcp::ecaltpgLutGroup_

Definition at line 136 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ ecaltpgSpike_

const EcalTPGSpike* EcalFenixTcp::ecaltpgSpike_

Definition at line 141 of file EcalFenixTcp.h.

Referenced by process(), and setPointers().

◆ fgvb_out_

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

Definition at line 52 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), process_part2_barrel(), and process_part2_endcap().

◆ fgvbEB_

EcalFenixFgvbEB* EcalFenixTcp::fgvbEB_
private

Definition at line 42 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), getFGVBEB(), and ~EcalFenixTcp().

◆ fgvbEE_

EcalFenixTcpFgvbEE* EcalFenixTcp::fgvbEE_
private

Definition at line 43 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), getFGVBEE(), process_part2_endcap(), and ~EcalFenixTcp().

◆ formatter_

EcalFenixTcpFormat* EcalFenixTcp::formatter_
private

Definition at line 46 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), getFormatter(), and ~EcalFenixTcp().

◆ maxOf2_

EcalFenixMaxof2* EcalFenixTcp::maxOf2_
private

Definition at line 39 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), getMaxOf2(), and ~EcalFenixTcp().

◆ maxOf2_out_

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

Definition at line 51 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), and process_part2_barrel().

◆ nbMaxStrips_

int EcalFenixTcp::nbMaxStrips_
private

Definition at line 37 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), and ~EcalFenixTcp().

◆ sfgvbEB_

EcalFenixTcpsFgvbEB* EcalFenixTcp::sfgvbEB_
private

Definition at line 44 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), and getsFGVBEB().

◆ strip_fgvb_out_

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

Definition at line 53 of file EcalFenixTcp.h.

Referenced by EcalFenixTcp(), process_part2_barrel(), and process_part2_endcap().

EcalFenixBypassLin
Linearisation for Tcp input: 16 bits output: 12 bits +1 going to fgvb (???)
Definition: EcalFenixBypassLin.h:16
mps_fire.i
i
Definition: mps_fire.py:428
EcalFenixTcp::adder_out_
std::vector< int > adder_out_
Definition: EcalFenixTcp.h:50
EcalFenixEtTot::process
virtual std::vector< int > process(const std::vector< EBDataFrame * > &)
Definition: EcalFenixEtTot.cc:8
EcalFenixTcp::process_part2_barrel
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)
Definition: EcalFenixTcp.cc:138
EcalFenixMaxof2
Definition: EcalFenixMaxof2.h:18
EcalFenixTcp::ecaltpgFgEBGroup_
const EcalTPGFineGrainEBGroup * ecaltpgFgEBGroup_
Definition: EcalFenixTcp.h:135
EcalFenixTcp::getsFGVBEB
EcalFenixTcpsFgvbEB * getsFGVBEB() const
Definition: EcalFenixTcp.h:133
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalFenixTcp::process_part2_endcap
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)
Definition: EcalFenixTcp.cc:199
EcalFenixTcp::nbMaxStrips_
int nbMaxStrips_
Definition: EcalFenixTcp.h:37
EcalFenixFgvbEB::process
void process(std::vector< int > &add_out, std::vector< int > &maxof2_out, std::vector< int > &output)
Definition: EcalFenixFgvbEB.cc:10
EcalFenixTcp::maxOf2_out_
std::vector< int > maxOf2_out_
Definition: EcalFenixTcp.h:51
EcalFenixFgvbEB
calculation of Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
Definition: EcalFenixFgvbEB.h:23
EcalFenixTcpsFgvbEB
calculation of strip Fgvb for Fenix Tcp, format barrel calculates fgvb for the barrel
Definition: EcalFenixTcpsFgvbEB.h:15
debug
#define debug
Definition: HDRShower.cc:19
EcalFenixTcp::ecaltpgLutGroup_
const EcalTPGLutGroup * ecaltpgLutGroup_
Definition: EcalFenixTcp.h:136
EcalFenixTcp::getFGVBEB
EcalFenixFgvbEB * getFGVBEB() const
Definition: EcalFenixTcp.h:131
EcalFenixTcp::debug_
bool debug_
Definition: EcalFenixTcp.h:35
EcalFenixTcp::getAdder
EcalFenixEtTot * getAdder() const
Definition: EcalFenixTcp.h:128
EcalFenixTcpFormat::process
void process(std::vector< int > &, std::vector< int > &)
Definition: EcalFenixTcpFormat.cc:19
EcalFenixTcp::fgvb_out_
std::vector< int > fgvb_out_
Definition: EcalFenixTcp.h:52
EcalFenixTcp::bypasslin_out_
std::vector< std::vector< int > > bypasslin_out_
Definition: EcalFenixTcp.h:49
EcalFenixTcp::adder_
EcalFenixEtTot * adder_
Definition: EcalFenixTcp.h:41
EcalFenixTcp::formatter_
EcalFenixTcpFormat * formatter_
Definition: EcalFenixTcp.h:46
EcalFenixTcpFgvbEE::process
void process(std::vector< std::vector< int >> &bypasslin_out, int nStr, int bitMask, std::vector< int > &output)
Definition: EcalFenixTcpFgvbEE.cc:12
EcalFenixTcp::ecaltpgSpike_
const EcalTPGSpike * ecaltpgSpike_
Definition: EcalFenixTcp.h:141
EcalFenixTcp::getFGVBEE
EcalFenixTcpFgvbEE * getFGVBEE() const
Definition: EcalFenixTcp.h:132
EcalFenixTcp::ecaltpgFineGrainEB_
const EcalTPGFineGrainEBIdMap * ecaltpgFineGrainEB_
Definition: EcalFenixTcp.h:138
EcalFenixTcpFgvbEE
calculation of Fgvb for Fenix Tcp, format endcap calculates fgvb for the endcap
Definition: EcalFenixTcpFgvbEE.h:24
EcalFenixTcp::getFormatter
EcalFenixTcpFormat * getFormatter() const
Definition: EcalFenixTcp.h:130
EcalFenixTcp::sfgvbEB_
EcalFenixTcpsFgvbEB * sfgvbEB_
Definition: EcalFenixTcp.h:44
EcalFenixTcpFgvbEE::setParameters
void setParameters(uint32_t towid, const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE)
Definition: EcalFenixTcpFgvbEE.cc:41
EcalFenixEtTot
class for calculation of Et for Fenix tcp calculates the sum
Definition: EcalFenixEtTot.h:25
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
EcalFenixTcp::ecaltpgFineGrainTowerEE_
const EcalTPGFineGrainTowerEE * ecaltpgFineGrainTowerEE_
Definition: EcalFenixTcp.h:139
EcalFenixTcpFormat
Definition: EcalFenixTcpFormat.h:22
EcalFenixTcp::ecaltpgLut_
const EcalTPGLutIdMap * ecaltpgLut_
Definition: EcalFenixTcp.h:137
EcalFenixTcp::fgvbEB_
EcalFenixFgvbEB * fgvbEB_
Definition: EcalFenixTcp.h:42
EcalFenixTcpFormat::setParameters
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike)
Definition: EcalFenixTcpFormat.cc:131
EcalFenixFgvbEB::setParameters
void setParameters(uint32_t towid, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB)
Definition: EcalFenixFgvbEB.cc:71
EcalFenixTcpsFgvbEB::process
void process(std::vector< std::vector< int >> &bypasslin_out, int nStr, int bitMask, std::vector< int > &output)
Definition: EcalFenixTcpsFgvbEB.cc:7
EcalFenixTcp::process_part1
void process_part1(std::vector< std::vector< int >> &tpframetow, int nStr, int bitMask)
Definition: EcalFenixTcp.cc:105
EcalFenixTcp::ecaltpgBadTT_
const EcalTPGTowerStatus * ecaltpgBadTT_
Definition: EcalFenixTcp.h:140
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
EcalFenixTcp::getMaxOf2
EcalFenixMaxof2 * getMaxOf2() const
Definition: EcalFenixTcp.h:129
EcalFenixTcp::bypasslin_
std::vector< EcalFenixBypassLin * > bypasslin_
Definition: EcalFenixTcp.h:40
EcalFenixTcp::strip_fgvb_out_
std::vector< int > strip_fgvb_out_
Definition: EcalFenixTcp.h:53
EcalFenixMaxof2::process
void process(std::vector< std::vector< int >> &, int nStr, int bitMask, std::vector< int > &out)
Definition: EcalFenixMaxof2.cc:13
EcalFenixTcp::maxOf2_
EcalFenixMaxof2 * maxOf2_
Definition: EcalFenixTcp.h:39
EcalFenixTcp::fgvbEE_
EcalFenixTcpFgvbEE * fgvbEE_
Definition: EcalFenixTcp.h:43