CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EcalFenixStrip Class Reference

class representing the Fenix chip, format strip More...

#include <EcalFenixStrip.h>

Public Member Functions

 EcalFenixStrip (const EcalElectronicsMapping *theMapping, bool debug, bool famos, int maxNrSamples, int nbMaxXtals, bool TPinfoPrintout)
 
EcalFenixEtStripgetAdder () const
 
bool getbadStripMissing () const
 
EcalFenixAmplitudeFiltergetEvenFilter () const
 
EcalFenixStripFgvbEEgetFGVB () const
 
EcalFenixStripFormatEBgetFormatterEB () const
 
EcalFenixStripFormatEEgetFormatterEE () const
 
EcalFenixLinearizergetLinearizer (int i) const
 
EcalFenixOddAmplitudeFiltergetOddFilter () const
 
EcalFenixPeakFindergetPeakFinder () const
 
void process (std::vector< EBDataFrame > &samples, int nrXtals, std::vector< int > &out)
 
void process (std::vector< EEDataFrame > &samples, int nrXtals, std::vector< int > &out)
 
template<class T >
void process_part1 (int identif, std::vector< T > &df, int nrXtals, uint32_t stripid, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGOddWeightIdMap *ecaltpgOddWeightMap, const EcalTPGOddWeightGroup *ecaltpgOddWeightGroup, const EcalTPGCrystalStatus *ecaltpBadX)
 
void process_part2_barrel (uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE)
 
void process_part2_endcap (uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGStripStatus *ecaltpgStripStatus)
 
void setbadStripMissing (bool flag)
 
void setPointers (const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGOddWeightIdMap *ecaltpgOddWeightMap, const EcalTPGOddWeightGroup *ecaltpgOddWeightGroup, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGCrystalStatus *ecaltpgBadX, const EcalTPGStripStatus *ecaltpgStripStatus, const EcalTPGTPMode *ecaltpgTPMode)
 
virtual ~EcalFenixStrip ()
 

Private Attributes

std::vector< int > add_out_
 
EcalFenixEtStripadder_
 
EcalFenixAmplitudeFilteramplitude_filter_
 
bool debug_
 
const EcalTPGCrystalStatusecaltpgBadX_
 
const EcalTPGFineGrainStripEEecaltpgFgStripEE_
 
const EcalTPGOddWeightGroupecaltpgOddWeightGroup_
 
const EcalTPGOddWeightIdMapecaltpgOddWeightMap_
 
const EcalTPGSlidingWindowecaltpgSlidW_
 
const EcalTPGStripStatusecaltpgStripStatus_
 
const EcalTPGTPModeecaltpgTPMode_
 
const EcalTPGWeightGroupecaltpgWeightGroup_
 
const EcalTPGWeightIdMapecaltpgWeightMap_
 
const EcalTPGLinearizationConstecaltpLin_
 
const EcalTPGPedestalsecaltpPed_
 
std::vector< int > even_filt_out_
 
std::vector< int > even_peak_out_
 
bool famos_
 
EcalFenixStripFormatEBfenixFormatterEB_
 
EcalFenixStripFormatEEfenixFormatterEE_
 
std::vector< int > fgvb_out_
 
std::vector< int > fgvb_out_temp_
 
EcalFenixStripFgvbEEfgvbEE_
 
std::vector< int > format_out_
 
bool identif_
 
std::vector< std::vector< int > > lin_out_
 
std::vector< EcalFenixLinearizer * > linearizer_
 
int nbMaxXtals_
 
std::vector< int > odd_filt_out_
 
std::vector< int > odd_peak_out_
 
EcalFenixOddAmplitudeFilteroddAmplitude_filter_
 
EcalFenixPeakFinderpeak_finder_
 
const EcalElectronicsMappingtheMapping_
 
bool tpInfoPrintout_
 

Detailed Description

class representing the Fenix chip, format strip

Definition at line 31 of file EcalFenixStrip.h.

Constructor & Destructor Documentation

◆ EcalFenixStrip()

EcalFenixStrip::EcalFenixStrip ( const EcalElectronicsMapping theMapping,
bool  debug,
bool  famos,
int  maxNrSamples,
int  nbMaxXtals,
bool  TPinfoPrintout 
)

Definition at line 15 of file EcalFenixStrip.cc.

21  : theMapping_(theMapping), debug_(debug), famos_(famos), nbMaxXtals_(nbMaxXtals), tpInfoPrintout_(tpInfoPrintout) {
22  linearizer_.resize(nbMaxXtals_);
23  for (int i = 0; i < nbMaxXtals_; i++)
25  adder_ = new EcalFenixEtStrip();
26  amplitude_filter_ = new EcalFenixAmplitudeFilter(tpInfoPrintout);
32 
33  // prepare data storage for all events
34  std::vector<int> v;
35  v.resize(maxNrSamples);
36  lin_out_.resize(nbMaxXtals_);
37  for (int i = 0; i < 5; i++)
38  lin_out_[i] = v;
39  add_out_.resize(maxNrSamples);
40 
41  even_filt_out_.resize(maxNrSamples);
42  even_peak_out_.resize(maxNrSamples);
43  odd_filt_out_.resize(maxNrSamples);
44  odd_peak_out_.resize(maxNrSamples);
45 
46  format_out_.resize(maxNrSamples);
47  fgvb_out_.resize(maxNrSamples);
48  fgvb_out_temp_.resize(maxNrSamples);
49 }

