11 int input_even,
int inputEvenPeak,
int input_odd,
int inputOddPeak,
int inputsFGVB) {
40 if (odd_output > 0XFFF)
42 if (even_output > 0XFFF)
47 bool is_odd_larger =
false;
69 output = even_output + odd_output;
84 output |= ((is_odd_larger & 0x1) << 13);
91 std::vector<int> &peakout_even,
92 std::vector<int> &filtout_even,
93 std::vector<int> &peakout_odd,
94 std::vector<int> &filtout_odd,
95 std::vector<int> &
output) {
96 if (peakout_even.size() != filtout_even.size() || sFGVBout.size() != filtout_even.size() ||
97 peakout_odd.size() != filtout_odd.size() || filtout_odd.size() != filtout_even.size()) {
98 edm::LogWarning(
"EcalTPG") <<
" problem in EcalFenixStripFormatEB: sfgvb_out, peak_out and " 99 "filt_out don't have the same size";
101 for (
unsigned int i = 0;
i < filtout_even.size();
i++) {
102 setInput(filtout_even[
i], peakout_even[
i], filtout_odd[
i], peakout_odd[
i], sFGVBout[
i]);
115 if (it != slwinmap.end())
118 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGSlidingWindowMap entry for " <<
id;
const std::map< uint32_t, uint32_t > & getMap() const
uint16_t FenixEBStripOutput
uint16_t FenixEBStripInfobit2
std::map< uint32_t, uint32_t > EcalTPGSlidingWindowMap
bool DisableEBEvenPeakFinder
bool EnableEBOddPeakFinder
Log< level::Warning, false > LogWarning
std::map< uint32_t, uint32_t >::const_iterator EcalTPGSlidingWindowMapIterator