#include <SiTrivialDigitalConverter.h>
Public Member Functions | |
DigitalVecType | convert (const std::vector< float > &, edm::ESHandle< SiStripGain > &, unsigned int detid) |
DigitalRawVecType | convertRaw (const std::vector< float > &, edm::ESHandle< SiStripGain > &, unsigned int detid) |
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.
|
virtual |
Implements SiDigitalConverter.
Definition at line 12 of file SiTrivialDigitalConverter.cc.
References _temp, ecalMGPA::adc(), i, edm::ESHandleBase::isValid(), PreMixing_, mathSSE::sqrt(), and truncate().
Referenced by DigiSimLinkAlgorithm::run().
|
inlineprivate |
Definition at line 18 of file SiTrivialDigitalConverter.h.
References electronperADC, and truncate().
|
virtual |
Implements SiDigitalConverter.
Definition at line 45 of file SiTrivialDigitalConverter.cc.
References _tempRaw, ecalMGPA::adc(), i, and edm::ESHandleBase::isValid().
Referenced by DigiSimLinkAlgorithm::run().
|
inlineprivate |
Definition at line 19 of file SiTrivialDigitalConverter.h.
References electronperADC, and truncateRaw().
|
private |
Definition at line 68 of file SiTrivialDigitalConverter.cc.
References ecalMGPA::adc(), and PreMixing_.
Referenced by convert().
|
private |
Definition at line 88 of file SiTrivialDigitalConverter.cc.
References ecalMGPA::adc().
Referenced by convertRaw().
|
private |
Definition at line 24 of file SiTrivialDigitalConverter.h.
Referenced by convert(), and SiTrivialDigitalConverter().
|
private |
Definition at line 25 of file SiTrivialDigitalConverter.h.
Referenced by convertRaw(), and SiTrivialDigitalConverter().
|
private |
Definition at line 23 of file SiTrivialDigitalConverter.h.
Referenced by convert(), and convertRaw().
|
private |
Definition at line 26 of file SiTrivialDigitalConverter.h.
Referenced by convert(), and truncate().