#include <SiStripApvShotCleaner.h>
Public Member Functions | |
bool | clean (const edmNew::DetSet< SiStripDigi > &in, edmNew::DetSet< SiStripDigi >::const_iterator &scan, edmNew::DetSet< SiStripDigi >::const_iterator &end) |
bool | clean (const edm::DetSet< SiStripDigi > &in, edm::DetSet< SiStripDigi >::const_iterator &scan, edm::DetSet< SiStripDigi >::const_iterator &end) |
bool | loop (const edmNew::DetSet< SiStripDigi > &in) |
bool | loop (const edm::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 9 of file SiStripApvShotCleaner.cc.
References clean().
|
inline |
Definition at line 16 of file SiStripApvShotCleaner.h.
|
inline |
Definition at line 20 of file SiStripApvShotCleaner.h.
References end, and recoMuon::in.
Referenced by ThreeThresholdAlgorithm::clusterizeDetUnit_(), and SiStripApvShotCleaner().
bool SiStripApvShotCleaner::clean | ( | const edm::DetSet< SiStripDigi > & | in, |
edm::DetSet< SiStripDigi >::const_iterator & | scan, | ||
edm::DetSet< SiStripDigi >::const_iterator & | end | ||
) |
Definition at line 17 of file SiStripApvShotCleaner.cc.
References loop(), reset(), and edm::DetSet< T >::size().
|
private |
Definition at line 87 of file SiStripApvShotCleaner.cc.
References apvDigis, cacheDetId, mps_fire::i, maxNumOfApvs, shotApv_, digitizers_cfi::strip, subtractCM(), and vdigis.
Referenced by loop().
|
inline |
Definition at line 23 of file SiStripApvShotCleaner.h.
References a, b, dumpInVector(), reset(), and subtractCM().
Referenced by clean().
bool SiStripApvShotCleaner::loop | ( | const edm::DetSet< SiStripDigi > & | in | ) |
Definition at line 29 of file SiStripApvShotCleaner.cc.
References edm::DetSet< T >::begin(), cacheDetId, edmIntegrityCheck::d, edm::DetSet< T >::detId(), dumpInVector(), edm::DetSet< T >::end(), mps_fire::i, maxNumOfApvs, pFirstDigiOfApv, shotApv_, shots_, edm::DetSet< T >::size(), stripsForMedian, stripsPerApv, and heppy_batch::val.
|
inline |
void SiStripApvShotCleaner::reset | ( | edm::DetSet< SiStripDigi >::const_iterator & | a, |
edm::DetSet< SiStripDigi >::const_iterator & | b | ||
) |
Definition at line 153 of file SiStripApvShotCleaner.cc.
References cacheDetId, pDetSet, and vdigis.
Referenced by clean(), loop(), and subtractCM().
|
private |
Definition at line 112 of file SiStripApvShotCleaner.cc.
References a, ecalMGPA::adc(), SiStripDigi::adc(), apvDigis, b, cacheDetId, mps_fire::i, reset(), digitizers_cfi::strip, and stripsForMedian.
Referenced by dumpInVector(), and loop().
|
private |
Definition at line 41 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and subtractCM().
|
private |
Definition at line 36 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), loop(), reset(), and subtractCM().
|
private |
Definition at line 43 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and loop().
|
private |
Definition at line 42 of file SiStripApvShotCleaner.h.
Referenced by reset().
|
private |
Definition at line 39 of file SiStripApvShotCleaner.h.
Referenced by loop().
|
private |
Definition at line 38 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and loop().
|
private |
Definition at line 37 of file SiStripApvShotCleaner.h.
|
private |
Definition at line 45 of file SiStripApvShotCleaner.h.
Referenced by loop(), and subtractCM().
|
private |
Definition at line 44 of file SiStripApvShotCleaner.h.
Referenced by loop().
|
private |
Definition at line 41 of file SiStripApvShotCleaner.h.
Referenced by dumpInVector(), and reset().