1 #ifndef CSCDCCFormatStatusDigi_CSCDCCFormatStatusDigi_h 2 #define CSCDCCFormatStatusDigi_CSCDCCFormatStatusDigi_h 125 template <
class TKey,
class TVal>
128 typename std::map<TKey, TVal>::const_iterator itr =
m.begin();
129 while (itr !=
m.end()) {
146 template <
class TKey,
class TVal>
149 typename std::map<TKey, TVal>::const_iterator itr;
150 for (itr =
m.begin(); itr !=
m.end(); ++itr) {
151 keys.insert(itr->first);
186 return ((
CSCIdType(crateId & 0xFF) << 4) | (dmbId & 0xF));
215 const std::map<DDUIdType, ExaminerStatusType>& mDDU_ERRORS_,
216 const std::map<CSCIdType, ExaminerStatusType>& mCSC_ERRORS_,
217 const std::map<CSCIdType, ExaminerStatusType>& mCSC_PAYLOADS_,
218 const std::map<CSCIdType, ExaminerStatusType>& mCSC_STATUS_)
222 fDCC_MASK_, fCSC_MASK_, fDDU_SUMMARY_ERRORS_, mDDU_ERRORS_, mCSC_ERRORS_, mCSC_PAYLOADS_, mCSC_STATUS_);
234 const std::map<DDUIdType, ExaminerStatusType>& mDDU_ERRORS_,
235 const std::map<CSCIdType, ExaminerStatusType>& mCSC_ERRORS_,
236 const std::map<CSCIdType, ExaminerStatusType>& mCSC_PAYLOADS_,
237 const std::map<CSCIdType, ExaminerStatusType>& mCSC_STATUS_);
248 std::map<DDUIdType, ExaminerStatusType>::const_iterator
item =
mDDU_ERRORS.find(DDUId);
255 std::map<CSCIdType, ExaminerStatusType>::const_iterator
item =
mCSC_ERRORS.find(CSCId);
262 std::map<CSCIdType, ExaminerStatusType>::const_iterator
item =
mCSC_PAYLOADS.find(CSCId);
269 std::map<CSCIdType, ExaminerStatusType>::const_iterator
item =
mCSC_STATUS.find(CSCId);
336 std::map<DDUIdType, ExaminerStatusType>::const_iterator
item =
mDDU_ERRORS.find(DDUId);
344 std::map<CSCIdType, ExaminerStatusType>::const_iterator
item =
mCSC_ERRORS.find(CSCId);
356 std::map<CSCIdType, ExaminerStatusType>::const_iterator
item =
mCSC_PAYLOADS.find(CSCId);
368 std::map<CSCIdType, ExaminerStatusType>::const_iterator
item =
mCSC_STATUS.find(CSCId);