CMS 3D CMS Logo

L1TUtmTriggerMenu.h
Go to the documentation of this file.
1 //
2 // NOTE: This file was automatically generated from UTM library via import_utm.pl
3 // DIRECT EDITS MIGHT BE LOST.
4 //
11 #ifndef tmEventSetup_L1TUtmTriggerMenu_hh
12 #define tmEventSetup_L1TUtmTriggerMenu_hh
13 
18 
19 #include <map>
20 #include <string>
21 
26 public:
28  : algorithm_map_(),
30  scale_map_(),
31  external_map_(),
33  name_(),
34  version_(),
35  comment_(),
36  datetime_(),
39  n_modules_(),
40  version(0){};
41 
42  virtual ~L1TUtmTriggerMenu() = default;
43 
48  const std::map<std::string, L1TUtmAlgorithm>& getAlgorithmMap() const { return algorithm_map_; };
49 
54  const std::map<std::string, L1TUtmCondition>& getConditionMap() const { return condition_map_; };
55 
60  const std::map<std::string, L1TUtmScale>& getScaleMap() const { return scale_map_; };
61 
66  const std::string& getName() const { return name_; };
67 
72  const std::string& getVersion() const { return version_; };
73 
78  const std::string& getComment() const { return comment_; };
79 
84  const std::string& getDatetime() const { return datetime_; };
85 
90  const std::string& getFirmwareUuid() const { return uuid_firmware_; };
91 
96  const unsigned long getFirmwareUuidHashed() const;
97 
102  const std::string& getScaleSetName() const { return scale_set_name_; };
103 
108  const unsigned int getNmodules() const { return n_modules_; };
109 
114  void setName(const std::string& value) { name_ = value; };
115 
121 
127 
133 
139 
145 
150  void setNmodules(const unsigned int value) { n_modules_ = value; };
151 
156  static unsigned long murmurHashNeutral2(const void* key, int len, unsigned int seed);
157 
158 protected:
159  std::map<std::string, L1TUtmAlgorithm> algorithm_map_;
160  std::map<std::string, L1TUtmCondition> condition_map_;
161  std::map<std::string, L1TUtmScale> scale_map_;
162  std::map<std::string, unsigned int> external_map_;
163  std::map<std::string, std::string>
171  unsigned int n_modules_;
172  unsigned int version;
174 };
175 
176 #endif // tmEventSetup_L1TUtmTriggerMenu_hh
const unsigned int getNmodules() const
void setDatetime(const std::string &value)
const std::string & getName() const
const std::string & getComment() const
std::map< std::string, L1TUtmAlgorithm > algorithm_map_
std::string uuid_firmware_
void setNmodules(const unsigned int value)
std::map< std::string, std::string > token_to_condition_
const std::string & getScaleSetName() const
static unsigned long murmurHashNeutral2(const void *key, int len, unsigned int seed)
const std::map< std::string, L1TUtmScale > & getScaleMap() const
std::string scale_set_name_
virtual ~L1TUtmTriggerMenu()=default
std::map< std::string, unsigned int > external_map_
std::map< std::string, L1TUtmCondition > condition_map_
void setComment(const std::string &value)
void setFirmwareUuid(const std::string &value)
Definition: value.py:1
const std::map< std::string, L1TUtmCondition > & getConditionMap() const
void setName(const std::string &value)
void setScaleSetName(const std::string &value)
const std::string & getFirmwareUuid() const
unsigned int n_modules_
std::map< std::string, L1TUtmScale > scale_map_
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setVersion(const std::string &value)
const unsigned long getFirmwareUuidHashed() const
const std::map< std::string, L1TUtmAlgorithm > & getAlgorithmMap() const
const std::string & getVersion() const
const std::string & getDatetime() const