#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 7 of file SiStripApvShotCleaner.cc.
|
inline |
Definition at line 15 of file SiStripApvShotCleaner.h.
|
inline |
Definition at line 19 of file SiStripApvShotCleaner.h.
References end, and recoMuon::in.
Referenced by ThreeThresholdAlgorithm::clusterizeDetUnit_().
bool SiStripApvShotCleaner::clean | ( | const edm::DetSet< SiStripDigi > & | in, |
edm::DetSet< SiStripDigi >::const_iterator & | scan, | ||
edm::DetSet< SiStripDigi >::const_iterator & | end | ||
) |
Definition at line 12 of file SiStripApvShotCleaner.cc.
References loop(), reset(), and edm::DetSet< T >::size().
|
private |
Definition at line 82 of file SiStripApvShotCleaner.cc.
References apvDigis, cacheDetId, mps_fire::i, maxNumOfApvs, shotApv_, contentValuesCheck::ss, digitizers_cfi::strip, subtractCM(), and vdigis.
Referenced by loop().
|
inline |
Definition at line 28 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 25 of file SiStripApvShotCleaner.cc.
References edm::DetSet< T >::begin(), cacheDetId, ztail::d, edm::DetSet< T >::detId(), dumpInVector(), edm::DetSet< T >::end(), mps_fire::i, maxNumOfApvs, pFirstDigiOfApv, shotApv_, shots_, edm::DetSet< T >::size(), contentValuesCheck::ss, 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 147 of file SiStripApvShotCleaner.cc.
References cacheDetId, pDetSet, and vdigis.
Referenced by clean(), and loop().
|
private |
Definition at line 108 of file SiStripApvShotCleaner.cc.
References a, ecalMGPA::adc(), SiStripDigi::adc(), apvDigis, b, cacheDetId, mps_fire::i, contentValuesCheck::ss, digitizers_cfi::strip, and stripsForMedian.
Referenced by dumpInVector(), and loop().
|
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 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().