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
L1TUtmCondition::setName
void setName(const std::string &x)
Definition: L1TUtmCondition.h:30
L1TUtmObject.h
L1TUtmCondition::type_
int type_
Definition: L1TUtmCondition.h:49
L1TUtmCondition::getObjects
const std::vector< L1TUtmObject > & getObjects() const
Definition: L1TUtmCondition.h:42
L1TUtmCondition::L1TUtmCondition
L1TUtmCondition()
Definition: L1TUtmCondition.h:25
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
DDAxes::x
L1TUtmCondition::getName
const std::string & getName() const
Definition: L1TUtmCondition.h:36
L1TUtmCondition::getCuts
const std::vector< L1TUtmCut > & getCuts() const
Definition: L1TUtmCondition.h:45
L1TUtmCondition
Definition: L1TUtmCondition.h:23
L1TUtmCondition::name_
std::string name_
Definition: L1TUtmCondition.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TUtmCondition::objects_
std::vector< L1TUtmObject > objects_
Definition: L1TUtmCondition.h:50
Serializable.h
L1TUtmCondition::version
unsigned int version
Definition: L1TUtmCondition.h:52
L1TUtmCondition::setType
void setType(const int x)
Definition: L1TUtmCondition.h:33
L1TUtmCondition::cuts_
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmCondition.h:51
L1TUtmCut.h
L1TUtmCondition::~L1TUtmCondition
virtual ~L1TUtmCondition()=default
L1TUtmCondition::getType
const int getType() const
Definition: L1TUtmCondition.h:39