References add_out_, adder_, amplitude_filter_, even_filt_out_, even_peak_out_, famos_, fenixFormatterEB_, fenixFormatterEE_, fgvb_out_, fgvb_out_temp_, fgvbEE_, format_out_, mps_fire::i, lin_out_, linearizer_, nbMaxXtals_, odd_filt_out_, odd_peak_out_, oddAmplitude_filter_, peak_finder_, and findQualityFiles::v.

◆ ~EcalFenixStrip()

EcalFenixStrip::~EcalFenixStrip ( )
virtual

Definition at line 52 of file EcalFenixStrip.cc.

52  {
53  for (int i = 0; i < nbMaxXtals_; i++)
54  delete linearizer_[i];
55  delete adder_;
56  delete amplitude_filter_;
57  delete oddAmplitude_filter_;
58  delete peak_finder_;
59  delete fenixFormatterEB_;
60  delete fenixFormatterEE_;
61  delete fgvbEE_;
62 }

References adder_, amplitude_filter_, fenixFormatterEB_, fenixFormatterEE_, fgvbEE_, mps_fire::i, linearizer_, nbMaxXtals_, oddAmplitude_filter_, and peak_finder_.

Member Function Documentation

◆ getAdder()

EcalFenixEtStrip* EcalFenixStrip::getAdder ( ) const
inline

Definition at line 151 of file EcalFenixStrip.h.

151 { return adder_; }

References adder_.

Referenced by process_part1().

◆ getbadStripMissing()

bool EcalFenixStrip::getbadStripMissing ( ) const
inline

Definition at line 162 of file EcalFenixStrip.h.

162 { return identif_; }

References identif_.

◆ getEvenFilter()

EcalFenixAmplitudeFilter* EcalFenixStrip::getEvenFilter ( ) const
inline

Definition at line 152 of file EcalFenixStrip.h.

152 { return amplitude_filter_; }

References amplitude_filter_.

Referenced by process_part1().

◆ getFGVB()

EcalFenixStripFgvbEE* EcalFenixStrip::getFGVB ( ) const
inline

Definition at line 159 of file EcalFenixStrip.h.

159 { return fgvbEE_; }

References fgvbEE_.

Referenced by process(), and process_part1().

◆ getFormatterEB()

EcalFenixStripFormatEB* EcalFenixStrip::getFormatterEB ( ) const
inline

Definition at line 156 of file EcalFenixStrip.h.

156 { return fenixFormatterEB_; }

References fenixFormatterEB_.

Referenced by process_part2_barrel().

◆ getFormatterEE()

EcalFenixStripFormatEE* EcalFenixStrip::getFormatterEE ( ) const
inline

Definition at line 157 of file EcalFenixStrip.h.

157 { return fenixFormatterEE_; }

References fenixFormatterEE_.

Referenced by process_part2_endcap().

◆ getLinearizer()

EcalFenixLinearizer* EcalFenixStrip::getLinearizer ( int  i) const
inline

Definition at line 150 of file EcalFenixStrip.h.

150 { return linearizer_[i]; }

References mps_fire::i, and linearizer_.

Referenced by process_part1().

◆ getOddFilter()

EcalFenixOddAmplitudeFilter* EcalFenixStrip::getOddFilter ( ) const
inline

Definition at line 153 of file EcalFenixStrip.h.

153 { return oddAmplitude_filter_; }

References oddAmplitude_filter_.

Referenced by process_part1().

◆ getPeakFinder()

EcalFenixPeakFinder* EcalFenixStrip::getPeakFinder ( ) const
inline

Definition at line 154 of file EcalFenixStrip.h.

154 { return peak_finder_; }

References peak_finder_.

Referenced by process_part1().

◆ process() [1/2]

void EcalFenixStrip::process ( std::vector< EBDataFrame > &  samples,
int  nrXtals,
std::vector< int > &  out 
)

Definition at line 64 of file EcalFenixStrip.cc.

64  {
65  // now call processing
66  if (samples.empty()) {
67  edm::LogWarning("EcalTPG") << "Warning: 0 size vector found in EcalFenixStripProcess!!!!!";
68  return;
69  }
71  uint32_t stripid = elId.rawId() & 0xfffffff8; // from Pascal
72 
74 
76  samples,
77  nrXtals,
78  stripid,
79  ecaltpPed_,
80  ecaltpLin_,
85  ecaltpgBadX_); // templated part
87  ecaltpgFgStripEE_); // part different for barrel/endcap
88  out = format_out_;
89 }

