#include <SiStripFedZeroSuppression.h>
Public Member Functions | |
void | init (const edm::EventSetup &es) |
SiStripFedZeroSuppression (uint16_t fedalgo, bool trunc=true, bool trunc10bits=false) | |
void | suppress (const std::vector< SiStripDigi > &in, std::vector< SiStripDigi > &selectedSignal, uint32_t detId, edm::ESHandle< SiStripNoises > &, edm::ESHandle< 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_ |
uint32_t | noise_cache_id |
edm::ESHandle< SiStripNoises > | noiseHandle |
std::vector< float > | noises_ |
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 |
uint32_t | threshold_cache_id |
edm::ESHandle< SiStripThreshold > | thresholdHandle |
Friends | |
class | SiStripRawProcessingFactory |
Definition at line 16 of file SiStripFedZeroSuppression.h.
|
inline |
Definition at line 20 of file SiStripFedZeroSuppression.h.
|
inline |
Definition at line 26 of file SiStripFedZeroSuppression.h.
References recoMuon::in, init(), MillePedeFileConverter_cfg::out, and suppress().
|
private |
Definition at line 238 of file SiStripFedZeroSuppression.cc.
References MillePedeFileConverter_cfg::e, hgcalDigitizer_cfi::noise, findQualityFiles::size, and digitizers_cfi::strip.
void SiStripFedZeroSuppression::init | ( | const edm::EventSetup & | es | ) |
Definition at line 12 of file SiStripFedZeroSuppression.cc.
References edm::EventSetup::get().
Referenced by ~SiStripFedZeroSuppression().
|
private |
Definition at line 374 of file SiStripFedZeroSuppression.cc.
References accept(), ecalMGPA::adc(), edm::isDebugEnabled(), and LogTrace.
void SiStripFedZeroSuppression::suppress | ( | const std::vector< SiStripDigi > & | in, |
std::vector< SiStripDigi > & | selectedSignal, | ||
uint32_t | detId, | ||
edm::ESHandle< SiStripNoises > & | noiseHandle, | ||
edm::ESHandle< SiStripThreshold > & | thresholdHandle | ||
) |
Definition at line 32 of file SiStripFedZeroSuppression.cc.
References ecalMGPA::adc(), SiStripThreshold::getData(), SiStripThreshold::Data::getHth(), SiStripThreshold::Data::getLth(), SiStripNoises::getNoiseFast(), SiStripNoises::getRange(), SiStripThreshold::getRange(), mps_fire::i, digitizers_cfi::strip, and particleFlowZeroSuppressionECAL_cff::thresholds.
Referenced by DigiSimLinkAlgorithm::run(), and ~SiStripFedZeroSuppression().
void SiStripFedZeroSuppression::suppress | ( | const std::vector< SiStripDigi > & | in, |
std::vector< SiStripDigi > & | selectedSignal, | ||
uint32_t | detId | ||
) |
Definition at line 26 of file SiStripFedZeroSuppression.cc.
References suppress.
void SiStripFedZeroSuppression::suppress | ( | const edm::DetSet< SiStripRawDigi > & | in, |
edm::DetSet< SiStripDigi > & | out | ||
) |
Definition at line 137 of file SiStripFedZeroSuppression.cc.
References ecalMGPA::adc(), edm::DetSet< T >::data, SiStripThreshold::Data::getHth(), SiStripThreshold::Data::getLth(), edm::DetSet< T >::id, edm::isDebugEnabled(), LogTrace, digitizers_cfi::strip, and particleFlowZeroSuppressionECAL_cff::thresholds.
void SiStripFedZeroSuppression::suppress | ( | const std::vector< int16_t > & | in, |
uint16_t | firstAPV, | ||
edm::DetSet< SiStripDigi > & | out | ||
) |
Definition at line 265 of file SiStripFedZeroSuppression.cc.
References ecalMGPA::adc(), edm::DetSet< T >::data, edm::DetSet< T >::id, edm::isDebugEnabled(), LogTrace, edm::DetSet< T >::push_back(), findQualityFiles::size, and digitizers_cfi::strip.
|
inline |
Definition at line 37 of file SiStripFedZeroSuppression.h.
References adc, doTruncate, and doTruncate10bits.
|
friend |
Definition at line 17 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 56 of file SiStripFedZeroSuppression.h.
Referenced by truncate().
|
private |
Definition at line 59 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 58 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 61 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 57 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 60 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 51 of file SiStripFedZeroSuppression.h.
Referenced by truncate().
|
private |
Definition at line 52 of file SiStripFedZeroSuppression.h.
Referenced by truncate().
|
private |
Definition at line 75 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 76 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 46 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 41 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 77 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 48 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 54 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 53 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 69 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 68 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 72 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 71 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 64 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 63 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 46 of file SiStripFedZeroSuppression.h.
|
private |
Definition at line 45 of file SiStripFedZeroSuppression.h.