Go to the documentation of this file.
16 for (
size_t i = 0;
i < analogSignal.size();
i++) {
17 if (analogSignal[
i] <= 0)
25 }
else if (gainHandle.
isValid()) {
27 for (
size_t i = 0;
i < analogSignal.size();
i++) {
28 if (analogSignal[
i] <= 0)
36 for (
size_t i = 0;
i < analogSignal.size();
i++) {
37 if (analogSignal[
i] <= 0)
55 for (
size_t i = 0;
i < analogSignal.size();
i++) {
56 if (analogSignal[
i] <= 0) {
65 for (
size_t i = 0;
i < analogSignal.size();
i++) {
66 if (analogSignal[
i] <= 0) {
80 int adc =
int(in_adc + 0.5);
104 int adc =
int(in_adc + 0.5);
SiTrivialDigitalConverter(float in, bool PreMix)
DigitalRawVecType convertRaw(const std::vector< float > &, edm::ESHandle< SiStripGain > &, unsigned int detid) override
static float getStripGain(const uint16_t &strip, const SiStripApvGain::Range &range)
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
SiDigitalConverter::DigitalVecType _temp
const SiStripApvGain::Range getRange(uint32_t detID) const
std::vector< SiStripDigi > DigitalVecType
int truncateRaw(float in_adc) const
DigitalVecType convert(const std::vector< float > &, edm::ESHandle< SiStripGain > &, unsigned int detid) override
int truncate(float in_adc) const
std::pair< ContainerIterator, ContainerIterator > Range
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
std::vector< SiStripRawDigi > DigitalRawVecType
SiDigitalConverter::DigitalRawVecType _tempRaw