15 DetId detId = digi.id();
22 double icalconst = 1.;
26 if (icalit != icalMap.
end()) {
27 icalconst = (*icalit);
34 for (
unsigned int igain(0); igain <=
NGAINS; ++igain) {
37 LSB[igain] = Emax / (
MAXADC * gainRatios[igain]);
45 double correction_factor_for_premixed_sample_transparency = 1.0;
51 value_LC =
cache->second;
59 double value_LC_prime = 1.;
65 value_LC_prime =
cache->second;
73 correction_factor_for_premixed_sample_transparency = value_LC_prime / value_LC;
78 for (
int isample = 0; isample < digi.size(); ++isample) {
79 int gainId = digi[isample].gainId();
84 correction_factor_for_premixed_sample_transparency;
88 correction_factor_for_premixed_sample_transparency;
93 correction_factor_for_premixed_sample_transparency;
124 DetId detId = digi.id();
129 double icalconst = 1.;
133 if (icalit != icalMap.
end()) {
134 icalconst = (*icalit);
141 for (
unsigned int igain(0); igain <=
NGAINS; ++igain) {
144 LSB[igain] = Emax / (
MAXADC * gainRatios[igain]);
152 double correction_factor_for_premixed_sample_transparency = 1.0;
153 double value_LC = 1.;
159 value_LC =
cache->second;
167 double value_LC_prime = 1.;
172 value_LC_prime =
cache->second;
180 correction_factor_for_premixed_sample_transparency = value_LC_prime / value_LC;
185 for (
int isample = 0; isample < digi.size(); ++isample) {
186 int gainId = digi[isample].gainId();
191 correction_factor_for_premixed_sample_transparency;
194 correction_factor_for_premixed_sample_transparency;
198 correction_factor_for_premixed_sample_transparency;
228 DetId detId = digi.id();
230 double icalconst = 1.;
234 if (icalit != icalMap.
end()) {
235 icalconst = double(*icalit);
240 for (
int isample = 0; isample < digi.size(); ++isample) {