CMS 3D CMS Logo

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

#include <SiStripFedZeroSuppression.h>

Public Member Functions

void init (const edm::EventSetup &es)
 
 SiStripFedZeroSuppression (uint16_t fedalgo, edm::ConsumesCollector *iC=nullptr, bool trunc=true, bool trunc10bits=false)
 
void suppress (const std::vector< SiStripDigi > &in, std::vector< SiStripDigi > &selectedSignal, uint32_t detId, const SiStripNoises &, const SiStripThreshold &)
 
void suppress (const std::vector< SiStripDigi > &in, std::vector< SiStripDigi > &selectedSignal, uint32_t detId)
 
void suppress (const edm::DetSet< SiStripRawDigi > &in, edm::DetSet< SiStripDigi > &out)
 
void suppress (const std::vector< int16_t > &in, uint16_t firstAPV, edm::DetSet< SiStripDigi > &out)
 
uint16_t truncate (int16_t adc) const
 
 ~SiStripFedZeroSuppression ()
 

Private Member Functions

void fillThresholds_ (const uint32_t detID, size_t size)
 
bool isAValidDigi ()
 

Private Attributes

int16_t adc
 
int16_t adcMaxNeigh
 
int16_t adcNext
 
int16_t adcNext2
 
int16_t adcPrev
 
int16_t adcPrev2
 
bool doTruncate
 
bool doTruncate10bits
 
std::vector< int16_t > highThr_
 
std::vector< float > highThrSN_
 
std::vector< int16_t > lowThr_
 
std::vector< float > lowThrSN_
 
const SiStripNoisesnoise_
 
std::vector< float > noises_
 
edm::ESGetToken< SiStripNoises, SiStripNoisesRcdnoiseToken_
 
edm::ESWatcher< SiStripNoisesRcdnoiseWatcher_
 
uint16_t theFEDalgorithm
 
int16_t theFEDhighThresh
 
int16_t theFEDlowThresh
 
int16_t theNeighFEDhighThresh
 
int16_t theNeighFEDlowThresh
 
int16_t theNext2FEDlowThresh
 
int16_t theNextFEDhighThresh
 
int16_t theNextFEDlowThresh
 
int16_t thePrev2FEDlowThresh
 
int16_t thePrevFEDhighThresh
 
int16_t thePrevFEDlowThresh
 
const SiStripThresholdthreshold_
 
edm::ESGetToken< SiStripThreshold, SiStripThresholdRcdthresholdToken_
 
edm::ESWatcher< SiStripThresholdRcdthresholdWatcher_
 

Friends

class SiStripRawProcessingFactory
 

Detailed Description

Definition at line 20 of file SiStripFedZeroSuppression.h.

Constructor & Destructor Documentation

◆ SiStripFedZeroSuppression()

SiStripFedZeroSuppression::SiStripFedZeroSuppression ( uint16_t  fedalgo,
edm::ConsumesCollector iC = nullptr,
bool  trunc = true,
bool  trunc10bits = false 
)
inline

◆ ~SiStripFedZeroSuppression()

SiStripFedZeroSuppression::~SiStripFedZeroSuppression ( )
inline

Definition at line 35 of file SiStripFedZeroSuppression.h.

35 {};

Member Function Documentation

◆ fillThresholds_()

void SiStripFedZeroSuppression::fillThresholds_ ( const uint32_t  detID,
size_t  size 
)
private

Definition at line 255 of file SiStripFedZeroSuppression.cc.

References MillePedeFileConverter_cfg::e, hgchebackDigitizer_cfi::noise, sistrip::extrainfo::noise_, findQualityFiles::size, and digitizers_cfi::strip.

