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 edm::EventSetup &setup, const EcalElectronicsMapping *theMapping, bool debug, bool famos, int maxNrSamples, int nbMaxXtals)
 
EcalFenixEtStripgetAdder () const
 
bool getbadStripMissing () const
 
EcalFenixStripFgvbEEgetFGVB () const
 
EcalFenixAmplitudeFiltergetFilter () const
 
EcalFenixStripFormatEBgetFormatterEB () const
 
EcalFenixStripFormatEEgetFormatterEE () const
 
EcalFenixLinearizergetLinearizer (int i) const
 
EcalFenixPeakFindergetPeakFinder () const
 
template<class T >
void process (const edm::EventSetup &, std::vector< const T > &, int nrxtals, std::vector< int > &out)
 
void process (const edm::EventSetup &setup, std::vector< EBDataFrame > &samples, int nrXtals, std::vector< int > &out)
 
void process (const edm::EventSetup &setup, 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 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 EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGCrystalStatus *ecaltpgBadX, const EcalTPGStripStatus *ecaltpgStripStatus)
 
virtual ~EcalFenixStrip ()
 

Private Attributes

std::vector< int > add_out_
 
EcalFenixEtStripadder_
 
EcalFenixAmplitudeFilteramplitude_filter_
 
bool debug_
 
const EcalTPGCrystalStatusecaltpgBadX_
 
const EcalTPGFineGrainStripEEecaltpgFgStripEE_
 
const EcalTPGSlidingWindowecaltpgSlidW_
 
const EcalTPGStripStatusecaltpgStripStatus_
 
const EcalTPGWeightGroupecaltpgWeightGroup_
 
const EcalTPGWeightIdMapecaltpgWeightMap_
 
const EcalTPGLinearizationConstecaltpLin_
 
const EcalTPGPedestalsecaltpPed_
 
bool famos_
 
EcalFenixStripFormatEBfenixFormatterEB_
 
EcalFenixStripFormatEEfenixFormatterEE_
 
std::vector< int > fgvb_out_
 
std::vector< int > fgvb_out_temp_
 
EcalFenixStripFgvbEEfgvbEE_
 
std::vector< int > filt_out_
 
std::vector< int > format_out_
 
bool identif_
 
std::vector< std::vector< int > > lin_out_
 
std::vector< EcalFenixLinearizer * > linearizer_
 
int nbMaxXtals_
 
EcalFenixPeakFinderpeak_finder_
 
std::vector< int > peak_out_
 
const EcalElectronicsMappingtheMapping_
 

Detailed Description

class representing the Fenix chip, format strip

Definition at line 30 of file EcalFenixStrip.h.

Constructor & Destructor Documentation

◆ EcalFenixStrip()

EcalFenixStrip::EcalFenixStrip ( const edm::EventSetup setup,
const EcalElectronicsMapping theMapping,
bool  debug,
bool  famos,
int  maxNrSamples,
int  nbMaxXtals 
)

Definition at line 11 of file EcalFenixStrip.cc.

17  : theMapping_(theMapping), debug_(debug), famos_(famos), nbMaxXtals_(nbMaxXtals) {
18  linearizer_.resize(nbMaxXtals_);
19  for (int i = 0; i < nbMaxXtals_; i++)
21  adder_ = new EcalFenixEtStrip();
27 
28  // prepare data storage for all events
29  std::vector<int> v;
30  v.resize(maxNrSamples);
31  lin_out_.resize(nbMaxXtals_);
32  for (int i = 0; i < 5; i++)
33  lin_out_[i] = v;
34  add_out_.resize(maxNrSamples);
35  filt_out_.resize(maxNrSamples);
36  peak_out_.resize(maxNrSamples);
37  format_out_.resize(maxNrSamples);
38  fgvb_out_.resize(maxNrSamples);
39  fgvb_out_temp_.resize(maxNrSamples);
40 }

