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 ( const edm::EventSetup setup,
const EcalElectronicsMapping theMapping,
bool  debug,
bool  famos,
int  maxNrSamples,
int  nbMaxXtals 
)

Definition at line 11 of file EcalFenixStrip.cc.

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.

15  : theMapping_(theMapping), debug_(debug), famos_(famos),
16  nbMaxXtals_(nbMaxXtals) {
17  linearizer_.resize(nbMaxXtals_);
18  for (int i = 0; i < nbMaxXtals_; i++)
20  adder_ = new EcalFenixEtStrip();
26 
27  // prepare data storage for all events
28  std::vector<int> v;
29  v.resize(maxNrSamples);
30  lin_out_.resize(nbMaxXtals_);
31  for (int i = 0; i < 5; i++)
32  lin_out_[i] = v;
33  add_out_.resize(maxNrSamples);
34  filt_out_.resize(maxNrSamples);
35  peak_out_.resize(maxNrSamples);
36  format_out_.resize(maxNrSamples);
37  fgvb_out_.resize(maxNrSamples);
38  fgvb_out_temp_.resize(maxNrSamples);
39 }
EcalFenixStripFgvbEE * fgvbEE_
std::vector< std::vector< int > > lin_out_
std::vector< int > add_out_
std::vector< EcalFenixLinearizer * > linearizer_
EcalFenixStripFormatEB * fenixFormatterEB_
const EcalElectronicsMapping * theMapping_
calculates the peak for Fenix strip, barrel input : 18 bits output: boolean
calculation of Fgvb for the endcap in Fenix Strip calculates fgvb for the endcap in Fenix Strip ...
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
std::vector< int > filt_out_
Linearisation for Fenix strip input: 16 bits corresponding to input EBDataFrame output: 18 bits...
EcalFenixPeakFinder * peak_finder_
calculates .... for Fenix strip, barrel input: 18 bits output: 18 bits
#define debug
Definition: HDRShower.cc:19
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
std::vector< int > fgvb_out_
std::vector< int > format_out_
EcalFenixAmplitudeFilter * amplitude_filter_
EcalFenixStripFormatEE * fenixFormatterEE_
std::vector< int > peak_out_
EcalFenixEtStrip * adder_
std::vector< int > fgvb_out_temp_
EcalFenixStrip::~EcalFenixStrip ( )
virtual

Definition at line 42 of file EcalFenixStrip.cc.

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

42  {
43  for (int i = 0; i < nbMaxXtals_; i++)
44  delete linearizer_[i];
45  delete adder_;
46  delete amplitude_filter_;
47  delete peak_finder_;
48  delete fenixFormatterEB_;
49  delete fenixFormatterEE_;
50  delete fgvbEE_;
51 }
EcalFenixStripFgvbEE * fgvbEE_
std::vector< EcalFenixLinearizer * > linearizer_
EcalFenixStripFormatEB * fenixFormatterEB_
EcalFenixPeakFinder * peak_finder_
EcalFenixAmplitudeFilter * amplitude_filter_
EcalFenixStripFormatEE * fenixFormatterEE_
EcalFenixEtStrip * adder_

Member Function Documentation

EcalFenixEtStrip* EcalFenixStrip::getAdder ( ) const
inline

Definition at line 117 of file EcalFenixStrip.h.

References adder_.

Referenced by process_part1().

117 { return adder_; }
EcalFenixEtStrip * adder_
bool EcalFenixStrip::getbadStripMissing ( ) const
inline

Definition at line 127 of file EcalFenixStrip.h.

References identif_.

127 { return identif_; }
EcalFenixStripFgvbEE* EcalFenixStrip::getFGVB ( ) const
inline

Definition at line 124 of file EcalFenixStrip.h.

References fgvbEE_.

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

124 { return fgvbEE_; }
EcalFenixStripFgvbEE * fgvbEE_
EcalFenixAmplitudeFilter* EcalFenixStrip::getFilter ( ) const
inline

Definition at line 118 of file EcalFenixStrip.h.

References amplitude_filter_.

Referenced by process_part1().

118 { return amplitude_filter_; }
EcalFenixAmplitudeFilter * amplitude_filter_
EcalFenixStripFormatEB* EcalFenixStrip::getFormatterEB ( ) const
inline

Definition at line 121 of file EcalFenixStrip.h.

References fenixFormatterEB_.

Referenced by process_part2_barrel().

