CMS 3D CMS Logo

L1TUtmCondition.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 //
10 #ifndef tmEventSetup_L1TUtmCondition_hh
11 #define tmEventSetup_L1TUtmCondition_hh
12 
16 
17 #include <string>
18 #include <vector>
19 
24 public:
25  L1TUtmCondition() : name_(), type_(-9999), objects_(), cuts_(), version(0){};
26 
27  virtual ~L1TUtmCondition() = default;
28 
30  void setName(const std::string& x) { name_ = x; };
31 
33  void setType(const int x) { type_ = x; };
34 
36  const std::string& getName() const { return name_; };
37 
39  const int getType() const { return type_; };
40 
42  const std::vector<L1TUtmObject>& getObjects() const { return objects_; };
43 
45  const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
46 
47 protected:
49  int type_;
50  std::vector<L1TUtmObject> objects_;
51  std::vector<L1TUtmCut> cuts_;
52  unsigned int version;
54 };
55 
56 #endif // tmEventSetup_L1TUtmCondition_hh
const int getType() const
virtual ~L1TUtmCondition()=default
const std::vector< L1TUtmObject > & getObjects() const
std::string name_
void setName(const std::string &x)
std::vector< L1TUtmObject > objects_
unsigned int version
const std::string & getName() const
std::vector< L1TUtmCut > cuts_
const std::vector< L1TUtmCut > & getCuts() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setType(const int x)