References add_out_, adder_, amplitude_filter_, famos_, fenixFormatterEB_, fenixFormatterEE_, fgvb_out_, fgvb_out_temp_, fgvbEE_, filt_out_, format_out_, mps_fire::i, lin_out_, linearizer_, nbMaxXtals_, peak_finder_, peak_out_, and findQualityFiles::v.

◆ ~EcalFenixStrip()

EcalFenixStrip::~EcalFenixStrip ( )
virtual

Definition at line 43 of file EcalFenixStrip.cc.

43  {
44  for (int i = 0; i < nbMaxXtals_; i++)
45  delete linearizer_[i];
46  delete adder_;
47  delete amplitude_filter_;
48  delete peak_finder_;
49  delete fenixFormatterEB_;
50  delete fenixFormatterEE_;
51  delete fgvbEE_;
52 }

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

Member Function Documentation

◆ getAdder()

EcalFenixEtStrip* EcalFenixStrip::getAdder ( ) const
inline

Definition at line 119 of file EcalFenixStrip.h.

119 { return adder_; }

References adder_.

Referenced by process_part1().

◆ getbadStripMissing()

bool EcalFenixStrip::getbadStripMissing ( ) const
inline

Definition at line 129 of file EcalFenixStrip.h.

129 { return identif_; }

References identif_.

◆ getFGVB()

EcalFenixStripFgvbEE* EcalFenixStrip::getFGVB ( ) const
inline

Definition at line 126 of file EcalFenixStrip.h.

126 { return fgvbEE_; }

References fgvbEE_.

Referenced by process(), process_part1(), and EcalTrigPrimFunctionalAlgo::run_part2().

◆ getFilter()

EcalFenixAmplitudeFilter* EcalFenixStrip::getFilter ( ) const
inline

Definition at line 120 of file EcalFenixStrip.h.

120 { return amplitude_filter_; }

References amplitude_filter_.

Referenced by process_part1().

◆ getFormatterEB()

EcalFenixStripFormatEB* EcalFenixStrip::getFormatterEB ( ) const
inline

Definition at line 123 of file EcalFenixStrip.h.

123 { return fenixFormatterEB_; }

References fenixFormatterEB_.

Referenced by process_part2_barrel().

◆ getFormatterEE()

EcalFenixStripFormatEE* EcalFenixStrip::getFormatterEE ( ) const
inline

Definition at line 124 of file EcalFenixStrip.h.

124 { return fenixFormatterEE_; }

References fenixFormatterEE_.

Referenced by process_part2_endcap().

◆ getLinearizer()

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

Definition at line 118 of file EcalFenixStrip.h.

118 { return linearizer_[i]; }

References mps_fire::i, and linearizer_.

Referenced by process_part1().

◆ getPeakFinder()

EcalFenixPeakFinder* EcalFenixStrip::getPeakFinder ( ) const
inline

Definition at line 121 of file EcalFenixStrip.h.

121 { return peak_finder_; }

References peak_finder_.

Referenced by process_part1().

◆ process() [1/3]

template<class T >
void EcalFenixStrip::process ( const edm::EventSetup ,
std::vector< const T > &  ,
int  nrxtals,
std::vector< int > &  out 
)

◆ process() [2/3]

void EcalFenixStrip::process ( const edm::EventSetup setup,
std::vector< EBDataFrame > &  samples,
int  nrXtals,
std::vector< int > &  out 
)
inline

Definition at line 133 of file EcalFenixStrip.h.

133  {
134  // now call processing
135  if (samples.empty()) {
136  std::cout << " Warning: 0 size vector found in EcalFenixStripProcess!!!!!" << std::endl;
137  return;
138  }
140  uint32_t stripid = elId.rawId() & 0xfffffff8; // from Pascal
141 
143 
145  samples,
146  nrXtals,
147  stripid,
148  ecaltpPed_,
149  ecaltpLin_,
152  ecaltpgBadX_); // templated part
154  ecaltpgFgStripEE_); // part different for barrel/endcap
155  out = format_out_;
156  }

