15 subtract_(detId, firstStrip, digis, digis);
21 template <
class input_t>
25 std::vector<int16_t>&
output) {
31 typename input_t::const_iterator inDigi =
input.begin();
32 std::vector<int>::const_iterator ped =
pedestals.begin() + firstStrip;
33 std::vector<int16_t>::iterator outDigi =
output.begin();
35 while (inDigi !=
input.end()) {
36 *outDigi =
eval(*inDigi) - *ped + ((*ped > 895) ? 1024 : 0);
47 edm::LogError(
"SiStripPedestalsSubtractor") <<
"[SiStripPedestalsSubtractor::subtract] DetId " <<
id
48 <<
" propagating error from SiStripPedestal" <<
e.what();