References ecaltpgBadX_, ecaltpgFgStripEE_, ecaltpgOddWeightGroup_, ecaltpgOddWeightMap_, ecaltpgSlidW_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, ecaltpPed_, format_out_, getFGVB(), EcalFenixStripFgvbEE::getMissedStripFlag(), EcalElectronicsMapping::getTriggerElectronicsId(), identif_, MillePedeFileConverter_cfg::out, process_part1(), process_part2_barrel(), EcalTriggerElectronicsId::rawId(), EgammaValidation_cff::samples, and theMapping_.

◆ process() [2/2]

void EcalFenixStrip::process ( std::vector< EEDataFrame > &  samples,
int  nrXtals,
std::vector< int > &  out 
)

Definition at line 91 of file EcalFenixStrip.cc.

91  {
92  // now call processing
93  if (samples.empty()) {
94  std::cout << " Warning: 0 size vector found in EcalFenixStripProcess!!!!!" << std::endl;
95  return;
96  }
98  uint32_t stripid = elId.rawId() & 0xfffffff8; // from Pascal
99 
101 
103  samples,
104  nrXtals,
105  stripid,
106  ecaltpPed_,
107  ecaltpLin_,
112  ecaltpgBadX_); // templated part
114  out = format_out_; // FIXME: timing
115  return;
116 }

References gather_cfg::cout, ecaltpgBadX_, ecaltpgFgStripEE_, ecaltpgOddWeightGroup_, ecaltpgOddWeightMap_, ecaltpgSlidW_, ecaltpgStripStatus_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, ecaltpPed_, format_out_, getFGVB(), EcalFenixStripFgvbEE::getMissedStripFlag(), EcalElectronicsMapping::getTriggerElectronicsId(), identif_, MillePedeFileConverter_cfg::out, process_part1(), process_part2_endcap(), EcalTriggerElectronicsId::rawId(), EgammaValidation_cff::samples, and theMapping_.

◆ process_part1()

template<class T >
void EcalFenixStrip::process_part1 ( int  identif,
std::vector< T > &  df,
int  nrXtals,
uint32_t  stripid,
const EcalTPGPedestals ecaltpPed,
const EcalTPGLinearizationConst ecaltpLin,
const EcalTPGWeightIdMap ecaltpgWeightMap,
const EcalTPGWeightGroup ecaltpgWeightGroup,
const EcalTPGOddWeightIdMap ecaltpgOddWeightMap,
const EcalTPGOddWeightGroup ecaltpgOddWeightGroup,
const EcalTPGCrystalStatus ecaltpBadX 
)

Definition at line 124 of file EcalFenixStrip.cc.