References gather_cfg::cout, ecaltpgBadX_, ecaltpgFgStripEE_, 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() [3/3]

void EcalFenixStrip::process ( const edm::EventSetup setup,
std::vector< EEDataFrame > &  samples,
int  nrXtals,
std::vector< int > &  out 
)
inline

Definition at line 158 of file EcalFenixStrip.h.

158  {
159  // now call processing
160  if (samples.empty()) {
161  std::cout << " Warning: 0 size vector found in EcalFenixStripProcess!!!!!" << std::endl;
162  return;
163  }
165  uint32_t stripid = elId.rawId() & 0xfffffff8; // from Pascal
166 
168 
170  samples,
171  nrXtals,
172  stripid,
173  ecaltpPed_,
174  ecaltpLin_,
177  ecaltpgBadX_); // templated part
179  out = format_out_; // FIXME: timing
180  return;
181  }

References gather_cfg::cout, ecaltpgBadX_, ecaltpgFgStripEE_, 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 EcalTPGCrystalStatus ecaltpBadX 
)
inline

Definition at line 184 of file EcalFenixStrip.h.

192  {
193  if (debug_)
194  std::cout << "\n\nEcalFenixStrip input is a vector of size: " << nrXtals << std::endl;
195 
196  // loop over crystals
197  for (int cryst = 0; cryst < nrXtals; cryst++) {
198  if (debug_) {
199  std::cout << std::endl;
200  std::cout << "cryst= " << cryst << " EBDataFrame/EEDataFrame is: " << std::endl;
201  for (int i = 0; i < df[cryst].size(); i++) {
202  std::cout << " " << std::dec << df[cryst][i].adc();
203  }
204  std::cout << std::endl;
205  }
206  // call linearizer
207  this->getLinearizer(cryst)->setParameters(df[cryst].id().rawId(), ecaltpPed, ecaltpLin, ecaltpBadX);
208  this->getLinearizer(cryst)->process(df[cryst], lin_out_[cryst]);
209  }
210 
211  if (debug_) {
212  std::cout << "output of linearizer is a vector of size: " << std::dec << lin_out_.size() << " of which used "
213  << nrXtals << std::endl;
214  for (int ix = 0; ix < nrXtals; ix++) {
215  std::cout << "cryst: " << ix << " value : " << std::dec << std::endl;
216  std::cout << " lin_out[ix].size()= " << std::dec << lin_out_[ix].size() << std::endl;
217  for (unsigned int i = 0; i < lin_out_[ix].size(); i++) {
218  std::cout << " " << std::dec << (lin_out_[ix])[i];
219  }
220  std::cout << std::endl;
221  }
222 
223  std::cout << std::endl;
224  }
225 
226  // Now call the sFGVB - this is common between EB and EE!
227  getFGVB()->setParameters(identif, stripid, ecaltpgFgStripEE_);
229 
230  if (debug_) {
231  std::cout << "output of strip fgvb is a vector of size: " << std::dec << fgvb_out_temp_.size() << std::endl;
232  for (unsigned int i = 0; i < fgvb_out_temp_.size(); i++) {
233  std::cout << " " << std::dec << (fgvb_out_temp_[i]);
234  }
235  std::cout << std::endl;
236  }
237 
238  // call adder
239  this->getAdder()->process(lin_out_, nrXtals, add_out_); // add_out is of size SIZEMAX=maxNrSamples
240 
241  if (debug_) {
242  std::cout << "output of adder is a vector of size: " << std::dec << add_out_.size() << std::endl;
243  for (unsigned int ix = 0; ix < add_out_.size(); ix++) {
244  std::cout << "cryst: " << ix << " value : " << std::dec << add_out_[ix] << std::endl;
245  }
246  std::cout << std::endl;
247  }
248 
249  if (famos_) {
250  filt_out_[0] = add_out_[0];
251  peak_out_[0] = add_out_[0];
252  return;
253  } else {
254  // call amplitudefilter
255  this->getFilter()->setParameters(stripid, ecaltpgWeightMap, ecaltpgWeightGroup);
257 
258  if (debug_) {
259  std::cout << "output of filter is a vector of size: " << std::dec << filt_out_.size() << std::endl;
260  for (unsigned int ix = 0; ix < filt_out_.size(); ix++) {
261  std::cout << "cryst: " << ix << " value : " << std::dec << filt_out_[ix] << std::endl;
262  }
263  std::cout << std::endl;
264 
265  std::cout << "output of sfgvb after filter is a vector of size: " << std::dec << fgvb_out_.size() << std::endl;
266  for (unsigned int ix = 0; ix < fgvb_out_.size(); ix++) {
267  std::cout << "cryst: " << ix << " value : " << std::dec << fgvb_out_[ix] << std::endl;
268  }
269  std::cout << std::endl;
270  }
271 
272  // call peakfinder
274  if (debug_) {
275  std::cout << "output of peakfinder is a vector of size: " << peak_out_.size() << std::endl;
276  for (unsigned int ix = 0; ix < peak_out_.size(); ix++) {
277  std::cout << "cryst: " << ix << " value : " << peak_out_[ix] << std::endl;
278  }
279  std::cout << std::endl;
280  }
281  return;
282  }
283  }

