1 #ifndef RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPEDESTALSSUBTRACTOR_H 2 #define RECOLOCALTRACKER_SISTRIPZEROSUPPRESSION_SISTRIPPEDESTALSSUBTRACTOR_H 19 void subtract(uint32_t detId, uint16_t firstAPV, std::vector<int16_t>& adcs);
31 template <
class input_t>
32 void subtract_(uint32_t detId, uint16_t firstAPV,
const input_t&
input, std::vector<int16_t>&
output);
void subtract(const edm::DetSet< SiStripRawDigi > &input, std::vector< int16_t > &output)
const SiStripPedestals * pedestalsHandle
static std::string const input
edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > pedestalsToken_
void init(const edm::EventSetup &)
std::vector< int > pedestals
edm::ESWatcher< SiStripPedestalsRcd > pedestalsWatcher_
void subtract_(uint32_t detId, uint16_t firstAPV, const input_t &input, std::vector< int16_t > &output)
SiStripPedestalsSubtractor(bool mode, edm::ConsumesCollector iC)
uint16_t eval(SiStripRawDigi in)
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...