15 std::auto_ptr<SiStripCommonModeNoiseSubtractor> cmn,
16 std::auto_ptr<SiStripFedZeroSuppression> zs,
17 std::auto_ptr<SiStripAPVRestorer> res,
24 doAPVRestore(doAPVRest),
25 useCMMeanMap(useCMMap)
51 std::vector<int16_t> RawDigis;
54 for(; itrawDigis != rawDigis.
end(); ++itrawDigis) RawDigis.push_back(itrawDigis->adc());
62 std::vector<int16_t> processedRawDigisPedSubtracted ;
64 int16_t nAPVFlagged =0;
65 if(
doAPVRestore ) processedRawDigisPedSubtracted.assign(processedRawDigis.begin(), processedRawDigis.end());
68 suppressor->suppress( processedRawDigis, firstAPV, suppressedDigis );
74 std::vector<int16_t> RawDigis;
77 for(; itrawDigis != rawDigis.
end(); ++itrawDigis) RawDigis.push_back(itrawDigis->adc());
const std::auto_ptr< SiStripAPVRestorer > restorer
int16_t SuppressVirginRawData(const uint32_t &, const uint16_t &, std::vector< int16_t > &, edm::DetSet< SiStripDigi > &)
const std::auto_ptr< SiStripPedestalsSubtractor > subtractorPed
const std::auto_ptr< SiStripCommonModeNoiseSubtractor > subtractorCMN
subtractorPed(SiStripRawProcessingFactory::create_SubtractorPed(conf))
const std::auto_ptr< SiStripFedZeroSuppression > suppressor
SiStripRawProcessingAlgorithms(std::auto_ptr< SiStripPedestalsSubtractor > ped, std::auto_ptr< SiStripCommonModeNoiseSubtractor > cmn, std::auto_ptr< SiStripFedZeroSuppression > zs, std::auto_ptr< SiStripAPVRestorer > res, bool doAPVRest, bool useCMMap)
subtractorCMN(SiStripRawProcessingFactory::create_SubtractorCMN(conf))
int16_t SuppressProcessedRawData(const uint32_t &, const uint16_t &, std::vector< int16_t > &, edm::DetSet< SiStripDigi > &)
void initialize(const edm::EventSetup &)
collection_type::const_iterator const_iterator