References add_out_, gather_cfg::cout, debug_, TauDecayModes::dec, hgcalPerformanceValidation::df, ecaltpgFgStripEE_, famos_, fgvb_out_, fgvb_out_temp_, filt_out_, getAdder(), getFGVB(), getFilter(), getLinearizer(), getPeakFinder(), mps_fire::i, lin_out_, peak_out_, EcalFenixPeakFinder::process(), EcalFenixEtStrip::process(), EcalFenixAmplitudeFilter::process(), EcalFenixStripFgvbEE::process(), EcalFenixLinearizer::process(), EcalFenixStripFgvbEE::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 55 of file EcalFenixStrip.cc.

57  {
58  // call Fgvb
59  // this->getFGVB()->setParameters(stripid,ecaltpgFgStripEE);
60  // this->getFGVB()->process(lin_out_,fgvb_out_);
61 
62  // call formatter
63  this->getFormatterEB()->setParameters(stripid, ecaltpgSlidW);
65  // this is a test:
66  if (debug_) {
67  std::cout << "output of formatter is a vector of size: " << format_out_.size() << std::endl;
68  std::cout << "value : " << std::endl;
69  for (unsigned int i = 0; i < format_out_.size(); i++) {
70  std::cout << " " << format_out_[i];
71  }
72  std::cout << std::endl;
73  }
74  return;
75 }

References gather_cfg::cout, debug_, fgvb_out_, filt_out_, format_out_, getFormatterEB(), mps_fire::i, 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 77 of file EcalFenixStrip.cc.

80  {
81  // call Fgvb
82  // this->getFGVB()->setParameters(stripid,ecaltpgFgStripEE);
83  // this->getFGVB()->process(lin_out_,fgvb_out_);
84 
85  // call formatter
86  this->getFormatterEE()->setParameters(stripid, ecaltpgSlidW, ecaltpgStripStatus);
87 
89 
90  // this is a test:
91  if (debug_) {
92  std::cout << "output of formatter is a vector of size: " << format_out_.size() << std::endl;
93  std::cout << "value : " << std::endl;
94  for (unsigned int i = 0; i < format_out_.size(); i++) {
95  std::cout << " " << std::dec << format_out_[i];
96  }
97  std::cout << std::endl;
98  }
99 
100  return;
101 }

References gather_cfg::cout, debug_, TauDecayModes::dec, fgvb_out_, filt_out_, format_out_, getFormatterEE(), mps_fire::i, peak_out_, EcalFenixStripFormatEE::process(), and EcalFenixStripFormatEE::setParameters().

