52 edm::LogError(
"FP420DigiInfo") <<
"ZeroSuppressFP420 FATAL ERROR: Unknown zero suppress algorithm " 59 edm::LogError(
"FP420DigiInfo") <<
"ZeroSuppressFP420 FATAL ERROR: Low threshold exceeds high " 69 std::cout <<
"zeroSuppress: return trkFEDclusterizer(notZeroSuppressedMap)" << std::endl;
75 const std::string s2(
"ZeroSuppressFP420::trkFEDclusterizer1");
78 DigitalMapType::const_iterator
i, iPrev, iNext, iPrev2, iNext2;
81 std::cout <<
"Before For loop" << std::endl;
84 for (
i =
in.begin();
i !=
in.end();
i++) {
91 std::cout <<
"Inside For loop trkFEDclusterizer: strip= " <<
strip <<
" adc= " <<
adc << std::endl;
98 if (((
strip) % 128) == 127)
100 if (((
strip) % 128) == 0)
103 if (iPrev !=
in.end())
104 adcPrev = iPrev->second;
105 if (iNext !=
in.end())
106 adcNext = iNext->second;
107 int adcMaxNeigh =
std::max(adcPrev, adcNext);
109 std::cout <<
"adcPrev= " << adcPrev <<
" adcNext= " << adcNext <<
" adcMaxNeigh= " << adcMaxNeigh << std::endl;
116 int adcPrev2 = -99999;
117 int adcNext2 = -99999;
118 if (((
strip) % 128) == 126)
120 if (((
strip) % 128) == 1)
122 if (iPrev2 !=
in.end())
123 adcPrev2 = iPrev2->second;
124 if (iNext2 !=
in.end())
125 adcNext2 = iNext2->second;
128 std::cout <<
"adcPrev2= " << adcPrev2 <<
" adcNext2= " << adcNext2 << std::endl;
183 std::cout <<
"last line of trkFEDclusterizer: return selectedSignal" << std::endl;
185 return selectedSignal;
T getParameter(std::string const &) const
ZSuppressFP420::DigitalMapType zeroSuppress(const DigitalMapType &, int) override
ZeroSuppressFP420(const edm::ParameterSet &conf, float noise)
Log< level::Error, false > LogError
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
T getUntrackedParameter(std::string const &, T const &) const
ZSuppressFP420::DigitalMapType trkFEDclusterizer(const DigitalMapType &, int)
DConverterFP420::DigitalMapType DigitalMapType
void initParams(const edm::ParameterSet &conf_)
uint16_t *__restrict__ uint16_t const *__restrict__ adc