134  {
135  if (debug_) {
136  std::cout << "\n\nEcalFenixStrip input is a vector of size: " << nrXtals << std::endl;
137  std::cout << " " << std::endl;
138  std::cout << "ECAL TPG TPMode printout:" << std::endl;
140  }
141 
142  // loop over crystals
143  for (int cryst = 0; cryst < nrXtals; cryst++) {
144  if (debug_) {
145  std::cout << std::endl;
146  std::cout << "crystal " << cryst << " EBDataFrame/EEDataFrame is (ADC counts): " << std::endl;
147  for (int i = 0; i < df[cryst].size(); i++) {
148  std::cout << " " << std::dec << df[cryst][i].adc();
149  }
150  std::cout << std::endl;
151  }
152  // call linearizer
153  this->getLinearizer(cryst)->setParameters(df[cryst].id().rawId(), ecaltpPed, ecaltpLin, ecaltpBadX);
154  this->getLinearizer(cryst)->process(df[cryst], lin_out_[cryst]);
155  }
156 
157  if (debug_) {
158  std::cout << "output of linearizer is a vector of size: " << std::dec << lin_out_.size() << " of which used "
159  << nrXtals << std::endl;
160  for (int ix = 0; ix < nrXtals; ix++) {
161  std::cout << "cryst: " << ix << " value : " << std::dec << std::endl;
162  std::cout << " lin_out[ix].size() = " << std::dec << lin_out_[ix].size() << std::endl;
163  for (unsigned int i = 0; i < lin_out_[ix].size(); i++) {
164  std::cout << " " << std::dec << (lin_out_[ix])[i];
165  }
166  std::cout << std::endl;
167  }
168  std::cout << std::endl;
169  }
170 
171  // Now call the sFGVB - this is common between EB and EE!
172  getFGVB()->setParameters(identif, stripid, ecaltpgFgStripEE_);
174 
175  if (debug_) {
176  std::cout << "output of strip fgvb is a vector of size: " << std::dec << fgvb_out_temp_.size() << std::endl;
177  for (unsigned int i = 0; i < fgvb_out_temp_.size(); i++) {
178  std::cout << " " << std::dec << (fgvb_out_temp_[i]);
179  }
180  std::cout << std::endl;
181  }
182  // call adder
183  this->getAdder()->process(lin_out_, nrXtals, add_out_); // add_out is of size SIZEMAX=maxNrSamples
184 
185  if (debug_) {
186  std::cout << "output of adder is a vector of size: " << std::dec << add_out_.size() << std::endl;
187  for (unsigned int ix = 0; ix < add_out_.size(); ix++) {
188  std::cout << "Clock: " << ix << " value : " << std::dec << add_out_[ix] << std::endl;
189  }
190  std::cout << std::endl;
191  }
192 
193  if (famos_) {
194  even_filt_out_[0] = add_out_[0];
195  even_peak_out_[0] = add_out_[0];
196  return;
197  } else {
198  // This is where the amplitude filters are called
199  // the TPmode flag will determine which are called and if the peak finder is called.
200  // Call even amplitude filter
201  this->getEvenFilter()->setParameters(stripid, ecaltpgWeightMap, ecaltpgWeightGroup);
203 
204  // Print out even filter ET and sfgvb values
205  if (debug_) {
206  std::cout << "output of EVEN filter is a vector of size: " << std::dec << even_filt_out_.size() << std::endl;
207  for (unsigned int ix = 0; ix < even_filt_out_.size(); ix++) {
208  std::cout << "Clock: " << ix << " value : " << std::dec << even_filt_out_[ix] << std::endl;
209  }
210  std::cout << std::endl;
211  std::cout << "output of EVEN sfgvb after filter is a vector of size: " << std::dec << fgvb_out_.size()
212  << std::endl;
213  for (unsigned int ix = 0; ix < fgvb_out_.size(); ix++) {
214  std::cout << "Clock: " << ix << " value : " << std::dec << fgvb_out_[ix] << std::endl;
215  }
216  std::cout << std::endl;
217  }
218 
219  // Call peak finder on even filter output
221 
222  // Print out even filter peak finder values
223  if (debug_) {
224  std::cout << "output of EVEN peakfinder is a vector of size: " << even_peak_out_.size() << std::endl;
225  for (unsigned int ix = 0; ix < even_peak_out_.size(); ix++) {
226  std::cout << "Clock: " << ix << " value : " << even_peak_out_[ix] << std::endl;
227  }
228  std::cout << std::endl;
229  }
230 
231  // Run the odd filter
232  this->getOddFilter()->setParameters(stripid, ecaltpgOddWeightMap, ecaltpgOddWeightGroup);
234 
235  // Print out odd filter ET
236  if (debug_) {
237  std::cout << "output of ODD filter is a vector of size: " << std::dec << odd_filt_out_.size() << std::endl;
238  for (unsigned int ix = 0; ix < odd_filt_out_.size(); ix++) {
239  std::cout << "Clock: " << ix << " value : " << std::dec << odd_filt_out_[ix] << std::endl;
240  }
241  std::cout << std::endl;
242  }
243 
244  // And run the odd peak finder always (then the formatter will use the configuration to decide to use it or not)
245  // Call peak finder on even filter output
247 
248  if (debug_) {
249  std::cout << "output of ODD peakfinder is a vector of size: " << odd_peak_out_.size() << std::endl;
250  for (unsigned int ix = 0; ix < odd_peak_out_.size(); ix++) {
251  std::cout << "Clock: " << ix << " value : " << odd_peak_out_[ix] << std::endl;
252  }
253  std::cout << std::endl;
254  }
255 
256  return;
257  }
258 }

References add_out_, gather_cfg::cout, debug_, TauDecayModes::dec, hgcalPerformanceValidation::df, ecaltpgFgStripEE_, ecaltpgTPMode_, even_filt_out_, even_peak_out_, famos_, fgvb_out_, fgvb_out_temp_, getAdder(), getEvenFilter(), getFGVB(), getLinearizer(), getOddFilter(), getPeakFinder(), mps_fire::i, lin_out_, odd_filt_out_, odd_peak_out_, EcalTPGTPMode::print(), EcalFenixPeakFinder::process(), EcalFenixEtStrip::process(), EcalFenixAmplitudeFilter::process(), EcalFenixOddAmplitudeFilter::process(), EcalFenixStripFgvbEE::process(), EcalFenixLinearizer::process(), EcalFenixStripFgvbEE::setParameters(), EcalFenixOddAmplitudeFilter::setParameters(), EcalFenixAmplitudeFilter::setParameters(), and EcalFenixLinearizer::setParameters().

Referenced by process().

◆ process_part2_barrel()

void EcalFenixStrip::process_part2_barrel ( uint32_t  stripid,
const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGFineGrainStripEE ecaltpgFgStripEE 
)

Definition at line 261 of file EcalFenixStrip.cc.

263  {
264  // call Fgvb
265  // this->getFGVB()->setParameters(stripid,ecaltpgFgStripEE);
266  // this->getFGVB()->process(lin_out_,fgvb_out_);
267 
268  // call formatter
269  this->getFormatterEB()->setParameters(stripid, ecaltpgSlidW, ecaltpgTPMode_);
271 
272  if (debug_) {
273  std::cout << "output of strip EB formatter is a vector of size: " << format_out_.size() << std::endl;
274  std::cout << "value : " << std::endl;
275  for (unsigned int ix = 0; ix < format_out_.size(); ix++) {
276  std::cout << "Clock: " << ix << " value : " << format_out_[ix] << " 0b"
277  << std::bitset<14>(format_out_[ix]).to_string() << std::endl;
278  }
279  std::cout << std::endl;
280  }
281  return;
282 }