Referenced by process().

◆ setbadStripMissing()

void EcalFenixStrip::setbadStripMissing ( bool  flag)
inline

Definition at line 128 of file EcalFenixStrip.h.

128 { identif_ = flag; }

References RemoveAddSevLevel::flag, and identif_.

◆ setPointers()

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

Definition at line 83 of file EcalFenixStrip.h.

90  {
91  ecaltpPed_ = ecaltpPed;
92  ecaltpLin_ = ecaltpLin;
93  ecaltpgWeightMap_ = ecaltpgWeightMap;
94  ecaltpgWeightGroup_ = ecaltpgWeightGroup;
95  ecaltpgSlidW_ = ecaltpgSlidW;
96  ecaltpgFgStripEE_ = ecaltpgFgStripEE;
97  ecaltpgBadX_ = ecaltpgBadX;
98  ecaltpgStripStatus_ = ecaltpgStripStatus;
99  }

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

Referenced by EcalTrigPrimFunctionalAlgo::setPointers().

Member Data Documentation

◆ add_out_

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

Definition at line 64 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ adder_

EcalFenixEtStrip* EcalFenixStrip::adder_
private

Definition at line 58 of file EcalFenixStrip.h.

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

◆ amplitude_filter_

EcalFenixAmplitudeFilter* EcalFenixStrip::amplitude_filter_
private

Definition at line 50 of file EcalFenixStrip.h.

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

◆ debug_

bool EcalFenixStrip::debug_
private

Definition at line 44 of file EcalFenixStrip.h.

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

◆ ecaltpgBadX_

const EcalTPGCrystalStatus* EcalFenixStrip::ecaltpgBadX_
private

Definition at line 77 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgFgStripEE_

const EcalTPGFineGrainStripEE* EcalFenixStrip::ecaltpgFgStripEE_
private

Definition at line 76 of file EcalFenixStrip.h.

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

◆ ecaltpgSlidW_

const EcalTPGSlidingWindow* EcalFenixStrip::ecaltpgSlidW_
private

Definition at line 75 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgStripStatus_

const EcalTPGStripStatus* EcalFenixStrip::ecaltpgStripStatus_
private

Definition at line 78 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgWeightGroup_

const EcalTPGWeightGroup* EcalFenixStrip::ecaltpgWeightGroup_
private

Definition at line 74 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpgWeightMap_

const EcalTPGWeightIdMap* EcalFenixStrip::ecaltpgWeightMap_
private

Definition at line 73 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpLin_

const EcalTPGLinearizationConst* EcalFenixStrip::ecaltpLin_
private

Definition at line 72 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ ecaltpPed_

const EcalTPGPedestals* EcalFenixStrip::ecaltpPed_
private

Definition at line 71 of file EcalFenixStrip.h.

Referenced by process(), and setPointers().

◆ famos_

bool EcalFenixStrip::famos_
private

Definition at line 45 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ fenixFormatterEB_

EcalFenixStripFormatEB* EcalFenixStrip::fenixFormatterEB_
private

Definition at line 54 of file EcalFenixStrip.h.

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

◆ fenixFormatterEE_

EcalFenixStripFormatEE* EcalFenixStrip::fenixFormatterEE_
private

Definition at line 56 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 69 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ fgvbEE_

EcalFenixStripFgvbEE* EcalFenixStrip::fgvbEE_
private

Definition at line 60 of file EcalFenixStrip.h.

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

◆ filt_out_

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

◆ format_out_

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

◆ identif_

bool EcalFenixStrip::identif_
private

Definition at line 80 of file EcalFenixStrip.h.

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

◆ lin_out_

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

Definition at line 63 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip(), and process_part1().

◆ linearizer_

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

Definition at line 48 of file EcalFenixStrip.h.

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

◆ nbMaxXtals_

int EcalFenixStrip::nbMaxXtals_
private

