CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TUtmObject.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_L1TUtmObject_hh
11 #define tmEventSetup_L1TUtmObject_hh
12 
15 
16 #include <limits>
17 #include <string>
18 #include <vector>
19 
23 class L1TUtmObject {
24 public:
26  : name_(),
27  type_(),
29  bx_offset_(),
30  threshold_(),
32  ext_channel_id_(std::numeric_limits<unsigned int>::max()),
33  cuts_(),
34  version(0){};
35 
36  virtual ~L1TUtmObject() = default;
37 
39  void setName(const std::string& x) { name_ = x; };
40 
42  void setType(const int x) { type_ = x; };
43 
46 
48  void setBxOffset(const int x) { bx_offset_ = x; };
49 
51  void setThreshold(double x) { threshold_ = x; };
52 
55 
57  void setExternalChannelId(const unsigned int x) { ext_channel_id_ = x; };
58 
60  void setCuts(const std::vector<L1TUtmCut>& x) { cuts_ = x; };
61 
63  const std::string& getName() const { return name_; };
64 
66  const int getType() const { return type_; };
67 
69  const int getComparisonOperator() const { return comparison_operator_; };
70 
72  const int getBxOffset() const { return bx_offset_; };
73 
75  const double getThreshold() const { return threshold_; };
76 
79 
81  const unsigned int getExternalChannelId() const { return ext_channel_id_; };
82 
84  const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
85 
86 protected:
88  int type_;
90  int bx_offset_;
91  double threshold_;
93  unsigned int ext_channel_id_;
94  std::vector<L1TUtmCut> cuts_;
95  unsigned int version;
97 };
98 
99 #endif // tmEventSetup_L1TUtmObject_hh
void setComparisonOperator(const int x)
Definition: L1TUtmObject.h:45
void setBxOffset(const int x)
Definition: L1TUtmObject.h:48
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:94
void setType(const int x)
Definition: L1TUtmObject.h:42
void setCuts(const std::vector< L1TUtmCut > &x)
Definition: L1TUtmObject.h:60
void setExternalChannelId(const unsigned int x)
Definition: L1TUtmObject.h:57
void setThreshold(double x)
Definition: L1TUtmObject.h:51
const std::vector< L1TUtmCut > & getCuts() const
Definition: L1TUtmObject.h:84
const std::string & getExternalSignalName() const
Definition: L1TUtmObject.h:78
const unsigned int getExternalChannelId() const
Definition: L1TUtmObject.h:81
void setExternalSignalName(const std::string &x)
Definition: L1TUtmObject.h:54
int comparison_operator_
Definition: L1TUtmObject.h:89
void setName(const std::string &x)
Definition: L1TUtmObject.h:39
#define COND_SERIALIZABLE
Definition: Serializable.h:39
const int getType() const
Definition: L1TUtmObject.h:66
const double getThreshold() const
Definition: L1TUtmObject.h:75
virtual ~L1TUtmObject()=default
const int getComparisonOperator() const
Definition: L1TUtmObject.h:69
const std::string & getName() const
Definition: L1TUtmObject.h:63
std::string ext_signal_name_
Definition: L1TUtmObject.h:92
double threshold_
Definition: L1TUtmObject.h:91
unsigned int version
Definition: L1TUtmObject.h:95
std::string name_
Definition: L1TUtmObject.h:84
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:93
const int getBxOffset() const
Definition: L1TUtmObject.h:72