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  * constants
30  *-----------------------------------------------------------------*/
31 /* nope */
32 
37 public:
38  // ctor
39  L1TUtmCondition() : name_(), type_(-9999), objects_(), cuts_(), version(0){};
40 
41  // dtor
42  virtual ~L1TUtmCondition(){};
43 
45  void setName(const std::string& x) { name_ = x; };
46 
48  void setType(const int x) { type_ = x; };
49 
51  const std::string& getName() const { return name_; };
52 
54  const int getType() const { return type_; };
55 
57  const std::vector<L1TUtmObject>& getObjects() const { return objects_; };
58 
60  const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
61 
62 protected:
64  int type_;
65  std::vector<L1TUtmObject> objects_;
66  std::vector<L1TUtmCut> cuts_;
67  unsigned int version;
69 };
70 
71 #endif // tmEventSetup_L1TUtmCondition_hh
72 /* eof */
L1TUtmCondition::setName
void setName(const std::string &x)
Definition: L1TUtmCondition.h:45
L1TUtmObject.h
L1TUtmCondition::type_
int type_
Definition: L1TUtmCondition.h:64
L1TUtmCondition::getObjects
const std::vector< L1TUtmObject > & getObjects() const
Definition: L1TUtmCondition.h:57
L1TUtmCondition::L1TUtmCondition
L1TUtmCondition()
Definition: L1TUtmCondition.h:39
L1TUtmCondition::~L1TUtmCondition
virtual ~L1TUtmCondition()
Definition: L1TUtmCondition.h:42
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
DDAxes::x
L1TUtmCondition::getName
const std::string & getName() const
Definition: L1TUtmCondition.h:51
L1TUtmCondition::getCuts
const std::vector< L1TUtmCut > & getCuts() const
Definition: L1TUtmCondition.h:60
L1TUtmCondition
Definition: L1TUtmCondition.h:36
L1TUtmCondition::name_
std::string name_
Definition: L1TUtmCondition.h:60
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TUtmCondition::objects_
std::vector< L1TUtmObject > objects_
Definition: L1TUtmCondition.h:65
Serializable.h
L1TUtmCondition::version
unsigned int version
Definition: L1TUtmCondition.h:67
L1TUtmCondition::setType
void setType(const int x)
Definition: L1TUtmCondition.h:48
L1TUtmCondition::cuts_
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmCondition.h:66
L1TUtmCut.h
L1TUtmCondition::getType
const int getType() const
Definition: L1TUtmCondition.h:54