31 m_columns[colName +
"_l"] = value & 0xFFFF;
35 ColumnMap::iterator it =
m_columns.find(name);
37 throw cms::Exception(__func__) <<
"Can't set field " << name <<
" to " << std::hex << value <<
": not found";
46 out <<
"BEGIN Columns: " << std::endl;
47 for (L1GtPatternLine::ColumnMap::const_iterator it =
m_columns.begin(); it !=
m_columns.end(); ++it) {
48 out << it->first <<
": " << std::hex << it->second << std::endl;
50 out <<
"END Columns." << std::endl;
59 result =
name(prefix, i++);
60 }
while (
has(result));
66 std::ostringstream
ss;
72 ColumnMap::const_iterator it =
m_columns.find(name);
void set(const std::string &name, uint32_t value)
uint32_t get(const std::string &name) const
void print(std::ostream &out) const
std::string nextName(const std::string &prefix)
bool has(const std::string &colname) const
std::string name(const std::string &prefix, unsigned int i) const
void push(const std::string &prefix, uint32_t value)