CMS 3D CMS Logo

L1GtPatternLine.h
Go to the documentation of this file.
1 #ifndef GlobalTriggerAnalyzer_L1GtPatternLine_h
2 #define GlobalTriggerAnalyzer_L1GtPatternLine_h
3 
19 #include <string>
20 #include <map>
21 #include <cstdint>
22 
29 public:
35  void push(const std::string& prefix, uint32_t value);
36 
41  void set(const std::string& name, uint32_t value);
42 
44  void print(std::ostream& out) const;
45 
50  bool has(const std::string& colname) const;
51 
53  std::string nextName(const std::string& prefix);
54 
56  std::string name(const std::string& prefix, unsigned int i) const;
57 
59  uint32_t get(const std::string& name) const;
60 
61 private:
62  typedef std::map<std::string, uint32_t> ColumnMap;
63  ColumnMap m_columns;
64 };
65 
66 #endif /*GlobalTriggerAnalyzer_L1GtPatternLine_h*/
std::map< std::string, uint32_t > ColumnMap
void print(std::ostream &out) const
std::string nextName(const std::string &prefix)
bool has(const std::string &colname) const
Definition: value.py:1
std::string name(const std::string &prefix, unsigned int i) const
void push(const std::string &prefix, uint32_t value)
ColumnMap m_columns