255  {
256  SiStripNoises::Range detNoiseRange = noise_->getRange(detID);
257  SiStripThreshold::Range detThRange = threshold_->getRange(detID);
258 
259  if (highThr_.size() != size) {
260  highThr_.resize(size);
261  lowThr_.resize(size);
262  noises_.resize(size);
263  highThrSN_.resize(size);
264  lowThrSN_.resize(size);
265  }
266 
267  noise_->allNoises(noises_, detNoiseRange);
268  threshold_->allThresholds(lowThrSN_, highThrSN_, detThRange); // thresholds as S/N
269  for (size_t strip = 0; strip < size; ++strip) {
270  float noise = noises_[strip];
271  // uncomment line below to check bluk noise decoding
272  //assert( noise == noiseHandle->getNoiseFast(strip,detNoiseRange) );
273  highThr_[strip] = static_cast<int16_t>(highThrSN_[strip] * noise + 0.5 + 1e-6);
274  lowThr_[strip] = static_cast<int16_t>(lowThrSN_[strip] * noise + 0.5 + 1e-6);
275  // Note: it's a bit wierd, but there are some cases for which 'highThrSN_[strip]*noise' is an exact integer
276  // but due to roundoffs it gets rounded to the integer below if.
277  // Apparently the optimized code inlines differently and this changes the roundoff.
278  // The +1e-6 fixes the problem. [GPetruc]
279  }
280 }
size
Write out results.
void allThresholds(std::vector< float > &lowThs, std::vector< float > &highThs, const Range &range) const
void allNoises(std::vector< float > &noises, const Range &range) const
const SiStripThreshold * threshold_
std::pair< ContainerIterator, ContainerIterator > Range
const Range getRange(const uint32_t detID) const
const Range getRange(const uint32_t &detID) const
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripNoises.h:47

◆ init()

void SiStripFedZeroSuppression::init ( const edm::EventSetup es)

Definition at line 12 of file SiStripFedZeroSuppression.cc.

References edm::EventSetup::getData(), and sistrip::extrainfo::noise_.

12  {
13  if (noiseWatcher_.check(es)) {
14  noise_ = &es.getData(noiseToken_);
15  }
16  if (thresholdWatcher_.check(es)) {
18  }
19 }
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
edm::ESGetToken< SiStripThreshold, SiStripThresholdRcd > thresholdToken_
edm::ESWatcher< SiStripNoisesRcd > noiseWatcher_
const SiStripThreshold * threshold_
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:57
edm::ESWatcher< SiStripThresholdRcd > thresholdWatcher_

◆ isAValidDigi()

bool SiStripFedZeroSuppression::isAValidDigi ( )
private

Definition at line 391 of file SiStripFedZeroSuppression.cc.

References accept(), gpuClustering::adc, edm::isDebugEnabled(), and LogTrace.