121 { return fenixFormatterEB_; }
EcalFenixStripFormatEB * fenixFormatterEB_
EcalFenixStripFormatEE* EcalFenixStrip::getFormatterEE ( ) const
inline

Definition at line 122 of file EcalFenixStrip.h.

References fenixFormatterEE_.

Referenced by process_part2_endcap().

122 { return fenixFormatterEE_; }
EcalFenixStripFormatEE * fenixFormatterEE_
EcalFenixLinearizer* EcalFenixStrip::getLinearizer ( int  i) const
inline

Definition at line 116 of file EcalFenixStrip.h.

References mps_fire::i.

Referenced by process_part1().

116 { return linearizer_[i]; }
std::vector< EcalFenixLinearizer * > linearizer_
EcalFenixPeakFinder* EcalFenixStrip::getPeakFinder ( ) const
inline

Definition at line 119 of file EcalFenixStrip.h.

References peak_finder_.

Referenced by process_part1().

119 { return peak_finder_; }
EcalFenixPeakFinder * peak_finder_
template<class T >
void EcalFenixStrip::process ( const edm::EventSetup ,
std::vector< const T > &  ,
int  nrxtals,
std::vector< int > &  out 
)
void EcalFenixStrip::process ( const edm::EventSetup setup,
std::vector< EBDataFrame > &  samples,
int  nrXtals,
std::vector< int > &  out 
)
inline

Definition at line 131 of file EcalFenixStrip.h.

References gather_cfg::cout, format_out_, getFGVB(), EcalFenixStripFgvbEE::getMissedStripFlag(), EcalElectronicsMapping::getTriggerElectronicsId(), process_part1(), process_part2_barrel(), and EcalTriggerElectronicsId::rawId().

132  {
133 
134  // now call processing
135  if (samples.empty()) {
136  std::cout << " Warning: 0 size vector found in EcalFenixStripProcess!!!!!"
137  << std::endl;
138  return;
139  }
140  const EcalTriggerElectronicsId elId =
142  uint32_t stripid = elId.rawId() & 0xfffffff8; // from Pascal
143 
145 
146  process_part1(identif_, samples, nrXtals, stripid, ecaltpPed_, ecaltpLin_,
148  ecaltpgBadX_); // templated part
150  ecaltpgFgStripEE_); // part different for barrel/endcap
151  out = format_out_;
152  }
void process_part2_barrel(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE)
const EcalElectronicsMapping * theMapping_
const EcalTPGSlidingWindow * ecaltpgSlidW_
bool getMissedStripFlag() const
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)
const EcalTPGLinearizationConst * ecaltpLin_
const EcalTPGCrystalStatus * ecaltpgBadX_
EcalTriggerElectronicsId getTriggerElectronicsId(const DetId &id) const
Get the trigger electronics id for this det id.
EcalFenixStripFgvbEE * getFGVB() const
const EcalTPGWeightIdMap * ecaltpgWeightMap_
const EcalTPGWeightGroup * ecaltpgWeightGroup_
const EcalTPGPedestals * ecaltpPed_
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_
std::vector< int > format_out_
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
void EcalFenixStrip::process ( const edm::EventSetup setup,
std::vector< EEDataFrame > &  samples,
int  nrXtals,
std::vector< int > &  out 
)
inline

Definition at line 154 of file EcalFenixStrip.h.

References gather_cfg::cout, format_out_, getFGVB(), EcalFenixStripFgvbEE::getMissedStripFlag(), EcalElectronicsMapping::getTriggerElectronicsId(), process_part1(), process_part2_endcap(), and EcalTriggerElectronicsId::rawId().

155  {
156 
157  // now call processing
158  if (samples.empty()) {
159  std::cout << " Warning: 0 size vector found in EcalFenixStripProcess!!!!!"
160  << std::endl;
161  return;
162  }
163  const EcalTriggerElectronicsId elId =
165  uint32_t stripid = elId.rawId() & 0xfffffff8; // from Pascal
166 
168 
169  process_part1(identif_, samples, nrXtals, stripid, ecaltpPed_, ecaltpLin_,
171  ecaltpgBadX_); // templated part
174  out = format_out_; // FIXME: timing
175  return;
176  }
const EcalElectronicsMapping * theMapping_
const EcalTPGSlidingWindow * ecaltpgSlidW_
void process_part2_endcap(uint32_t stripid, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE, const EcalTPGStripStatus *ecaltpgStripStatus)
bool getMissedStripFlag() const
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)
const EcalTPGLinearizationConst * ecaltpLin_
const EcalTPGStripStatus * ecaltpgStripStatus_
const EcalTPGCrystalStatus * ecaltpgBadX_
EcalTriggerElectronicsId getTriggerElectronicsId(const DetId &id) const
Get the trigger electronics id for this det id.
EcalFenixStripFgvbEE * getFGVB() const
const EcalTPGWeightIdMap * ecaltpgWeightMap_
const EcalTPGWeightGroup * ecaltpgWeightGroup_
const EcalTPGPedestals * ecaltpPed_
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_
std::vector< int > format_out_
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
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 179 of file EcalFenixStrip.h.