References gather_cfg::cout, debug_, ecaltpgTPMode_, even_filt_out_, even_peak_out_, fgvb_out_, format_out_, getFormatterEB(), odd_filt_out_, odd_peak_out_, EcalFenixStripFormatEB::process(), and EcalFenixStripFormatEB::setParameters().

Referenced by process().

◆ process_part2_endcap()

void EcalFenixStrip::process_part2_endcap ( uint32_t  stripid,
const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGFineGrainStripEE ecaltpgFgStripEE,
const EcalTPGStripStatus ecaltpgStripStatus 
)

Definition at line 284 of file EcalFenixStrip.cc.

287  {
288  // call Fgvb
289  // this->getFGVB()->setParameters(stripid,ecaltpgFgStripEE);
290  // this->getFGVB()->process(lin_out_,fgvb_out_);
291 
292  // call formatter
293  this->getFormatterEE()->setParameters(stripid, ecaltpgSlidW, ecaltpgStripStatus, ecaltpgTPMode_);
295 
296  if (debug_) {
297  std::cout << "output of strip EE formatter is a vector of size: " << format_out_.size() << std::endl;
298  std::cout << "value : " << std::endl;
299  for (unsigned int ix = 0; ix < format_out_.size(); ix++) {
300  std::cout << "Clock: " << ix << " value : " << format_out_[ix] << " 0b"
301  << std::bitset<14>(format_out_[ix]).to_string() << std::endl;
302  }
303  std::cout << std::endl;
304  }
305 
306  return;
307 }

References gather_cfg::cout, debug_, ecaltpgTPMode_, even_filt_out_, even_peak_out_, fgvb_out_, format_out_, getFormatterEE(), odd_filt_out_, odd_peak_out_, EcalFenixStripFormatEE::process(), and EcalFenixStripFormatEE::setParameters().

Referenced by process().

◆ setbadStripMissing()

void EcalFenixStrip::setbadStripMissing ( bool  flag)
inline

Definition at line 161 of file EcalFenixStrip.h.

161 { identif_ = flag; }

References RemoveAddSevLevel::flag, and identif_.

◆ setPointers()

void EcalFenixStrip::setPointers ( const EcalTPGPedestals ecaltpPed,
const EcalTPGLinearizationConst ecaltpLin,
const EcalTPGWeightIdMap ecaltpgWeightMap,
const EcalTPGWeightGroup ecaltpgWeightGroup,
const EcalTPGOddWeightIdMap ecaltpgOddWeightMap,
const EcalTPGOddWeightGroup ecaltpgOddWeightGroup,
const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGFineGrainStripEE ecaltpgFgStripEE,
const EcalTPGCrystalStatus ecaltpgBadX,
const EcalTPGStripStatus ecaltpgStripStatus,
const EcalTPGTPMode ecaltpgTPMode 
)
inline

Definition at line 96 of file EcalFenixStrip.h.

106  {
107  ecaltpPed_ = ecaltpPed;
108  ecaltpLin_ = ecaltpLin;
109  ecaltpgWeightMap_ = ecaltpgWeightMap;
110  ecaltpgWeightGroup_ = ecaltpgWeightGroup;
111  ecaltpgOddWeightMap_ = ecaltpgOddWeightMap;
112  ecaltpgOddWeightGroup_ = ecaltpgOddWeightGroup;
113  ecaltpgSlidW_ = ecaltpgSlidW;
114  ecaltpgFgStripEE_ = ecaltpgFgStripEE;
115  ecaltpgBadX_ = ecaltpgBadX;
116  ecaltpgStripStatus_ = ecaltpgStripStatus;
117  ecaltpgTPMode_ = ecaltpgTPMode;
118  }

References ecaltpgBadX_, ecaltpgFgStripEE_, ecaltpgOddWeightGroup_, ecaltpgOddWeightMap_, ecaltpgSlidW_, ecaltpgStripStatus_, ecaltpgTPMode_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, and ecaltpPed_.

Member Data Documentation

◆ add_out_

std::vector<int> EcalFenixStrip::add_out_
private

Definition at line 67 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ adder_

EcalFenixEtStrip* EcalFenixStrip::adder_
private

Definition at line 61 of file EcalFenixStrip.h.

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

◆ amplitude_filter_

EcalFenixAmplitudeFilter* EcalFenixStrip::amplitude_filter_
private

Definition at line 52 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getEvenFilter(), and ~EcalFenixStrip().

◆ debug_

bool EcalFenixStrip::debug_
private

Definition at line 45 of file EcalFenixStrip.h.

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

◆ ecaltpgBadX_

const EcalTPGCrystalStatus* EcalFenixStrip::ecaltpgBadX_
private

Definition at line 89 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgFgStripEE_

const EcalTPGFineGrainStripEE* EcalFenixStrip::ecaltpgFgStripEE_
private

Definition at line 88 of file EcalFenixStrip.h.

