#include <SiTrivialDigitalConverter.h>
Public Member Functions | |
DigitalVecType | convert (const std::vector< float > &, edm::ESHandle< SiStripGain > &, unsigned int detid) override |
DigitalRawVecType | convertRaw (const std::vector< float > &, edm::ESHandle< 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) |
int | convertRaw (float in) |
int | truncate (float in_adc) const |
int | truncateRaw (float in_adc) const |
Private Attributes | |
SiDigitalConverter::DigitalVecType | _temp |
SiDigitalConverter::DigitalRawVecType | _tempRaw |
const float | electronperADC |
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 10 of file SiTrivialDigitalConverter.cc.
References _temp, ecalMGPA::adc(), SiStripGain::getRange(), SiStripGain::getStripGain(), mps_fire::i, edm::ESHandleBase::isValid(), PreMixing_, mathSSE::sqrt(), and truncate().
Referenced by DigiSimLinkAlgorithm::run().
|
inlineprivate |
Definition at line 16 of file SiTrivialDigitalConverter.h.
References electronperADC, and truncate().
|
overridevirtual |
Implements SiDigitalConverter.
Definition at line 48 of file SiTrivialDigitalConverter.cc.
References _tempRaw, ecalMGPA::adc(), SiStripGain::getRange(), SiStripGain::getStripGain(), mps_fire::i, and edm::ESHandleBase::isValid().
Referenced by DigiSimLinkAlgorithm::run().
|
inlineprivate |
Definition at line 17 of file SiTrivialDigitalConverter.h.
References electronperADC, truncate(), and truncateRaw().
|
private |
Definition at line 78 of file SiTrivialDigitalConverter.cc.
References ecalMGPA::adc(), createfilelist::int, and PreMixing_.
Referenced by convert(), and convertRaw().
|
private |
Definition at line 102 of file SiTrivialDigitalConverter.cc.
References ecalMGPA::adc(), 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().