References gather_cfg::cout, TauDecayModes::dec, getAdder(), getFGVB(), getFilter(), getLinearizer(), getPeakFinder(), mps_fire::i, EcalFenixPeakFinder::process(), EcalFenixEtStrip::process(), EcalFenixAmplitudeFilter::process(), EcalFenixStripFgvbEE::process(), EcalFenixLinearizer::process(), EcalFenixStripFgvbEE::setParameters(), EcalFenixAmplitudeFilter::setParameters(), and EcalFenixLinearizer::setParameters().

Referenced by process().

184  {
185 
186  if (debug_)
187  std::cout << "\n\nEcalFenixStrip input is a vector of size: " << nrXtals
188  << std::endl;
189 
190  // loop over crystals
191  for (int cryst = 0; cryst < nrXtals; cryst++) {
192  if (debug_) {
193  std::cout << std::endl;
194  std::cout << "cryst= " << cryst
195  << " EBDataFrame/EEDataFrame is: " << std::endl;
196  for (int i = 0; i < df[cryst].size(); i++) {
197  std::cout << " " << std::dec << df[cryst][i].adc();
198  }
199  std::cout << std::endl;
200  }
201  // call linearizer
202  this->getLinearizer(cryst)->setParameters(
203  df[cryst].id().rawId(), ecaltpPed, ecaltpLin, ecaltpBadX);
204  this->getLinearizer(cryst)->process(df[cryst], lin_out_[cryst]);
205  }
206 
207  if (debug_) {
208  std::cout << "output of linearizer is a vector of size: " << std::dec
209  << lin_out_.size() << " of which used " << nrXtals << std::endl;
210  for (int ix = 0; ix < nrXtals; ix++) {
211  std::cout << "cryst: " << ix << " value : " << std::dec << std::endl;
212  std::cout << " lin_out[ix].size()= " << std::dec << lin_out_[ix].size()
213  << std::endl;
214  for (unsigned int i = 0; i < lin_out_[ix].size(); i++) {
215  std::cout << " " << std::dec << (lin_out_[ix])[i];
216  }
217  std::cout << std::endl;
218  }
219 
220  std::cout << std::endl;
221  }
222 
223  // Now call the sFGVB - this is common between EB and EE!
224  getFGVB()->setParameters(identif, stripid, ecaltpgFgStripEE_);
226 
227  if (debug_) {
228  std::cout << "output of strip fgvb is a vector of size: " << std::dec
229  << fgvb_out_temp_.size() << std::endl;
230  for (unsigned int i = 0; i < fgvb_out_temp_.size(); i++) {
231  std::cout << " " << std::dec << (fgvb_out_temp_[i]);
232  }
233  std::cout << std::endl;
234  }
235 
236  // call adder
237  this->getAdder()->process(
238  lin_out_, nrXtals, add_out_); // add_out is of size SIZEMAX=maxNrSamples
239 
240  if (debug_) {
241  std::cout << "output of adder is a vector of size: " << std::dec
242  << 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]
245  << std::endl;
246  }
247  std::cout << std::endl;
248  }
249 
250  if (famos_) {
251  filt_out_[0] = add_out_[0];
252  peak_out_[0] = add_out_[0];
253  return;
254  } else {
255  // call amplitudefilter
256  this->getFilter()->setParameters(stripid, ecaltpgWeightMap,
257  ecaltpgWeightGroup);
259  fgvb_out_);
260 
261  if (debug_) {
262  std::cout << "output of filter is a vector of size: " << std::dec
263  << filt_out_.size() << std::endl;
264  for (unsigned int ix = 0; ix < filt_out_.size(); ix++) {
265  std::cout << "cryst: " << ix << " value : " << std::dec
266  << filt_out_[ix] << std::endl;
267  }
268  std::cout << std::endl;
269 
270  std::cout << "output of sfgvb after filter is a vector of size: "
271  << std::dec << fgvb_out_.size() << std::endl;
272  for (unsigned int ix = 0; ix < fgvb_out_.size(); ix++) {
273  std::cout << "cryst: " << ix << " value : " << std::dec
274  << fgvb_out_[ix] << std::endl;
275  }
276  std::cout << std::endl;
277  }
278 
279  // call peakfinder
281  if (debug_) {
282  std::cout << "output of peakfinder is a vector of size: "
283  << peak_out_.size() << std::endl;
284  for (unsigned int ix = 0; ix < peak_out_.size(); ix++) {
285  std::cout << "cryst: " << ix << " value : " << peak_out_[ix]
286  << std::endl;
287  }
288  std::cout << std::endl;
289  }
290  return;
291  }
292  }
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
std::vector< std::vector< int > > lin_out_
std::vector< int > add_out_
void process(std::vector< std::vector< int >> &lin_out, std::vector< int > &output)
void setParameters(int identif, uint32_t id, const EcalTPGFineGrainStripEE *)
EcalFenixAmplitudeFilter * getFilter() const
EcalFenixPeakFinder * getPeakFinder() const
std::vector< int > filt_out_
void process(const std::vector< std::vector< int >> &linout, int nrXtals, std::vector< int > &output)
EcalFenixStripFgvbEE * getFGVB() const
std::vector< int > fgvb_out_
EcalFenixEtStrip * getAdder() const
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_
void setParameters(uint32_t raw, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
EcalFenixLinearizer * getLinearizer(int i) const
std::vector< int > peak_out_
std::vector< int > fgvb_out_temp_
void EcalFenixStrip::process_part2_barrel ( uint32_t  stripid,
const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGFineGrainStripEE ecaltpgFgStripEE 
)

Definition at line 54 of file EcalFenixStrip.cc.

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(), and setPointers().

56  {
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: "
68  << format_out_.size() << std::endl;
69  std::cout << "value : " << std::endl;
70  for (unsigned int i = 0; i < format_out_.size(); i++) {
71  std::cout << " " << format_out_[i];
72  }
73  std::cout << std::endl;
74  }
75  return;
76 }
std::vector< int > filt_out_
std::vector< int > fgvb_out_
EcalFenixStripFormatEB * getFormatterEB() const
void setParameters(uint32_t &, const EcalTPGSlidingWindow *&)
std::vector< int > format_out_
std::vector< int > peak_out_
void EcalFenixStrip::process_part2_endcap ( uint32_t  stripid,
const EcalTPGSlidingWindow ecaltpgSlidW,
const EcalTPGFineGrainStripEE ecaltpgFgStripEE,
const EcalTPGStripStatus ecaltpgStripStatus 
)