Referenced by process(), process_part1(), and setPointers().

◆ ecaltpgOddWeightGroup_

const EcalTPGOddWeightGroup* EcalFenixStrip::ecaltpgOddWeightGroup_
private

Definition at line 86 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgOddWeightMap_

const EcalTPGOddWeightIdMap* EcalFenixStrip::ecaltpgOddWeightMap_
private

Definition at line 85 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgSlidW_

const EcalTPGSlidingWindow* EcalFenixStrip::ecaltpgSlidW_
private

Definition at line 87 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgStripStatus_

const EcalTPGStripStatus* EcalFenixStrip::ecaltpgStripStatus_
private

Definition at line 90 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgTPMode_

const EcalTPGTPMode* EcalFenixStrip::ecaltpgTPMode_
private

◆ ecaltpgWeightGroup_

const EcalTPGWeightGroup* EcalFenixStrip::ecaltpgWeightGroup_
private

Definition at line 84 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgWeightMap_

const EcalTPGWeightIdMap* EcalFenixStrip::ecaltpgWeightMap_
private

Definition at line 83 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpLin_

const EcalTPGLinearizationConst* EcalFenixStrip::ecaltpLin_
private

Definition at line 82 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpPed_

const EcalTPGPedestals* EcalFenixStrip::ecaltpPed_
private

Definition at line 81 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ even_filt_out_

std::vector<int> EcalFenixStrip::even_filt_out_
private

◆ even_peak_out_

std::vector<int> EcalFenixStrip::even_peak_out_
private

◆ famos_

bool EcalFenixStrip::famos_
private

Definition at line 46 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ fenixFormatterEB_

EcalFenixStripFormatEB* EcalFenixStrip::fenixFormatterEB_
private

Definition at line 57 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getFormatterEB(), and ~EcalFenixStrip().

◆ fenixFormatterEE_

EcalFenixStripFormatEE* EcalFenixStrip::fenixFormatterEE_
private

Definition at line 59 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getFormatterEE(), and ~EcalFenixStrip().

◆ fgvb_out_

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

◆ fgvb_out_temp_

std::vector<int> EcalFenixStrip::fgvb_out_temp_
private

Definition at line 79 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ fgvbEE_

EcalFenixStripFgvbEE* EcalFenixStrip::fgvbEE_
private

Definition at line 63 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getFGVB(), and ~EcalFenixStrip().

◆ format_out_

std::vector<int> EcalFenixStrip::format_out_
private

◆ identif_

bool EcalFenixStrip::identif_
private

Definition at line 93 of file EcalFenixStrip.h.

Referenced by getbadStripMissing(), process(), and setbadStripMissing().

◆ lin_out_

std::vector<std::vector<int> > EcalFenixStrip::lin_out_
private

Definition at line 66 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ linearizer_

std::vector<EcalFenixLinearizer *> EcalFenixStrip::linearizer_
private

Definition at line 50 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getLinearizer(), and ~EcalFenixStrip().

◆ nbMaxXtals_

int EcalFenixStrip::nbMaxXtals_
private

Definition at line 47 of file EcalFenixStrip.h.

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

◆ odd_filt_out_

std::vector<int> EcalFenixStrip::odd_filt_out_
private

◆ odd_peak_out_

std::vector<int> EcalFenixStrip::odd_peak_out_
private

◆ oddAmplitude_filter_

EcalFenixOddAmplitudeFilter* EcalFenixStrip::oddAmplitude_filter_
private

Definition at line 53 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getOddFilter(), and ~EcalFenixStrip().

◆ peak_finder_

EcalFenixPeakFinder* EcalFenixStrip::peak_finder_
private

Definition at line 55 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), getPeakFinder(), and ~EcalFenixStrip().

◆ theMapping_

const EcalElectronicsMapping* EcalFenixStrip::theMapping_
private

Definition at line 43 of file EcalFenixStrip.h.

Referenced by process().

◆ tpInfoPrintout_

bool EcalFenixStrip::tpInfoPrintout_
private

Definition at line 48 of file EcalFenixStrip.h.

