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 //
12 #ifndef tmEventSetup_L1TUtmCondition_hh
13 #define tmEventSetup_L1TUtmCondition_hh
14 
15 /*====================================================================*
16  * declarations
17  *====================================================================*/
18 /*-----------------------------------------------------------------*
19  * headers
20  *-----------------------------------------------------------------*/
21 #include <string>
22 #include <vector>
24 
27 
28 
29 /*-----------------------------------------------------------------*
30  * constants
31  *-----------------------------------------------------------------*/
32 /* nope */
33 
34 
35 
36 
41 {
42  public:
43  // ctor
45  : name_(), type_(-9999),
46  objects_(), cuts_() { };
47 
48  // dtor
49  virtual ~L1TUtmCondition() { };
50 
52  void setName(const std::string& x) { name_ = x; };
53 
55  void setType(const int x) { type_ = x; };
56 
58  const std::string& getName() const { return name_; };
59 
61  const int getType() const { return type_; };
62 
64  const std::vector<L1TUtmObject>& getObjects() const { return objects_; };
65 
67  const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
68 
69 
70  protected:
72  int type_;
73  std::vector<L1TUtmObject> objects_;
74  std::vector<L1TUtmCut> cuts_;
75  unsigned int version;
77 };
78 
79 #endif // tmEventSetup_L1TUtmCondition_hh
80 /* eof */
const int getType() const
std::string name_
void setName(const std::string &x)
std::vector< L1TUtmObject > objects_
unsigned int version
const std::vector< L1TUtmObject > & getObjects() const
std::vector< L1TUtmCut > cuts_
virtual ~L1TUtmCondition()
#define COND_SERIALIZABLE
Definition: Serializable.h:38
const std::string & getName() const
const std::vector< L1TUtmCut > & getCuts() const
void setType(const int x)