51 if (odd_output > 0XFFF)
53 if (even_output > 0XFFF)
58 bool is_odd_larger =
false;
81 output = even_output + odd_output;
97 output |= ((is_odd_larger & 0x1) << 13);
105 std::vector<int> &peakout_even,
106 std::vector<int> &filtout_even,
107 std::vector<int> &peakout_odd,
108 std::vector<int> &filtout_odd,
109 std::vector<int> &
output) {
110 if (peakout_even.size() != filtout_even.size() || fgvbout.size() != filtout_even.size() ||
111 peakout_odd.size() != filtout_odd.size() || filtout_odd.size() != filtout_even.size()) {
112 edm::LogWarning(
"EcalTPG") <<
" problem in EcalFenixStripFormatEE: peak_out and filt_out don't " 113 "have the same size";
114 std::cout <<
" Size peak_out" << peakout_even.size() <<
", size filt_out:" << filtout_even.size() << std::flush
118 for (
unsigned int i = 0;
i < filtout_even.size();
i++) {
119 setInput(filtout_even[
i], peakout_even[
i], filtout_odd[
i], peakout_odd[
i], fgvbout[
i]);
134 if (
it != slwinmap.end())
137 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGSlidingWindowMap entry for " <<
id;
141 if (sit != statusMap.end()) {
const std::map< uint32_t, uint32_t > & getMap() const
uint16_t FenixEEStripInfobit2
std::map< uint32_t, uint32_t > EcalTPGSlidingWindowMap
uint16_t FenixEEStripOutput
bool EnableEEOddPeakFinder
bool DisableEEEvenPeakFinder
const std::map< uint32_t, uint16_t > & getMap() const
Log< level::Warning, false > LogWarning
std::map< uint32_t, uint16_t > EcalTPGStripStatusMap
std::map< uint32_t, uint32_t >::const_iterator EcalTPGSlidingWindowMapIterator
std::map< uint32_t, uint16_t >::const_iterator EcalTPGStripStatusMapIterator