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 
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;
64 };
65 
66 #endif /*GlobalTriggerAnalyzer_L1GtPatternLine_h*/
mps_fire.i
i
Definition: mps_fire.py:428
L1GtPatternLine::push
void push(const std::string &prefix, uint32_t value)
Definition: L1GtPatternLine.cc:25
L1GtPatternLine::has
bool has(const std::string &colname) const
Definition: L1GtPatternLine.cc:53
L1GtPatternLine::nextName
std::string nextName(const std::string &prefix)
Definition: L1GtPatternLine.cc:55
L1GtPatternLine
Definition: L1GtPatternLine.h:28
L1GtPatternLine::print
void print(std::ostream &out) const
Definition: L1GtPatternLine.cc:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtPatternLine::m_columns
ColumnMap m_columns
Definition: L1GtPatternLine.h:63
L1GtPatternLine::name
std::string name(const std::string &prefix, unsigned int i) const
Definition: L1GtPatternLine.cc:65
value
Definition: value.py:1
L1GtPatternLine::set
void set(const std::string &name, uint32_t value)
Definition: L1GtPatternLine.cc:34
L1GtPatternLine::get
uint32_t get(const std::string &name) const
Definition: L1GtPatternLine.cc:71
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
hcallasereventfilter2012_cfi.prefix
prefix
Definition: hcallasereventfilter2012_cfi.py:10
L1GtPatternLine::ColumnMap
std::map< std::string, uint32_t > ColumnMap
Definition: L1GtPatternLine.h:62