16 for (
size_t i = 0;
i < analogSignal.size();
i++) {
17 if (analogSignal[
i] <= 0)
27 for (
size_t i = 0;
i < analogSignal.size();
i++) {
28 if (analogSignal[
i] <= 0)
31 int adc =
convert((
gain->getStripGain(
i, detGainRange)) * (analogSignal[
i]));
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);
std::vector< SiStripDigi > DigitalVecType
int truncateRaw(float in_adc) const
SiTrivialDigitalConverter(float in, bool PreMix)
DigitalVecType convert(const std::vector< float > &, const SiStripGain *, unsigned int detid) override
DigitalRawVecType convertRaw(const std::vector< float > &, const SiStripGain *, unsigned int detid) override
std::vector< SiStripRawDigi > DigitalRawVecType
std::pair< ContainerIterator, ContainerIterator > Range
SiDigitalConverter::DigitalRawVecType _tempRaw
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
int truncate(float in_adc) const
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
SiDigitalConverter::DigitalVecType _temp
uint16_t *__restrict__ uint16_t const *__restrict__ adc