391  {
392 #ifdef DEBUG_SiStripZeroSuppression_
393 
394  if (edm::isDebugEnabled()) {
395  LogTrace("SiStripZeroSuppression") << "[SiStripFedZeroSuppression::suppress] "
396  << "\n\t adc " << adc << "\n\t adcPrev " << adcPrev << "\n\t adcNext " << adcNext
397  << "\n\t adcMaxNeigh " << adcMaxNeigh << "\n\t adcPrev2 " << adcPrev2
398  << "\n\t adcNext2 " << adcNext2 << std::endl;
399 
400  LogTrace("SiStripZeroSuppression") << "[SiStripFedZeroSuppression::suppress] "
401  << "\n\t theFEDlowThresh " << theFEDlowThresh << "\n\t theFEDhighThresh "
402  << theFEDhighThresh << "\n\t thePrevFEDlowThresh " << thePrevFEDlowThresh
403  << "\n\t thePrevFEDhighThresh " << thePrevFEDhighThresh
404  << "\n\t theNextFEDlowThresh " << theNextFEDlowThresh
405  << "\n\t theNextFEDhighThresh " << theNextFEDhighThresh
406  << "\n\t theNeighFEDlowThresh " << theNeighFEDlowThresh
407  << "\n\t theNeighFEDhighThresh " << theNeighFEDhighThresh
408  << "\n\t thePrev2FEDlowThresh " << thePrev2FEDlowThresh
409  << "\n\t theNext2FEDlowThresh " << theNext2FEDlowThresh << std::endl;
410  }
411 #endif
412  // Decide if this strip should be accepted.
413  bool accept = false;
414  switch (theFEDalgorithm) {
415  case 1:
416  accept = (adc >= theFEDlowThresh);
417  break;
418  case 2:
420  break;
421  case 3:
423  break;
424  case 4:
425  accept =
426  ((adc >= theFEDhighThresh) //Test for adc>highThresh (same as algorithm 2)
427  || ((adc >= theFEDlowThresh) //Test for adc>lowThresh, with neighbour adc>lowThresh (same as algorithm 2)
429  ((adc < theFEDlowThresh) //Test for adc<lowThresh
430  && (((adcPrev >= thePrevFEDhighThresh) //with both neighbours>highThresh
431  && (adcNext >= theNextFEDhighThresh)) ||
432  ((adcPrev >= thePrevFEDhighThresh) //OR with previous neighbour>highThresh and
433  && (adcNext >= theNextFEDlowThresh) //both the next neighbours>lowThresh
434  && (adcNext2 >= theNext2FEDlowThresh)) ||
435  ((adcNext >= theNextFEDhighThresh) //OR with next neighbour>highThresh and
436  && (adcPrev >= thePrevFEDlowThresh) //both the previous neighbours>lowThresh
437  && (adcPrev2 >= thePrev2FEDlowThresh)) ||
438  ((adcNext >= theNextFEDlowThresh) //OR with both next neighbours>lowThresh and
439  && (adcNext2 >= theNext2FEDlowThresh) //both the previous neighbours>lowThresh
441  break;
442  case 5:
443  accept = adc > 0;
444  break;
445  }
446  return accept;
447 }
bool isDebugEnabled()
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
#define LogTrace(id)

◆ suppress() [1/4]

void SiStripFedZeroSuppression::suppress ( const std::vector< SiStripDigi > &  in,
std::vector< SiStripDigi > &  selectedSignal,
uint32_t  detId,
const SiStripNoises noise,
const SiStripThreshold threshold 
)

Definition at line 81 of file SiStripFedZeroSuppression.cc.

References gpuClustering::adc, cms::cuda::assert(), mps_fire::i, recoMuon::in, SiStripPI::max, hgchebackDigitizer_cfi::noise, digitizers_cfi::strip, remoteMonitoring_LASER_era2018_cfg::threshold, and particleFlowZeroSuppressionECAL_cff::thresholds.

Referenced by DigiSimLinkAlgorithm::run().

85  {
86  int inSize = in.size();
87  SiStripNoises::Range detNoiseRange = noise.getRange(detID);
88  SiStripThreshold::Range detThRange = threshold.getRange(detID);
89 
90  // reserving more than needed, but quicker than one at a time
91  selectedSignal.clear();
92  selectedSignal.reserve(inSize);
93 
94  // load status
95  uint8_t stat[inSize];
96  for (int i = 0; i < inSize; i++) {
97  auto strip = (uint32_t)in[i].strip();
98 
99  auto ladc = in[i].adc();
100  assert(ladc > 0);
101 
102  auto thresholds = threshold.getData(strip, detThRange);
103 
104  auto highThresh = static_cast<int16_t>(thresholds.getHth() * noise.getNoiseFast(strip, detNoiseRange) + 0.5f);
105  auto lowThresh = static_cast<int16_t>(thresholds.getLth() * noise.getNoiseFast(strip, detNoiseRange) + 0.5f);
106 
107  assert(lowThresh >= 0);
108  assert(lowThresh <= highThresh);
109 
110  stat[i] = zeroTh;
111  if (ladc >= lowThresh)
112  stat[i] = lowTh;
113  if (ladc >= highThresh)
114  stat[i] = highTh;
115  }
116 
117  for (int i = 0; i < inSize; i++) {
118  auto strip = (uint32_t)in[i].strip();
119  Payload ldata;
120 
121  ldata.stat = stat[i];
122  ldata.statPrev = zeroTh;
123  ldata.statNext = zeroTh;
124  ldata.statPrev2 = zeroTh;
125  ldata.statNext2 = zeroTh;
126 
127  if (((strip) % 128) == 127) {
128  ldata.statNext = zeroTh;
129  } else if (i + 1 < inSize && in[i + 1].strip() == strip + 1) {
130  ldata.statNext = stat[i + 1];
131  if (((strip) % 128) == 126) {
132  ldata.statNext2 = zeroTh;
133  } else if (i + 2 < inSize && in[i + 2].strip() == strip + 2) {
134  ldata.statNext2 = stat[i + 2];
135  }
136  }
137 
138  if (((strip) % 128) == 0) {
139  ldata.statPrev = zeroTh;
140  } else if (i - 1 >= 0 && in[i - 1].strip() == strip - 1) {
141  ldata.statPrev = stat[i - 1];
142  if (((strip) % 128) == 1) {
143  ldata.statPrev2 = zeroTh;
144  } else if (i - 2 >= 0 && in[i - 2].strip() == strip - 2) {
145  ldata.statPrev2 = stat[i - 2];
146  }
147  }
148 
149  ldata.statMaxNeigh = std::max(ldata.statPrev, ldata.statNext);
150 
151  if (isDigiValid(ldata, theFEDalgorithm)) {
152  selectedSignal.push_back(SiStripDigi(strip, in[i].adc()));
153  }
154  }
155 }
assert(be >=bs)
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
std::pair< ContainerIterator, ContainerIterator > Range
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripNoises.h:47

◆ suppress() [2/4]

void SiStripFedZeroSuppression::suppress ( const std::vector< SiStripDigi > &  in,
std::vector< SiStripDigi > &  selectedSignal,
uint32_t  detId 
)

Definition at line 75 of file SiStripFedZeroSuppression.cc.

References recoMuon::in, sistrip::extrainfo::noise_, and suppress.

77  {
78  suppress(in, selectedSignal, detID, *noise_, *threshold_);
79 }
const SiStripThreshold * threshold_
void suppress(const std::vector< SiStripDigi > &in, std::vector< SiStripDigi > &selectedSignal, uint32_t detId, const SiStripNoises &, const SiStripThreshold &)

◆ suppress() [3/4]

void SiStripFedZeroSuppression::suppress ( const edm::DetSet< SiStripRawDigi > &  in,
edm::DetSet< SiStripDigi > &  out 
)

Definition at line 157 of file SiStripFedZeroSuppression.cc.

References gpuClustering::adc, SiStripThreshold::Data::getHth(), SiStripThreshold::Data::getLth(), recoMuon::in, edm::isDebugEnabled(), LogTrace, sistrip::extrainfo::noise_, MillePedeFileConverter_cfg::out, digitizers_cfi::strip, particleFlowZeroSuppressionECAL_cff::thresholds, and HLT_2023v12_cff::truncate.

157  {
158  const uint32_t detID = out.id;
159  SiStripNoises::Range detNoiseRange = noise_->getRange(detID);
160  SiStripThreshold::Range detThRange = threshold_->getRange(detID);
161 #ifdef DEBUG_SiStripZeroSuppression_
162  if (edm::isDebugEnabled())
163  LogTrace("SiStripZeroSuppression")
164  << "[SiStripFedZeroSuppression::suppress] Zero suppression on edm::DetSet<SiStripRawDigi>: detID " << detID
165  << " size = " << in.data.size();
166 #endif
167  edm::DetSet<SiStripRawDigi>::const_iterator in_iter = in.data.begin();
168  for (; in_iter != in.data.end(); in_iter++) {
169  const uint32_t strip = (uint32_t)(in_iter - in.data.begin());
170 
171 #ifdef DEBUG_SiStripZeroSuppression_
172  if (edm::isDebugEnabled())
173  LogTrace("SiStripZeroSuppression") << "[SiStripFedZeroSuppression::suppress] detID= " << detID
174  << " strip= " << strip << " adc= " << in_iter->adc();
175 #endif
176  adc = in_iter->adc();
177 
179  theFEDlowThresh = static_cast<int16_t>(thresholds.getLth() * noise_->getNoiseFast(strip, detNoiseRange) + 0.5);
180  theFEDhighThresh = static_cast<int16_t>(thresholds.getHth() * noise_->getNoiseFast(strip, detNoiseRange) + 0.5);
181 
182  adcPrev = -9999;
183  adcNext = -9999;
184  /*
185  If a strip is the last one on the chip
186  set its next neighbor's thresholds to infinity
187  because the FED does not merge clusters across
188  chip boundaries right now
189  */
190  if (strip % 128 == 127) {
191  adcNext = 0;
192  theNextFEDlowThresh = 9999;
193  theNextFEDhighThresh = 9999;
194  } else {
195  adcNext = (in_iter + 1)->adc();
196  SiStripThreshold::Data thresholds_1 = threshold_->getData(strip + 1, detThRange);
198  static_cast<int16_t>(thresholds_1.getLth() * noise_->getNoiseFast(strip + 1, detNoiseRange) + 0.5);
200  static_cast<int16_t>(thresholds_1.getHth() * noise_->getNoiseFast(strip + 1, detNoiseRange) + 0.5);
201  }
202  /*
203  Similarily, for the first strip
204  on a chip
205  */
206  if (strip % 128 == 0) {
207  adcPrev = 0;
208  thePrevFEDlowThresh = 9999;
209  thePrevFEDhighThresh = 9999;
210  } else {
211  adcPrev = (in_iter - 1)->adc();
212  SiStripThreshold::Data thresholds_1 = threshold_->getData(strip - 1, detThRange);
214  static_cast<int16_t>(thresholds_1.getLth() * noise_->getNoiseFast(strip - 1, detNoiseRange) + 0.5);
216  static_cast<int16_t>(thresholds_1.getHth() * noise_->getNoiseFast(strip - 1, detNoiseRange) + 0.5);
217  }
218  if (adcNext < adcPrev) {
222  } else {
226  }
227 
228  //Find adc values for next neighbouring strips
229  adcPrev2 = -9999;
230  adcNext2 = -9999;
233  if (strip % 128 >= 126) {
234  adcNext2 = 0;
235  theNext2FEDlowThresh = 9999;
236  } else if (strip % 128 < 126) {
237  adcNext2 = (in_iter + 2)->adc();
238  theNext2FEDlowThresh = static_cast<int16_t>(
239  threshold_->getData(strip + 2, detThRange).getLth() * noise_->getNoiseFast(strip + 2, detNoiseRange) + 0.5);
240  }
241  if (strip % 128 <= 1) {
242  adcPrev2 = 0;
243  thePrev2FEDlowThresh = 9999;
244  } else if (strip % 128 > 1) {
245  adcPrev2 = (in_iter - 2)->adc();
246  thePrev2FEDlowThresh = static_cast<int16_t>(
247  threshold_->getData(strip - 2, detThRange).getLth() * noise_->getNoiseFast(strip - 2, detNoiseRange) + 0.5);
248  }
249  //GB 23/6/08: truncation should be done at the very beginning
250  if (isAValidDigi())
251  out.data.push_back(SiStripDigi(strip, truncate(in_iter->adc())));
252  }
253 }
bool isDebugEnabled()
SiStripThreshold::Data getData(const uint16_t &strip, const Range &range) const
#define LogTrace(id)
static float getNoiseFast(const uint16_t &strip, const Range &range)
Definition: SiStripNoises.h:68
const SiStripThreshold * threshold_
uint16_t truncate(int16_t adc) const
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
std::pair< ContainerIterator, ContainerIterator > Range
const Range getRange(const uint32_t detID) const
const Range getRange(const uint32_t &detID) const
std::pair< ContainerIterator, ContainerIterator > Range
Definition: SiStripNoises.h:47
collection_type::const_iterator const_iterator
Definition: DetSet.h:31

◆ suppress() [4/4]

void SiStripFedZeroSuppression::suppress ( const std::vector< int16_t > &  in,
uint16_t  firstAPV,
edm::DetSet< SiStripDigi > &  out 
)

Definition at line 282 of file SiStripFedZeroSuppression.cc.

References gpuClustering::adc, recoMuon::in, edm::isDebugEnabled(), LogTrace, MillePedeFileConverter_cfg::out, findQualityFiles::size, digitizers_cfi::strip, and HLT_2023v12_cff::truncate.

284  {
285  const uint32_t detID = out.id;
286  size_t size = in.size();
287 #ifdef DEBUG_SiStripZeroSuppression_
288  if (edm::isDebugEnabled())
289  LogTrace("SiStripZeroSuppression")
290  << "[SiStripFedZeroSuppression::suppress] Zero suppression on std::vector<int16_t>: detID " << detID
291  << " size = " << in.size();
292 #endif
293 
294  fillThresholds_(detID, size + firstAPV * 128); // want to decouple this from the other cost
295 
296  std::vector<int16_t>::const_iterator in_iter = in.begin();
297  uint16_t strip = firstAPV * 128;
298  for (; strip < size + firstAPV * 128; ++strip, ++in_iter) {
299  size_t strip_mod_128 = strip & 127;
300 #ifdef DEBUG_SiStripZeroSuppression_
301  if (edm::isDebugEnabled())
302  LogTrace("SiStripZeroSuppression") << "[SiStripFedZeroSuppression::suppress] detID= " << detID
303  << " strip= " << strip << " adc= " << *in_iter;
304 #endif
305  adc = *in_iter;
306 
309 
310  //Find adc values for neighbouring strips
311 
312  /*
313  If a strip is the last one on the chip
314  set its next neighbor's thresholds to infinity
315  because the FED does not merge clusters across
316  chip boundaries right now
317  */
318 
319  //adcPrev = -9999; // useless, they are set
320  //adcNext = -9999; // in the next lines in any case
321  if (strip_mod_128 == 127) {
322  adcNext = 0;
323  theNextFEDlowThresh = 9999;
324  theNextFEDhighThresh = 9999;
325  } else {
326  adcNext = *(in_iter + 1);
329  }
330 
331  /*
332  Similarily, for the first strip
333  on a chip
334  */
335  if (strip_mod_128 == 0) {
336  adcPrev = 0;
337  thePrevFEDlowThresh = 9999;
338  thePrevFEDhighThresh = 9999;
339  } else {
340  adcPrev = *(in_iter - 1);
343  }
344 
345  if (adcNext < adcPrev) {
349  } else {
353  }
354 
355  //Find adc values for next neighbouring strips
356  //adcPrev2 = -9999; //
357  //adcNext2 = -9999; // useless to set them here
358  //thePrev2FEDlowThresh = 1; // they are overwritten always in the next 8 lines
359  //theNext2FEDlowThresh = 1; //
360  if (strip_mod_128 >= 126) {
361  adcNext2 = 0;
362  theNext2FEDlowThresh = 9999;
363  //} else if ( strip_mod_128 < 126 ) { // if it's not >= then is <, no need to "if" again
364  } else {
365  adcNext2 = *(in_iter + 2);
367  }
368  if (strip_mod_128 <= 1) {
369  adcPrev2 = 0;
370  thePrev2FEDlowThresh = 9999;
371  //} else if ( strip_mod_128 > 1 ) { // same as above
372  } else {
373  adcPrev2 = *(in_iter - 2);
375  ;
376  }
377 
378  if (isAValidDigi()) {
379 #ifdef DEBUG_SiStripZeroSuppression_
380  if (edm::isDebugEnabled())
381  LogTrace("SiStripZeroSuppression")
382  << "[SiStripFedZeroSuppression::suppress] DetId " << out.id << " strip " << strip << " adc " << *in_iter
383  << " digiCollection size " << out.data.size();
384 #endif
385  //GB 23/6/08: truncation should be done at the very beginning
386  out.push_back(SiStripDigi(strip, (*in_iter < 0 ? 0 : truncate(*in_iter))));
387  }
388  }
389 }
size
Write out results.
bool isDebugEnabled()
#define LogTrace(id)
uint16_t truncate(int16_t adc) const
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
void fillThresholds_(const uint32_t detID, size_t size)

◆ truncate()

uint16_t SiStripFedZeroSuppression::truncate ( int16_t  adc) const
inline

Definition at line 46 of file SiStripFedZeroSuppression.h.

References adc, doTruncate, and doTruncate10bits.

46  {
47  if (adc > 253 && doTruncate && !doTruncate10bits)
48  return ((adc == 1023) ? 255 : 254);
49  return adc;
50  };

Friends And Related Function Documentation

◆ SiStripRawProcessingFactory

friend class SiStripRawProcessingFactory
friend

Definition at line 21 of file SiStripFedZeroSuppression.h.

Member Data Documentation

◆ adc

int16_t SiStripFedZeroSuppression::adc
private

Definition at line 68 of file SiStripFedZeroSuppression.h.

Referenced by truncate().

◆ adcMaxNeigh

int16_t SiStripFedZeroSuppression::adcMaxNeigh
private

Definition at line 71 of file SiStripFedZeroSuppression.h.

◆ adcNext

int16_t SiStripFedZeroSuppression::adcNext
private

Definition at line 70 of file SiStripFedZeroSuppression.h.

◆ adcNext2

int16_t SiStripFedZeroSuppression::adcNext2
private

Definition at line 73 of file SiStripFedZeroSuppression.h.

◆ adcPrev

int16_t SiStripFedZeroSuppression::adcPrev
private

Definition at line 69 of file SiStripFedZeroSuppression.h.

◆ adcPrev2

int16_t SiStripFedZeroSuppression::adcPrev2
private

Definition at line 72 of file SiStripFedZeroSuppression.h.

◆ doTruncate

bool SiStripFedZeroSuppression::doTruncate
private

Definition at line 63 of file SiStripFedZeroSuppression.h.

Referenced by truncate().

◆ doTruncate10bits

bool SiStripFedZeroSuppression::doTruncate10bits
private

Definition at line 64 of file SiStripFedZeroSuppression.h.

Referenced by truncate().

◆ highThr_

std::vector<int16_t> SiStripFedZeroSuppression::highThr_
private

Definition at line 87 of file SiStripFedZeroSuppression.h.

◆ highThrSN_

std::vector<float> SiStripFedZeroSuppression::highThrSN_
private

Definition at line 88 of file SiStripFedZeroSuppression.h.

◆ lowThr_

std::vector<int16_t> SiStripFedZeroSuppression::lowThr_
private

Definition at line 87 of file SiStripFedZeroSuppression.h.

◆ lowThrSN_

std::vector<float> SiStripFedZeroSuppression::lowThrSN_
private

Definition at line 88 of file SiStripFedZeroSuppression.h.

◆ noise_

const SiStripNoises* SiStripFedZeroSuppression::noise_
private

Definition at line 55 of file SiStripFedZeroSuppression.h.

◆ noises_

std::vector<float> SiStripFedZeroSuppression::noises_
private

Definition at line 89 of file SiStripFedZeroSuppression.h.

◆ noiseToken_

edm::ESGetToken<SiStripNoises, SiStripNoisesRcd> SiStripFedZeroSuppression::noiseToken_
private

Definition at line 50 of file SiStripFedZeroSuppression.h.

Referenced by SiStripFedZeroSuppression().

◆ noiseWatcher_

edm::ESWatcher<SiStripNoisesRcd> SiStripFedZeroSuppression::noiseWatcher_
private

Definition at line 57 of file SiStripFedZeroSuppression.h.

◆ theFEDalgorithm

uint16_t SiStripFedZeroSuppression::theFEDalgorithm
private

Definition at line 60 of file SiStripFedZeroSuppression.h.

◆ theFEDhighThresh

int16_t SiStripFedZeroSuppression::theFEDhighThresh
private

Definition at line 66 of file SiStripFedZeroSuppression.h.

◆ theFEDlowThresh

int16_t SiStripFedZeroSuppression::theFEDlowThresh
private

Definition at line 65 of file SiStripFedZeroSuppression.h.

◆ theNeighFEDhighThresh

int16_t SiStripFedZeroSuppression::theNeighFEDhighThresh
private

Definition at line 81 of file SiStripFedZeroSuppression.h.

◆ theNeighFEDlowThresh

int16_t SiStripFedZeroSuppression::theNeighFEDlowThresh
private

Definition at line 80 of file SiStripFedZeroSuppression.h.

◆ theNext2FEDlowThresh

int16_t SiStripFedZeroSuppression::theNext2FEDlowThresh
private

Definition at line 84 of file SiStripFedZeroSuppression.h.

◆ theNextFEDhighThresh

int16_t SiStripFedZeroSuppression::theNextFEDhighThresh
private

Definition at line 78 of file SiStripFedZeroSuppression.h.

◆ theNextFEDlowThresh

int16_t SiStripFedZeroSuppression::theNextFEDlowThresh
private

Definition at line 77 of file SiStripFedZeroSuppression.h.

◆ thePrev2FEDlowThresh

int16_t SiStripFedZeroSuppression::thePrev2FEDlowThresh
private

Definition at line 83 of file SiStripFedZeroSuppression.h.

◆ thePrevFEDhighThresh

int16_t SiStripFedZeroSuppression::thePrevFEDhighThresh
private

Definition at line 76 of file SiStripFedZeroSuppression.h.

◆ thePrevFEDlowThresh

int16_t SiStripFedZeroSuppression::thePrevFEDlowThresh
private

Definition at line 75 of file SiStripFedZeroSuppression.h.

◆ threshold_

const SiStripThreshold* SiStripFedZeroSuppression::threshold_
private

Definition at line 56 of file SiStripFedZeroSuppression.h.

◆ thresholdToken_

edm::ESGetToken<SiStripThreshold, SiStripThresholdRcd> SiStripFedZeroSuppression::thresholdToken_
private

Definition at line 54 of file SiStripFedZeroSuppression.h.

◆ thresholdWatcher_

edm::ESWatcher<SiStripThresholdRcd> SiStripFedZeroSuppression::thresholdWatcher_
private

Definition at line 58 of file SiStripFedZeroSuppression.h.