16 #ifndef DataFormatsL1GlobalMuonTrigger_L1MuGMTReadoutCollection_h
17 #define DataFormatsL1GlobalMuonTrigger_L1MuGMTReadoutCollection_h
57 std::vector<L1MuGMTReadoutRecord>::const_iterator iter;
59 if ((*iter).getBxCounter() == bx)
return (*iter);
62 static std::map<int, L1MuGMTReadoutRecord> empty_record_cache;
63 if (empty_record_cache.find(bx) == empty_record_cache.end())
65 return empty_record_cache[bx];
75 std::vector<L1MuGMTReadoutRecord>
m_Records;
79 #endif // DataFormatsL1GlobalMuonTrigger_L1MuGMTReadoutCollection_h
virtual ~L1MuGMTReadoutCollection()
std::vector< L1MuGMTReadoutRecord > m_Records
L1MuGMTReadoutCollection(int nbx)
L1MuGMTReadoutCollection()
void addRecord(L1MuGMTReadoutRecord const &rec)
std::vector< L1MuGMTReadoutRecord > const & getRecords() const
L1MuGMTReadoutRecord const & getRecord(int bx=0) const