20 : m_crate( crate ), m_cmx( cmx ), m_overflow( overflow),
25 for (std::vector<CPTopoTOB>::const_iterator
it =
tobs.begin();
it !=
tobs.end(); ++
it) {
35 : m_crate( crate ), m_cmx( cmx ), m_overflow( overflow ),
50 : m_crate( crate ), m_cmx( cmx ),
57 for (std::vector<uint32_t>::const_iterator
it = roiWords.begin();
it != roiWords.end(); ++
it) {
67 : m_crate( crate ), m_cmx( cmx ), m_overflow( false ),
76 : m_crate( 0 ), m_cmx( 0 ), m_overflow( false ),
146 std::vector< uint32_t >::const_iterator
it =
m_tobWords.begin();
155 const size_t max_cpm_index = 14;
156 std::vector<uint32_t> counters_tob_per_cpm(max_cpm_index, 0);
159 const size_t iCpm = tob.
cpm()-1;
160 const bool icpmValid = iCpm < counters_tob_per_cpm.size();
162 counters_tob_per_cpm[iCpm] += 1;
175 std::any_of(counters_tob_per_cpm.begin(),
176 counters_tob_per_cpm.end(),
177 [](
const uint32_t &
c) { return (c >= s_maxTOBsPerCpm); }));