#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 SiStripNoises * | noise_ |
std::vector< float > | noises_ |
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > | noiseToken_ |
edm::ESWatcher< SiStripNoisesRcd > | noiseWatcher_ |
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 SiStripThreshold * | threshold_ |
edm::ESGetToken< SiStripThreshold, SiStripThresholdRcd > | thresholdToken_ |
edm::ESWatcher< SiStripThresholdRcd > | thresholdWatcher_ |
Friends | |
class | SiStripRawProcessingFactory |
Definition at line 20 of file SiStripFedZeroSuppression.h.
|
inline |
Definition at line 24 of file SiStripFedZeroSuppression.h.
References noiseToken_.
|
inline |
Definition at line 35 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 259 of file SiStripFedZeroSuppression.cc.
References MillePedeFileConverter_cfg::e, hgchebackDigitizer_cfi::noise, sistrip::extrainfo::noise_, and nano_mu_digi_cff::strip.
void SiStripFedZeroSuppression::init | ( | const edm::EventSetup & | es | ) |
Definition at line 12 of file SiStripFedZeroSuppression.cc.
References edm::EventSetup::getData(), and sistrip::extrainfo::noise_.
|
private |
Definition at line 395 of file SiStripFedZeroSuppression.cc.
References accept(), gpuClustering::adc, edm::isDebugEnabled(), and LogTrace.
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, nano_mu_digi_cff::strip, DiMuonV_cfg::threshold, and particleFlowZeroSuppressionECAL_cff::thresholds.
Referenced by DigiSimLinkAlgorithm::run().
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.
void SiStripFedZeroSuppression::suppress | ( | const edm::DetSet< SiStripRawDigi > & | in, |
edm::DetSet< SiStripDigi > & | out | ||
) |
Definition at line 161 of file SiStripFedZeroSuppression.cc.
References gpuClustering::adc, SiStripThreshold::Data::getHth(), SiStripThreshold::Data::getLth(), recoMuon::in, edm::isDebugEnabled(), LogTrace, sistrip::extrainfo::noise_, MillePedeFileConverter_cfg::out, nano_mu_digi_cff::strip, particleFlowZeroSuppressionECAL_cff::thresholds, and HLT_2024v10_cff::truncate.
void SiStripFedZeroSuppression::suppress | ( | const std::vector< int16_t > & | in, |
uint16_t | firstAPV, | ||
edm::DetSet< SiStripDigi > & | out | ||
) |
Definition at line 286 of file SiStripFedZeroSuppression.cc.
References gpuClustering::adc, recoMuon::in, edm::isDebugEnabled(), LogTrace, MillePedeFileConverter_cfg::out, nano_mu_digi_cff::strip, and HLT_2024v10_cff::truncate.
|
inline |
Definition at line 46 of file SiStripFedZeroSuppression.h.
References adc, doTruncate, and doTruncate10bits.
|
friend |
Definition at line 21 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 68 of file SiStripFedZeroSuppression.h.
Referenced by truncate().
|
private |
Definition at line 71 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 70 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 73 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 69 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 72 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 63 of file SiStripFedZeroSuppression.h.
Referenced by truncate().
|
private |
Definition at line 64 of file SiStripFedZeroSuppression.h.
Referenced by truncate().
|
private |
Definition at line 87 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 88 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 87 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 88 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 55 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 89 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 50 of file SiStripFedZeroSuppression.h.
Referenced by SiStripFedZeroSuppression().
|
private |
Definition at line 57 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 60 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 66 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 65 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 81 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 80 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 84 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 78 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 77 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 83 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 76 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 75 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 56 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 54 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 58 of file SiStripFedZeroSuppression.h.