Definition at line 78 of file EcalFenixStrip.cc.

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(), and setPointers().

81  {
82 
83  // call Fgvb
84  // this->getFGVB()->setParameters(stripid,ecaltpgFgStripEE);
85  // this->getFGVB()->process(lin_out_,fgvb_out_);
86 
87  // call formatter
88  this->getFormatterEE()->setParameters(stripid, ecaltpgSlidW,
89  ecaltpgStripStatus);
90 
92 
93  // this is a test:
94  if (debug_) {
95  std::cout << "output of formatter is a vector of size: "
96  << format_out_.size() << std::endl;
97  std::cout << "value : " << std::endl;
98  for (unsigned int i = 0; i < format_out_.size(); i++) {
99  std::cout << " " << std::dec << format_out_[i];
100  }
101  std::cout << std::endl;
102  }
103 
104  return;
105 }
void setParameters(uint32_t id, const EcalTPGSlidingWindow *&, const EcalTPGStripStatus *)
std::vector< int > filt_out_
std::vector< int > fgvb_out_
std::vector< int > format_out_
EcalFenixStripFormatEE * getFormatterEE() const
std::vector< int > peak_out_
void EcalFenixStrip::setbadStripMissing ( bool  flag)
inline

Definition at line 126 of file EcalFenixStrip.h.

References RemoveAddSevLevel::flag.

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 80 of file EcalFenixStrip.h.

References MillePedeFileConverter_cfg::out, process(), process_part2_barrel(), and process_part2_endcap().

