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 
14 /*====================================================================*
15  * declarations
16  *====================================================================*/
17 /*-----------------------------------------------------------------*
18  * headers
19  *-----------------------------------------------------------------*/
20 #include <map>
21 #include <string>
23 
27 
28 /*-----------------------------------------------------------------*
29  * constants
30  *-----------------------------------------------------------------*/
31 /* nope */
32 
37 public:
38  // ctor
40  : algorithm_map_(),
42  scale_map_(),
43  external_map_(),
45  name_(),
46  version_(),
47  comment_(),
48  datetime_(),
51  n_modules_(),
52  version(0){};
53 
54  // dtor
55  virtual ~L1TUtmTriggerMenu(){};
56 
61  const std::map<std::string, L1TUtmAlgorithm>& getAlgorithmMap() const { return algorithm_map_; };
62 
67  const std::map<std::string, L1TUtmCondition>& getConditionMap() const { return condition_map_; };
68 
73  const std::map<std::string, L1TUtmScale>& getScaleMap() const { return scale_map_; };
74 
79  const std::string& getName() const { return name_; };
80 
85  const std::string& getVersion() const { return version_; };
86 
91  const std::string& getComment() const { return comment_; };
92 
97  const std::string& getDatetime() const { return datetime_; };
98 
103  const std::string& getFirmwareUuid() const { return uuid_firmware_; };
104 
109  const std::string& getScaleSetName() const { return scale_set_name_; };
110 
115  const unsigned int getNmodules() const { return n_modules_; };
116 
121  void setName(const std::string& x) { name_ = x; };
122 
127  void setVersion(const std::string& x) { version_ = x; };
128 
133  void setComment(const std::string& x) { comment_ = x; };
134 
139  void setDatetime(const std::string& x) { datetime_ = x; };
140 
146 
152 
157  void setNmodules(const unsigned int x) { n_modules_ = x; };
158 
159 protected:
160  std::map<std::string, L1TUtmAlgorithm> algorithm_map_;
161  std::map<std::string, L1TUtmCondition> condition_map_;
162  std::map<std::string, L1TUtmScale> scale_map_;
163  std::map<std::string, unsigned int> external_map_;
164  std::map<std::string, std::string>
172  unsigned int n_modules_;
173  unsigned int version;
175 };
176 
177 #endif // tmEventSetup_L1TUtmTriggerMenu_hh
178 /* eof */
void setName(const std::string &x)
const std::string & getDatetime() const
std::map< std::string, L1TUtmAlgorithm > algorithm_map_
void setNmodules(const unsigned int x)
virtual ~L1TUtmTriggerMenu()
void setComment(const std::string &x)
void setDatetime(const std::string &x)
const std::string & getVersion() const
std::string uuid_firmware_
const std::map< std::string, L1TUtmCondition > & getConditionMap() const
const std::string & getFirmwareUuid() const
const std::map< std::string, L1TUtmScale > & getScaleMap() const
const unsigned int getNmodules() const
std::map< std::string, std::string > token_to_condition_
void setFirmwareUuid(const std::string &x)
std::string scale_set_name_
std::map< std::string, unsigned int > external_map_
std::map< std::string, L1TUtmCondition > condition_map_
void setVersion(const std::string &x)
void setScaleSetName(const std::string &x)
unsigned int n_modules_
std::map< std::string, L1TUtmScale > scale_map_
#define COND_SERIALIZABLE
Definition: Serializable.h:38
const std::map< std::string, L1TUtmAlgorithm > & getAlgorithmMap() const
const std::string & getComment() const
const std::string & getScaleSetName() const
const std::string & getName() const