1 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPZEROSUPPRESSOR_H
2 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPZEROSUPPRESSOR_H
27 bool trunc10bits =
false)
37 void suppress(
const std::vector<SiStripDigi>&
in,
38 std::vector<SiStripDigi>& selectedSignal,
42 void suppress(
const std::vector<SiStripDigi>&
in, std::vector<SiStripDigi>& selectedSignal, uint32_t detId);
48 return ((adc == 1023) ? 255 : 254);
void init(const edm::EventSetup &es)
uint16_t truncate(int16_t adc) const
int16_t theNextFEDlowThresh
const SiStripNoises * noise_
std::vector< int16_t > highThr_
~SiStripFedZeroSuppression()
edm::ESGetToken< SiStripThreshold, SiStripThresholdRcd > thresholdToken_
std::vector< float > noises_
doTruncate10bits(trunc10bits)
std::vector< float > highThrSN_
int16_t theNeighFEDhighThresh
int16_t thePrevFEDlowThresh
edm::ESWatcher< SiStripNoisesRcd > noiseWatcher_
std::vector< float > lowThrSN_
const SiStripThreshold * threshold_
int16_t theNeighFEDlowThresh
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
std::vector< int16_t > lowThr_
void suppress(const std::vector< SiStripDigi > &in, std::vector< SiStripDigi > &selectedSignal, uint32_t detId, const SiStripNoises &, const SiStripThreshold &)
SiStripFedZeroSuppression(uint16_t fedalgo, edm::ConsumesCollector *iC=nullptr, bool trunc=true, bool trunc10bits=false)
int16_t theNextFEDhighThresh
int16_t theNext2FEDlowThresh
int16_t thePrev2FEDlowThresh
edm::ESWatcher< SiStripThresholdRcd > thresholdWatcher_
void fillThresholds_(const uint32_t detID, size_t size)
tuple size
Write out results.
int16_t thePrevFEDhighThresh