Referenced by EcalTrigPrimFunctionalAlgo::setPointers().

87  {
88  ecaltpPed_ = ecaltpPed;
89  ecaltpLin_ = ecaltpLin;
90  ecaltpgWeightMap_ = ecaltpgWeightMap;
91  ecaltpgWeightGroup_ = ecaltpgWeightGroup;
92  ecaltpgSlidW_ = ecaltpgSlidW;
93  ecaltpgFgStripEE_ = ecaltpgFgStripEE;
94  ecaltpgBadX_ = ecaltpgBadX;
95  ecaltpgStripStatus_ = ecaltpgStripStatus;
96  }
const EcalTPGSlidingWindow * ecaltpgSlidW_
const EcalTPGLinearizationConst * ecaltpLin_
const EcalTPGStripStatus * ecaltpgStripStatus_
const EcalTPGCrystalStatus * ecaltpgBadX_
const EcalTPGWeightIdMap * ecaltpgWeightMap_
const EcalTPGWeightGroup * ecaltpgWeightGroup_
const EcalTPGPedestals * ecaltpPed_
const EcalTPGFineGrainStripEE * ecaltpgFgStripEE_

Member Data Documentation

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

Definition at line 61 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip().

EcalFenixEtStrip* EcalFenixStrip::adder_
private

Definition at line 55 of file EcalFenixStrip.h.

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

EcalFenixAmplitudeFilter* EcalFenixStrip::amplitude_filter_
private

Definition at line 47 of file EcalFenixStrip.h.

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

bool EcalFenixStrip::debug_
private

Definition at line 41 of file EcalFenixStrip.h.

Referenced by process_part2_barrel(), and process_part2_endcap().

const EcalTPGCrystalStatus* EcalFenixStrip::ecaltpgBadX_
private

Definition at line 74 of file EcalFenixStrip.h.

const EcalTPGFineGrainStripEE* EcalFenixStrip::ecaltpgFgStripEE_
private

Definition at line 73 of file EcalFenixStrip.h.

const EcalTPGSlidingWindow* EcalFenixStrip::ecaltpgSlidW_
private

Definition at line 72 of file EcalFenixStrip.h.

const EcalTPGStripStatus* EcalFenixStrip::ecaltpgStripStatus_
private

Definition at line 75 of file EcalFenixStrip.h.

const EcalTPGWeightGroup* EcalFenixStrip::ecaltpgWeightGroup_
private

Definition at line 71 of file EcalFenixStrip.h.

const EcalTPGWeightIdMap* EcalFenixStrip::ecaltpgWeightMap_
private

Definition at line 70 of file EcalFenixStrip.h.

const EcalTPGLinearizationConst* EcalFenixStrip::ecaltpLin_
private

Definition at line 69 of file EcalFenixStrip.h.

const EcalTPGPedestals* EcalFenixStrip::ecaltpPed_
private

Definition at line 68 of file EcalFenixStrip.h.

bool EcalFenixStrip::famos_
private

Definition at line 42 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip().

EcalFenixStripFormatEB* EcalFenixStrip::fenixFormatterEB_
private

Definition at line 51 of file EcalFenixStrip.h.

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

EcalFenixStripFormatEE* EcalFenixStrip::fenixFormatterEE_
private

Definition at line 53 of file EcalFenixStrip.h.

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

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

Definition at line 65 of file EcalFenixStrip.h.

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

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

Definition at line 66 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip().

EcalFenixStripFgvbEE* EcalFenixStrip::fgvbEE_
private

Definition at line 57 of file EcalFenixStrip.h.

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

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

Definition at line 62 of file EcalFenixStrip.h.

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

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

Definition at line 77 of file EcalFenixStrip.h.

Referenced by getbadStripMissing().

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

Definition at line 60 of file EcalFenixStrip.h.

Referenced by EcalFenixStrip().

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

Definition at line 45 of file EcalFenixStrip.h.

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

int EcalFenixStrip::nbMaxXtals_
private

Definition at line 43 of file EcalFenixStrip.h.

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

EcalFenixPeakFinder* EcalFenixStrip::peak_finder_
private

Definition at line 49 of file EcalFenixStrip.h.

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

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

Definition at line 63 of file EcalFenixStrip.h.

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

const EcalElectronicsMapping* EcalFenixStrip::theMapping_
private

Definition at line 39 of file EcalFenixStrip.h.