test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 //
12 #ifndef tmEventSetup_L1TUtmObject_hh
13 #define tmEventSetup_L1TUtmObject_hh
14 
15 /*====================================================================*
16  * declarations
17  *====================================================================*/
18 /*-----------------------------------------------------------------*
19  * headers
20  *-----------------------------------------------------------------*/
21 #include <string>
22 #include <vector>
23 #include <limits>
25 
27 
28 /*-----------------------------------------------------------------*
29  * constants
30  *-----------------------------------------------------------------*/
31 /* nope */
32 
37 {
38  public:
39  // ctor
42  ext_signal_name_(), ext_channel_id_(std::numeric_limits<unsigned int>::max()),
43  cuts_() { };
44 
45  // dtor
46  virtual ~L1TUtmObject() { };
47 
49  void setName(const std::string& x) { name_ = x; };
50 
52  void setType(const int x) { type_ = x; };
53 
56 
58  void setBxOffset(const int x) { bx_offset_ = x; };
59 
61  void setThreshold(double x) { threshold_ = x; };
62 
65 
67  void setExternalChannelId(const unsigned int x) { ext_channel_id_ = x; };
68 
70  void setCuts(const std::vector<L1TUtmCut>& x) { cuts_ = x; };
71 
73  const std::string& getName() const { return name_; };
74 
76  const int getType() const { return type_; };
77 
79  const int getComparisonOperator() const { return comparison_operator_ ; };
80 
82  const int getBxOffset() const { return bx_offset_; };
83 
85  const double getThreshold() const { return threshold_; };
86 
89 
91  const unsigned int getExternalChannelId() const { return ext_channel_id_; };
92 
94  const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
95 
96 
97  protected:
99  int type_;
102  double threshold_;
104  unsigned int ext_channel_id_;
105  std::vector<L1TUtmCut> cuts_;
106  unsigned int version;
108 };
109 
110 #endif // tmEventSetup_L1TUtmObject_hh
111 /* eof */
void setComparisonOperator(const int x)
Definition: L1TUtmObject.h:55
void setBxOffset(const int x)
Definition: L1TUtmObject.h:58
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:105
void setType(const int x)
Definition: L1TUtmObject.h:52
void setCuts(const std::vector< L1TUtmCut > &x)
Definition: L1TUtmObject.h:70
void setExternalChannelId(const unsigned int x)
Definition: L1TUtmObject.h:67
void setThreshold(double x)
Definition: L1TUtmObject.h:61
const std::vector< L1TUtmCut > & getCuts() const
Definition: L1TUtmObject.h:94
virtual ~L1TUtmObject()
Definition: L1TUtmObject.h:46
const std::string & getExternalSignalName() const
Definition: L1TUtmObject.h:88
const unsigned int getExternalChannelId() const
Definition: L1TUtmObject.h:91
void setExternalSignalName(const std::string &x)
Definition: L1TUtmObject.h:64
int comparison_operator_
Definition: L1TUtmObject.h:100
void setName(const std::string &x)
Definition: L1TUtmObject.h:49
#define COND_SERIALIZABLE
Definition: Serializable.h:37
const int getType() const
Definition: L1TUtmObject.h:76
const double getThreshold() const
Definition: L1TUtmObject.h:85
const int getComparisonOperator() const
Definition: L1TUtmObject.h:79
const std::string & getName() const
Definition: L1TUtmObject.h:73
std::string ext_signal_name_
Definition: L1TUtmObject.h:103
double threshold_
Definition: L1TUtmObject.h:102
unsigned int version
Definition: L1TUtmObject.h:106
std::string name_
Definition: L1TUtmObject.h:94
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:104
const int getBxOffset() const
Definition: L1TUtmObject.h:82