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 //
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
L1TUtmObject::bx_offset_
int bx_offset_
Definition: L1TUtmObject.h:90
L1TUtmObject::~L1TUtmObject
virtual ~L1TUtmObject()=default
L1TUtmObject::setType
void setType(const int x)
Definition: L1TUtmObject.h:42
L1TUtmObject::threshold_
double threshold_
Definition: L1TUtmObject.h:91
L1TUtmObject::getExternalChannelId
const unsigned int getExternalChannelId() const
Definition: L1TUtmObject.h:81
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1TUtmObject::getCuts
const std::vector< L1TUtmCut > & getCuts() const
Definition: L1TUtmObject.h:84
DDAxes::x
L1TUtmObject::type_
int type_
Definition: L1TUtmObject.h:88
L1TUtmObject::getType
const int getType() const
Definition: L1TUtmObject.h:66
L1TUtmObject::setExternalSignalName
void setExternalSignalName(const std::string &x)
Definition: L1TUtmObject.h:54
L1TUtmObject::version
unsigned int version
Definition: L1TUtmObject.h:95
L1TUtmObject::name_
std::string name_
Definition: L1TUtmObject.h:84
L1TUtmObject::setExternalChannelId
void setExternalChannelId(const unsigned int x)
Definition: L1TUtmObject.h:57
L1TUtmObject::getExternalSignalName
const std::string & getExternalSignalName() const
Definition: L1TUtmObject.h:78
L1TUtmObject::ext_channel_id_
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:93
L1TUtmObject::setThreshold
void setThreshold(double x)
Definition: L1TUtmObject.h:51
L1TUtmObject::comparison_operator_
int comparison_operator_
Definition: L1TUtmObject.h:89
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
L1TUtmObject::L1TUtmObject
L1TUtmObject()
Definition: L1TUtmObject.h:25
L1TUtmObject::setName
void setName(const std::string &x)
Definition: L1TUtmObject.h:39
L1TUtmObject::getBxOffset
const int getBxOffset() const
Definition: L1TUtmObject.h:72
createfilelist.int
int
Definition: createfilelist.py:10
Serializable.h
L1TUtmObject
Definition: L1TUtmObject.h:23
L1TUtmObject::ext_signal_name_
std::string ext_signal_name_
Definition: L1TUtmObject.h:92
std
Definition: JetResolutionObject.h:76
L1TUtmObject::setBxOffset
void setBxOffset(const int x)
Definition: L1TUtmObject.h:48
L1TUtmObject::setCuts
void setCuts(const std::vector< L1TUtmCut > &x)
Definition: L1TUtmObject.h:60
L1TUtmObject::getComparisonOperator
const int getComparisonOperator() const
Definition: L1TUtmObject.h:69
L1TUtmObject::getName
const std::string & getName() const
Definition: L1TUtmObject.h:63
L1TUtmObject::cuts_
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:94
L1TUtmCut.h
L1TUtmObject::setComparisonOperator
void setComparisonOperator(const int x)
Definition: L1TUtmObject.h:45
L1TUtmObject::getThreshold
const double getThreshold() const
Definition: L1TUtmObject.h:75