CMS 3D CMS Logo

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 
36 class L1TUtmObject {
37 public:
38  // ctor
40  : name_(),
41  type_(),
43  bx_offset_(),
44  threshold_(),
46  ext_channel_id_(std::numeric_limits<unsigned int>::max()),
47  cuts_(),
48  version(0){};
49 
50  // dtor
51  virtual ~L1TUtmObject(){};
52 
54  void setName(const std::string& x) { name_ = x; };
55 
57  void setType(const int x) { type_ = x; };
58 
61 
63  void setBxOffset(const int x) { bx_offset_ = x; };
64 
66  void setThreshold(double x) { threshold_ = x; };
67 
70 
72  void setExternalChannelId(const unsigned int x) { ext_channel_id_ = x; };
73 
75  void setCuts(const std::vector<L1TUtmCut>& x) { cuts_ = x; };
76 
78  const std::string& getName() const { return name_; };
79 
81  const int getType() const { return type_; };
82 
84  const int getComparisonOperator() const { return comparison_operator_; };
85 
87  const int getBxOffset() const { return bx_offset_; };
88 
90  const double getThreshold() const { return threshold_; };
91 
94 
96  const unsigned int getExternalChannelId() const { return ext_channel_id_; };
97 
99  const std::vector<L1TUtmCut>& getCuts() const { return cuts_; };
100 
101 protected:
103  int type_;
106  double threshold_;
108  unsigned int ext_channel_id_;
109  std::vector<L1TUtmCut> cuts_;
110  unsigned int version;
112 };
113 
114 #endif // tmEventSetup_L1TUtmObject_hh
115 /* eof */
L1TUtmObject::bx_offset_
int bx_offset_
Definition: L1TUtmObject.h:105
L1TUtmObject::~L1TUtmObject
virtual ~L1TUtmObject()
Definition: L1TUtmObject.h:51
L1TUtmObject::setType
void setType(const int x)
Definition: L1TUtmObject.h:57
L1TUtmObject::threshold_
double threshold_
Definition: L1TUtmObject.h:106
L1TUtmObject::getExternalChannelId
const unsigned int getExternalChannelId() const
Definition: L1TUtmObject.h:96
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1TUtmObject::getCuts
const std::vector< L1TUtmCut > & getCuts() const
Definition: L1TUtmObject.h:99
DDAxes::x
L1TUtmObject::type_
int type_
Definition: L1TUtmObject.h:103
L1TUtmObject::getType
const int getType() const
Definition: L1TUtmObject.h:81
L1TUtmObject::setExternalSignalName
void setExternalSignalName(const std::string &x)
Definition: L1TUtmObject.h:69
L1TUtmObject::version
unsigned int version
Definition: L1TUtmObject.h:110
L1TUtmObject::name_
std::string name_
Definition: L1TUtmObject.h:99
L1TUtmObject::setExternalChannelId
void setExternalChannelId(const unsigned int x)
Definition: L1TUtmObject.h:72
L1TUtmObject::getExternalSignalName
const std::string & getExternalSignalName() const
Definition: L1TUtmObject.h:93
L1TUtmObject::ext_channel_id_
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:108
L1TUtmObject::setThreshold
void setThreshold(double x)
Definition: L1TUtmObject.h:66
L1TUtmObject::comparison_operator_
int comparison_operator_
Definition: L1TUtmObject.h:104
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
L1TUtmObject::L1TUtmObject
L1TUtmObject()
Definition: L1TUtmObject.h:39
L1TUtmObject::setName
void setName(const std::string &x)
Definition: L1TUtmObject.h:54
L1TUtmObject::getBxOffset
const int getBxOffset() const
Definition: L1TUtmObject.h:87
createfilelist.int
int
Definition: createfilelist.py:10
Serializable.h
L1TUtmObject
Definition: L1TUtmObject.h:36
L1TUtmObject::ext_signal_name_
std::string ext_signal_name_
Definition: L1TUtmObject.h:107
std
Definition: JetResolutionObject.h:76
L1TUtmObject::setBxOffset
void setBxOffset(const int x)
Definition: L1TUtmObject.h:63
L1TUtmObject::setCuts
void setCuts(const std::vector< L1TUtmCut > &x)
Definition: L1TUtmObject.h:75
L1TUtmObject::getComparisonOperator
const int getComparisonOperator() const
Definition: L1TUtmObject.h:84
L1TUtmObject::getName
const std::string & getName() const
Definition: L1TUtmObject.h:78
L1TUtmObject::cuts_
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:109
L1TUtmCut.h
L1TUtmObject::setComparisonOperator
void setComparisonOperator(const int x)
Definition: L1TUtmObject.h:60
L1TUtmObject::getThreshold
const double getThreshold() const
Definition: L1TUtmObject.h:90