Definition at line 46 of file EcalFenixStrip.h.

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

◆ peak_finder_

EcalFenixPeakFinder* EcalFenixStrip::peak_finder_
private

Definition at line 52 of file EcalFenixStrip.h.

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

◆ peak_out_

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

◆ theMapping_

const EcalElectronicsMapping* EcalFenixStrip::theMapping_
private

Definition at line 42 of file EcalFenixStrip.h.

Referenced by process().

EcalFenixStrip::ecaltpPed_
const EcalTPGPedestals * ecaltpPed_
Definition: EcalFenixStrip.h:71
EcalFenixStrip::debug_
bool debug_
Definition: EcalFenixStrip.h:44
mps_fire.i
i
Definition: mps_fire.py:428
EcalFenixStrip::getLinearizer
EcalFenixLinearizer * getLinearizer(int i) const
Definition: EcalFenixStrip.h:118
EcalFenixPeakFinder::process
int process()
Definition: EcalFenixPeakFinder.cc:23
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:64
gather_cfg.cout
cout
Definition: gather_cfg.py:144
EcalFenixStrip::ecaltpgStripStatus_
const EcalTPGStripStatus * ecaltpgStripStatus_
Definition: EcalFenixStrip.h:78
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 EcalTPGCrystalStatus *ecaltpBadX)
Definition: EcalFenixStrip.h:184
EcalFenixStrip::amplitude_filter_
EcalFenixAmplitudeFilter * amplitude_filter_
Definition: EcalFenixStrip.h:50
EcalFenixPeakFinder
calculates the peak for Fenix strip, barrel input : 18 bits output: boolean
Definition: EcalFenixPeakFinder.h:16
EcalFenixStrip::process_part2_endcap
void process_part2_endcap(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGStripStatus *ecaltpgStripStatus)
Definition: EcalFenixStrip.cc:77
EcalFenixStripFormatEE::process
int process()
Definition: EcalFenixStripFormatEE.cc:24
EcalFenixStripFgvbEE::getMissedStripFlag
bool getMissedStripFlag() const
Definition: EcalFenixStripFgvbEE.h:35
EcalFenixStrip::ecaltpgWeightMap_
const EcalTPGWeightIdMap * ecaltpgWeightMap_
Definition: EcalFenixStrip.h:73
EcalFenixStrip::getFormatterEE
EcalFenixStripFormatEE * getFormatterEE() const
Definition: EcalFenixStrip.h:124
EcalFenixStrip::ecaltpgWeightGroup_
const EcalTPGWeightGroup * ecaltpgWeightGroup_
Definition: EcalFenixStrip.h:74
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
EgammaValidation_cff.samples
samples
Definition: EgammaValidation_cff.py:19
EcalFenixStrip::fgvb_out_temp_
std::vector< int > fgvb_out_temp_
Definition: EcalFenixStrip.h:69
EcalFenixStrip::ecaltpgBadX_
const EcalTPGCrystalStatus * ecaltpgBadX_
Definition: EcalFenixStrip.h:77
EcalFenixStrip::getFilter
EcalFenixAmplitudeFilter * getFilter() const
Definition: EcalFenixStrip.h:120
debug
#define debug
Definition: HDRShower.cc:19
EcalFenixStrip::fenixFormatterEB_
EcalFenixStripFormatEB * fenixFormatterEB_
Definition: EcalFenixStrip.h:54
EcalFenixStrip::getAdder
EcalFenixEtStrip * getAdder() const
Definition: EcalFenixStrip.h:119
EcalFenixStripFgvbEE::setParameters
void setParameters(int identif, uint32_t id, const EcalTPGFineGrainStripEE *)
Definition: EcalFenixStripFgvbEE.cc:33
EcalFenixStrip::famos_
bool famos_
Definition: EcalFenixStrip.h:45
EcalFenixStripFormatEB::setParameters
void setParameters(uint32_t &, const EcalTPGSlidingWindow *&)
Definition: EcalFenixStripFormatEB.cc:51
EcalFenixStrip::nbMaxXtals_
int nbMaxXtals_
Definition: EcalFenixStrip.h:46
EcalFenixStrip::adder_
EcalFenixEtStrip * adder_
Definition: EcalFenixStrip.h:58
EcalFenixStrip::format_out_
std::vector< int > format_out_
Definition: EcalFenixStrip.h:67
EcalFenixEtStrip
Definition: EcalFenixEtStrip.h:20
EcalFenixLinearizer::setParameters
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
Definition: EcalFenixLinearizer.cc:20
EcalFenixStrip::fgvbEE_
EcalFenixStripFgvbEE * fgvbEE_
Definition: EcalFenixStrip.h:60
EcalFenixStrip::getFormatterEB
EcalFenixStripFormatEB * getFormatterEB() const
Definition: EcalFenixStrip.h:123
EcalFenixStripFormatEE
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
Definition: EcalFenixStripFormatEE.h:19
EcalFenixStrip::process_part2_barrel
void process_part2_barrel(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE)
Definition: EcalFenixStrip.cc:55
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:75
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:126
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:51
EcalFenixStrip::filt_out_
std::vector< int > filt_out_
Definition: EcalFenixStrip.h:65
EcalFenixStrip::lin_out_
std::vector< std::vector< int > > lin_out_
Definition: EcalFenixStrip.h:63
EcalFenixStrip::getPeakFinder
EcalFenixPeakFinder * getPeakFinder() const
Definition: EcalFenixStrip.h:121
EcalFenixAmplitudeFilter::setParameters
void setParameters(uint32_t raw, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
Definition: EcalFenixAmplitudeFilter.cc:95
hgcalPerformanceValidation.df
df
Definition: hgcalPerformanceValidation.py:640
EcalFenixStrip::identif_
bool identif_
Definition: EcalFenixStrip.h:80
EcalFenixStrip::peak_out_
std::vector< int > peak_out_
Definition: EcalFenixStrip.h:66
EcalFenixStrip::linearizer_
std::vector< EcalFenixLinearizer * > linearizer_
Definition: EcalFenixStrip.h:48
EcalFenixAmplitudeFilter
calculates .... for Fenix strip, barrel input: 18 bits output: 18 bits
Definition: EcalFenixAmplitudeFilter.h:17
EcalFenixStrip::ecaltpgFgStripEE_
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_
Definition: EcalFenixStrip.h:76
EcalFenixStrip::fenixFormatterEE_
EcalFenixStripFormatEE * fenixFormatterEE_
Definition: EcalFenixStrip.h:56
EcalFenixStrip::theMapping_
const EcalElectronicsMapping * theMapping_
Definition: EcalFenixStrip.h:42
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
EcalFenixStripFormatEB::process
int process()
Definition: EcalFenixStripFormatEB.cc:16
EcalFenixStripFormatEE::setParameters
void setParameters(uint32_t id, const EcalTPGSlidingWindow *&, const EcalTPGStripStatus *)
Definition: EcalFenixStripFormatEE.cc:62
EcalFenixStrip::fgvb_out_
std::vector< int > fgvb_out_
Definition: EcalFenixStrip.h:68
EcalFenixStripFormatEB
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
Definition: EcalFenixStripFormatEB.h:18
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
EcalTriggerElectronicsId::rawId
uint32_t rawId() const
Definition: EcalTriggerElectronicsId.h:28
EcalFenixAmplitudeFilter::process
void process()
Definition: EcalFenixAmplitudeFilter.cc:72
EcalFenixStrip::ecaltpLin_
const EcalTPGLinearizationConst * ecaltpLin_
Definition: EcalFenixStrip.h:72
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
EcalFenixStrip::peak_finder_
EcalFenixPeakFinder * peak_finder_
Definition: EcalFenixStrip.h:52