EcalFenixStrip::ecaltpPed_
const EcalTPGPedestals * ecaltpPed_
Definition: EcalFenixStrip.h:81
EcalFenixStrip::ecaltpgOddWeightGroup_
const EcalTPGOddWeightGroup * ecaltpgOddWeightGroup_
Definition: EcalFenixStrip.h:86
EcalFenixStrip::debug_
bool debug_
Definition: EcalFenixStrip.h:45
mps_fire.i
i
Definition: mps_fire.py:428
EcalFenixStrip::getLinearizer
EcalFenixLinearizer * getLinearizer(int i) const
Definition: EcalFenixStrip.h:150
EcalFenixPeakFinder::process
int process()
Definition: EcalFenixPeakFinder.cc:19
EcalTriggerElectronicsId
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
Definition: EcalTriggerElectronicsId.h:18
EcalFenixStripFgvbEE::process
void process(std::vector< std::vector< int >> &lin_out, std::vector< int > &output)
Definition: EcalFenixStripFgvbEE.cc:14
EcalFenixStrip::add_out_
std::vector< int > add_out_
Definition: EcalFenixStrip.h:67
EcalFenixStrip::even_filt_out_
std::vector< int > even_filt_out_
Definition: EcalFenixStrip.h:70
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalFenixStrip::ecaltpgStripStatus_
const EcalTPGStripStatus * ecaltpgStripStatus_
Definition: EcalFenixStrip.h:90
EcalFenixStrip::amplitude_filter_
EcalFenixAmplitudeFilter * amplitude_filter_
Definition: EcalFenixStrip.h:52
EcalFenixPeakFinder
calculates the peak for Fenix strip, barrel input : 18 bits output: boolean
Definition: EcalFenixPeakFinder.h:17
EcalFenixStrip::process_part2_endcap
void process_part2_endcap(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGStripStatus *ecaltpgStripStatus)
Definition: EcalFenixStrip.cc:284
EcalFenixStripFormatEE::process
int process()
Definition: EcalFenixStripFormatEE.cc:27
EcalFenixStripFgvbEE::getMissedStripFlag
bool getMissedStripFlag() const
Definition: EcalFenixStripFgvbEE.h:35
EcalFenixStrip::ecaltpgWeightMap_
const EcalTPGWeightIdMap * ecaltpgWeightMap_
Definition: EcalFenixStrip.h:83
EcalFenixStrip::getFormatterEE
EcalFenixStripFormatEE * getFormatterEE() const
Definition: EcalFenixStrip.h:157
EcalFenixStrip::ecaltpgWeightGroup_
const EcalTPGWeightGroup * ecaltpgWeightGroup_
Definition: EcalFenixStrip.h:84
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalFenixEtStrip::process
void process(const std::vector< std::vector< int >> &linout, int nrXtals, std::vector< int > &output)
Definition: EcalFenixEtStrip.cc:6
EcalFenixStripFormatEB::setParameters
void setParameters(uint32_t &, const EcalTPGSlidingWindow *&, const EcalTPGTPMode *)
Definition: EcalFenixStripFormatEB.cc:101
EcalTPGTPMode::print
void print(std::ostream &) const
Definition: EcalTPGTPMode.cc:9
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
EcalFenixOddAmplitudeFilter::setParameters
void setParameters(uint32_t raw, const EcalTPGOddWeightIdMap *ecaltpgOddWeightMap, const EcalTPGOddWeightGroup *ecaltpgOddWeightGroup)
Definition: EcalFenixOddAmplitudeFilter.cc:91
EgammaValidation_cff.samples
samples
Definition: EgammaValidation_cff.py:18
EcalFenixOddAmplitudeFilter::process
void process()
Definition: EcalFenixOddAmplitudeFilter.cc:58
EcalFenixStrip::fgvb_out_temp_
std::vector< int > fgvb_out_temp_
Definition: EcalFenixStrip.h:79
EcalFenixStrip::ecaltpgBadX_
const EcalTPGCrystalStatus * ecaltpgBadX_
Definition: EcalFenixStrip.h:89
debug
#define debug
Definition: HDRShower.cc:19
EcalFenixStrip::fenixFormatterEB_
EcalFenixStripFormatEB * fenixFormatterEB_
Definition: EcalFenixStrip.h:57
EcalFenixStrip::getAdder
EcalFenixEtStrip * getAdder() const
Definition: EcalFenixStrip.h:151
EcalFenixStripFgvbEE::setParameters
void setParameters(int identif, uint32_t id, const EcalTPGFineGrainStripEE *)
Definition: EcalFenixStripFgvbEE.cc:33
EcalFenixStrip::getOddFilter
EcalFenixOddAmplitudeFilter * getOddFilter() const
Definition: EcalFenixStrip.h:153
EcalFenixStrip::famos_
bool famos_
Definition: EcalFenixStrip.h:46
EcalFenixStrip::nbMaxXtals_
int nbMaxXtals_
Definition: EcalFenixStrip.h:47
EcalFenixStrip::adder_
EcalFenixEtStrip * adder_
Definition: EcalFenixStrip.h:61
EcalFenixStrip::format_out_
std::vector< int > format_out_
Definition: EcalFenixStrip.h:77
EcalFenixEtStrip
Definition: EcalFenixEtStrip.h:20
EcalFenixLinearizer::setParameters
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
Definition: EcalFenixLinearizer.cc:19
EcalFenixStrip::fgvbEE_
EcalFenixStripFgvbEE * fgvbEE_
Definition: EcalFenixStrip.h:63
EcalFenixStrip::getFormatterEB
EcalFenixStripFormatEB * getFormatterEB() const
Definition: EcalFenixStrip.h:156
EcalFenixStripFormatEE
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
Definition: EcalFenixStripFormatEE.h:20
EcalFenixStrip::process_part2_barrel
void process_part2_barrel(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE)
Definition: EcalFenixStrip.cc:261
EcalFenixStripFormatEE::setParameters
void setParameters(uint32_t id, const EcalTPGSlidingWindow *&, const EcalTPGStripStatus *, const EcalTPGTPMode *)
Definition: EcalFenixStripFormatEE.cc:119
EcalFenixLinearizer
Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits.
Definition: EcalFenixLinearizer.h:19
EcalFenixStrip::ecaltpgSlidW_
const EcalTPGSlidingWindow * ecaltpgSlidW_
Definition: EcalFenixStrip.h:87
EcalFenixStripFgvbEE
calculation of Fgvb for the endcap in Fenix Strip calculates fgvb for the endcap in Fenix Strip
Definition: EcalFenixStripFgvbEE.h:21
EcalFenixStrip::getFGVB
EcalFenixStripFgvbEE * getFGVB() const
Definition: EcalFenixStrip.h:159
EcalElectronicsMapping::getTriggerElectronicsId
EcalTriggerElectronicsId getTriggerElectronicsId(const DetId &id) const
Get the trigger electronics id for this det id.
Definition: EcalElectronicsMapping.cc:389
EcalFenixLinearizer::process
int process()
Definition: EcalFenixLinearizer.cc:50
EcalFenixOddAmplitudeFilter
Definition: EcalFenixOddAmplitudeFilter.h:19
EcalFenixStrip::ecaltpgOddWeightMap_
const EcalTPGOddWeightIdMap * ecaltpgOddWeightMap_
Definition: EcalFenixStrip.h:85
EcalFenixStrip::lin_out_
std::vector< std::vector< int > > lin_out_
Definition: EcalFenixStrip.h:66
EcalFenixStrip::odd_peak_out_
std::vector< int > odd_peak_out_
Definition: EcalFenixStrip.h:75
EcalFenixStrip::getPeakFinder
EcalFenixPeakFinder * getPeakFinder() const
Definition: EcalFenixStrip.h:154
EcalFenixAmplitudeFilter::setParameters
void setParameters(uint32_t raw, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
Definition: EcalFenixAmplitudeFilter.cc:106
EcalFenixStrip::ecaltpgTPMode_
const EcalTPGTPMode * ecaltpgTPMode_
Definition: EcalFenixStrip.h:91
EcalFenixStrip::tpInfoPrintout_
bool tpInfoPrintout_
Definition: EcalFenixStrip.h:48
hgcalPerformanceValidation.df
df
Definition: hgcalPerformanceValidation.py:733
EcalFenixStrip::identif_
bool identif_
Definition: EcalFenixStrip.h:93
EcalFenixStrip::linearizer_
std::vector< EcalFenixLinearizer * > linearizer_
Definition: EcalFenixStrip.h:50
EcalFenixStrip::getEvenFilter
EcalFenixAmplitudeFilter * getEvenFilter() const
Definition: EcalFenixStrip.h:152
EcalFenixAmplitudeFilter
calculates .... for Fenix strip, barrel input: 18 bits output: 18 bits
Definition: EcalFenixAmplitudeFilter.h:17
EcalFenixStrip::oddAmplitude_filter_
EcalFenixOddAmplitudeFilter * oddAmplitude_filter_
Definition: EcalFenixStrip.h:53
EcalFenixStrip::ecaltpgFgStripEE_
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_
Definition: EcalFenixStrip.h:88
EcalFenixStrip::fenixFormatterEE_
EcalFenixStripFormatEE * fenixFormatterEE_
Definition: EcalFenixStrip.h:59
EcalFenixStrip::theMapping_
const EcalElectronicsMapping * theMapping_
Definition: EcalFenixStrip.h:43
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
EcalFenixStripFormatEB::process
int process()
Definition: EcalFenixStripFormatEB.cc:20
EcalFenixStrip::even_peak_out_
std::vector< int > even_peak_out_
Definition: EcalFenixStrip.h:71
EcalFenixStrip::fgvb_out_
std::vector< int > fgvb_out_
Definition: EcalFenixStrip.h:78
EcalFenixStripFormatEB
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
Definition: EcalFenixStripFormatEB.h:19
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
EcalTriggerElectronicsId::rawId
uint32_t rawId() const
Definition: EcalTriggerElectronicsId.h:28
EcalFenixStrip::process_part1
void process_part1(int identif, std::vector< T > &df, int nrXtals, uint32_t stripid, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGOddWeightIdMap *ecaltpgOddWeightMap, const EcalTPGOddWeightGroup *ecaltpgOddWeightGroup, const EcalTPGCrystalStatus *ecaltpBadX)
Definition: EcalFenixStrip.cc:124
EcalFenixAmplitudeFilter::process
void process()
Definition: EcalFenixAmplitudeFilter.cc:68
EcalFenixStrip::ecaltpLin_
const EcalTPGLinearizationConst * ecaltpLin_
Definition: EcalFenixStrip.h:82
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:117
EcalFenixStrip::peak_finder_
EcalFenixPeakFinder * peak_finder_
Definition: EcalFenixStrip.h:55
EcalFenixStrip::odd_filt_out_
std::vector< int > odd_filt_out_
Definition: EcalFenixStrip.h:74