#include <SiStripApvShotCleaner.h>
Public Member Functions | |
bool | clean (const edm::DetSet< SiStripDigi > &in, edm::DetSet< SiStripDigi >::const_iterator &scan, edm::DetSet< SiStripDigi >::const_iterator &end) |
bool | clean (const edmNew::DetSet< SiStripDigi > &in, edmNew::DetSet< SiStripDigi >::const_iterator &scan, edmNew::DetSet< SiStripDigi >::const_iterator &end) |
bool | loop (const edm::DetSet< SiStripDigi > &in) |
bool | loop (const edmNew::DetSet< SiStripDigi > &in) |
bool | noShots () |
void | reset (edm::DetSet< SiStripDigi >::const_iterator &a, edm::DetSet< SiStripDigi >::const_iterator &b) |
SiStripApvShotCleaner () | |
~SiStripApvShotCleaner () | |
Private Member Functions | |
void | dumpInVector (edm::DetSet< SiStripDigi >::const_iterator *, size_t) |
void | subtractCM () |
Private Attributes | |
std::vector< SiStripDigi > | apvDigis |
uint32_t | cacheDetId |
unsigned short | maxNumOfApvs |
std::unique_ptr< edm::DetSet< SiStripDigi > > | pDetSet |
edm::DetSet< SiStripDigi >::const_iterator | pFirstDigiOfApv [7] |
bool | shotApv_ [25] |
bool | shots_ |
unsigned short | stripsForMedian |
unsigned short | stripsPerApv |
std::vector< SiStripDigi > | vdigis |
Definition at line 11 of file SiStripApvShotCleaner.h.
SiStripApvShotCleaner::SiStripApvShotCleaner | ( | ) |
Definition at line 7 of file SiStripApvShotCleaner.cc.
|
inline |
Definition at line 15 of file SiStripApvShotCleaner.h.
bool SiStripApvShotCleaner::clean | ( | const edm::DetSet< SiStripDigi > & | in, |
edm::DetSet< SiStripDigi >::const_iterator & | scan, | ||
edm::DetSet< SiStripDigi >::const_iterator & | end | ||
) |
|
inline |
Definition at line 19 of file SiStripApvShotCleaner.h.
Referenced by ThreeThresholdAlgorithm::clusterizeDetUnit_().
|
private |
Definition at line 82 of file SiStripApvShotCleaner.cc.
References apvDigis, cacheDetId, mps_fire::i, maxNumOfApvs, pFirstDigiOfApv, shotApv_, contentValuesCheck::ss, digitizers_cfi::strip, subtractCM(), and vdigis.
Referenced by loop().
bool SiStripApvShotCleaner::loop | ( | const edm::DetSet< SiStripDigi > & | in | ) |
Definition at line 25 of file SiStripApvShotCleaner.cc.
References cacheDetId, ztail::d, dumpInVector(), mps_fire::i, recoMuon::in, cuda_std::lower_bound(), maxNumOfApvs, pFirstDigiOfApv, shotApv_, shots_, contentValuesCheck::ss, stripsForMedian, stripsPerApv, and heppy_batch::val.
|
inline |
Definition at line 28 of file SiStripApvShotCleaner.h.
Referenced by clean().
|
inline |
void SiStripApvShotCleaner::reset | ( | edm::DetSet< SiStripDigi >::const_iterator & | a, |
edm::DetSet< SiStripDigi >::const_iterator & | b | ||
) |
Definition at line 147 of file SiStripApvShotCleaner.cc.
References a, b, cacheDetId, pDetSet, and vdigis.
Referenced by clean().
|
private |
Definition at line 108 of file SiStripApvShotCleaner.cc.
References a, ecalMGPA::adc(), apvDigis, b, cacheDetId, mps_fire::i, contentValuesCheck::ss, digitizers_cfi::strip, and stripsForMedian.
Referenced by dumpInVector().
|
private |
Definition at line 44 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and subtractCM().
|
private |
Definition at line 39 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), loop(), reset(), and subtractCM().
|
private |
Definition at line 46 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and loop().
|
private |
Definition at line 45 of file SiStripApvShotCleaner.h.
Referenced by reset().
|
private |
Definition at line 42 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and loop().
|
private |
Definition at line 41 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and loop().
|
private |
Definition at line 40 of file SiStripApvShotCleaner.h.
|
private |
Definition at line 48 of file SiStripApvShotCleaner.h.
Referenced by loop(), and subtractCM().
|
private |
Definition at line 47 of file SiStripApvShotCleaner.h.
Referenced by loop().
|
private |
Definition at line 44 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and reset().