#include <SiTrivialDigitalConverter.h>
Public Member Functions | |
DigitalVecType const & | convert (const std::vector< float > &, const SiStripGain *, unsigned int detid) override |
DigitalRawVecType const & | convertRaw (const std::vector< float > &, const SiStripGain *, unsigned int detid) override |
SiTrivialDigitalConverter (float in, bool PreMix) | |
Public Member Functions inherited from SiDigitalConverter | |
virtual | ~SiDigitalConverter () |
Private Member Functions | |
int | convert (float in) const |
int | convertRaw (float in) const |
int | truncate (float in_adc) const |
int | truncateRaw (float in_adc) const |
Private Attributes | |
SiDigitalConverter::DigitalVecType | _temp |
SiDigitalConverter::DigitalRawVecType | _tempRaw |
const float | ADCperElectron |
bool | PreMixing_ |
Additional Inherited Members | |
Public Types inherited from SiDigitalConverter | |
typedef std::vector< SiStripRawDigi > | DigitalRawVecType |
typedef std::vector< SiStripDigi > | DigitalVecType |
Concrete implementation of SiDigitalConverter.
Definition at line 8 of file SiTrivialDigitalConverter.h.
SiTrivialDigitalConverter::SiTrivialDigitalConverter | ( | float | in, |
bool | PreMix | ||
) |
Definition at line 5 of file SiTrivialDigitalConverter.cc.
References _temp, and _tempRaw.
|
overridevirtual |
Implements SiDigitalConverter.
Definition at line 11 of file SiTrivialDigitalConverter.cc.
References _temp, gpuClustering::adc, f, PedestalClient_cfi::gain, mps_fire::i, PreMixing_, mathSSE::sqrt(), and truncate().
Referenced by DigiSimLinkAlgorithm::run().
|
inlineprivate |
Definition at line 16 of file SiTrivialDigitalConverter.h.
References ADCperElectron, recoMuon::in, and truncate().
|
overridevirtual |
Implements SiDigitalConverter.
Definition at line 49 of file SiTrivialDigitalConverter.cc.
References _tempRaw, gpuClustering::adc, PedestalClient_cfi::gain, and mps_fire::i.
Referenced by DigiSimLinkAlgorithm::run().
|
inlineprivate |
Definition at line 17 of file SiTrivialDigitalConverter.h.
References ADCperElectron, recoMuon::in, and truncateRaw().
|
private |
Definition at line 78 of file SiTrivialDigitalConverter.cc.
References gpuClustering::adc, f, createfilelist::int, and PreMixing_.
Referenced by convert().
|
private |
Definition at line 102 of file SiTrivialDigitalConverter.cc.
References gpuClustering::adc, f, and createfilelist::int.
Referenced by convertRaw().
|
private |
Definition at line 22 of file SiTrivialDigitalConverter.h.
Referenced by convert(), and SiTrivialDigitalConverter().
|
private |
Definition at line 23 of file SiTrivialDigitalConverter.h.
Referenced by convertRaw(), and SiTrivialDigitalConverter().
|
private |
Definition at line 21 of file SiTrivialDigitalConverter.h.
Referenced by convert(), and convertRaw().
|
private |
Definition at line 24 of file SiTrivialDigitalConverter.h.
Referenced by convert(), and truncate().