14 return std::unique_ptr<SiStripRawProcessingAlgorithms>(
25 return std::unique_ptr<SiStripPedestalsSubtractor>(
36 if (
mode ==
"Percentile") {
37 return std::unique_ptr<SiStripCommonModeNoiseSubtractor>(
41 if (
mode ==
"IteratedMedian") {
46 if (
mode ==
"FastLinear")
50 return std::unique_ptr<SiStripCommonModeNoiseSubtractor>(
54 edm::LogError(
"SiStripRawProcessingFactory::create_SubtractorCMN")
55 <<
"Unregistered Algorithm: " <<
mode <<
". Use one of {Median, Percentile, IteratedMedian, FastLinear, TT6}";
61 const uint32_t
mode = conf.
getParameter<uint32_t>(
"SiStripFedZeroSuppressionMode");
63 const bool trunc10bits = conf.
getParameter<
bool>(
"Use10bitsTruncation");
71 edm::LogError(
"SiStripRawProcessingFactory::createSuppressor")
72 <<
"Unregistered mode: " <<
mode <<
". Use one of {1,2,3,4}.";
78 if (!conf.
exists(
"APVRestoreMode")) {
79 return std::unique_ptr<SiStripAPVRestorer>(
nullptr);