CMS 3D CMS Logo

L1TUtmCut.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_L1TUtmCut_hh
13 #define tmEventSetup_L1TUtmCut_hh
14 
15 /*====================================================================*
16  * declarations
17  *====================================================================*/
18 /*-----------------------------------------------------------------*
19  * headers
20  *-----------------------------------------------------------------*/
21 #include <string>
23 
25 
26 /*-----------------------------------------------------------------*
27  * constants
28  *-----------------------------------------------------------------*/
29 /* nope */
30 
34 class L1TUtmCut {
35 public:
36  // ctor
38 
39  // dtor
40  virtual ~L1TUtmCut(){};
41 
43  void setName(const std::string& name) { name_ = name; };
44 
46  void setObjectType(const int type) { object_type_ = type; };
47 
49  void setCutType(const int type) { cut_type_ = type; };
50 
52  void setMinimumValue(const double value) { minimum_.value = value; };
53 
55  void setMinimumIndex(const unsigned int index) { minimum_.index = index; };
56 
58  void setMinimum(const L1TUtmCutValue& minimum) { minimum_ = minimum; };
59 
61  void setMaximumValue(const double value) { maximum_.value = value; };
62 
64  void setMaximumIndex(const unsigned int index) { maximum_.index = index; };
65 
67  void setMaximum(const L1TUtmCutValue& maximum) { maximum_ = maximum; };
68 
70  void setPrecision(const unsigned int precision) {
73  }; // HACK
74 
76  const std::string& getName() const { return name_; };
77 
79  const int getObjectType() const { return object_type_; };
80 
82  const int getCutType() const { return cut_type_; };
83 
85  const L1TUtmCutValue& getMinimum() const { return minimum_; };
86 
88  const L1TUtmCutValue& getMaximum() const { return maximum_; };
89 
91  const double getMinimumValue() const { return minimum_.value; };
92 
94  const double getMaximumValue() const { return maximum_.value; };
95 
97  const unsigned int getMinimumIndex() const { return minimum_.index; };
98 
100  const unsigned int getMaximumIndex() const { return maximum_.index; };
101 
103  const std::string& getData() const { return data_; };
104 
106  const std::string& getKey() const { return key_; };
107 
109  const unsigned int getPrecision() const { return getMinimumIndex(); }; // HACK
110 
111 protected:
114  int cut_type_;
119  unsigned int version;
121 };
122 
123 #endif // tmEventSetup_L1TUtmCut_hh
124 /* eof */
L1TUtmCut::minimum_
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:115
L1TUtmCut::getMaximumValue
const double getMaximumValue() const
Definition: L1TUtmCut.h:94
L1TUtmCut::setCutType
void setCutType(const int type)
Definition: L1TUtmCut.h:49
L1TUtmCut::getMinimumValue
const double getMinimumValue() const
Definition: L1TUtmCut.h:91
L1TUtmCut::setMaximumIndex
void setMaximumIndex(const unsigned int index)
Definition: L1TUtmCut.h:64
L1TUtmCut::setPrecision
void setPrecision(const unsigned int precision)
Definition: L1TUtmCut.h:70
L1TUtmCutValue
Definition: L1TUtmCutValue.h:32
L1TUtmCut::setMaximum
void setMaximum(const L1TUtmCutValue &maximum)
Definition: L1TUtmCut.h:67
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1TUtmCut::setName
void setName(const std::string &name)
Definition: L1TUtmCut.h:43
L1TUtmCut::setObjectType
void setObjectType(const int type)
Definition: L1TUtmCut.h:46
L1TUtmCut::setMaximumValue
void setMaximumValue(const double value)
Definition: L1TUtmCut.h:61
L1TUtmCut::setMinimumIndex
void setMinimumIndex(const unsigned int index)
Definition: L1TUtmCut.h:55
L1TUtmCut::getMinimumIndex
const unsigned int getMinimumIndex() const
Definition: L1TUtmCut.h:97
L1TUtmCut::~L1TUtmCut
virtual ~L1TUtmCut()
Definition: L1TUtmCut.h:40
L1TUtmCut::name_
std::string name_
Definition: L1TUtmCut.h:109
L1TUtmCut::getObjectType
const int getObjectType() const
Definition: L1TUtmCut.h:79
L1TUtmCut::key_
std::string key_
Definition: L1TUtmCut.h:118
L1TUtmCut::setMinimumValue
void setMinimumValue(const double value)
Definition: L1TUtmCut.h:52
L1TUtmCut::cut_type_
int cut_type_
Definition: L1TUtmCut.h:114
L1TUtmCut::getCutType
const int getCutType() const
Definition: L1TUtmCut.h:82
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
common_cff.precision
precision
Definition: common_cff.py:44
L1TUtmCut::getMaximum
const L1TUtmCutValue & getMaximum() const
Definition: L1TUtmCut.h:88
L1TUtmCut::version
unsigned int version
Definition: L1TUtmCut.h:119
L1TUtmCutValue::index
unsigned int index
Definition: L1TUtmCutValue.h:38
L1TUtmCut::maximum_
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:116
Serializable.h
L1TUtmCut::getData
const std::string & getData() const
Definition: L1TUtmCut.h:103
value
Definition: value.py:1
L1TUtmCutValue::value
double value
Definition: L1TUtmCutValue.h:35
L1TUtmCut::object_type_
int object_type_
Definition: L1TUtmCut.h:113
L1TUtmCut::getName
const std::string & getName() const
Definition: L1TUtmCut.h:76
type
type
Definition: HCALResponse.h:21
relativeConstraints.value
value
Definition: relativeConstraints.py:53
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
L1TUtmCut::getMinimum
const L1TUtmCutValue & getMinimum() const
Definition: L1TUtmCut.h:85
L1TUtmCut::getMaximumIndex
const unsigned int getMaximumIndex() const
Definition: L1TUtmCut.h:100
L1TUtmCut::L1TUtmCut
L1TUtmCut()
Definition: L1TUtmCut.h:37
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
L1TUtmCut::setMinimum
void setMinimum(const L1TUtmCutValue &minimum)
Definition: L1TUtmCut.h:58
L1TUtmCut::data_
std::string data_
Definition: L1TUtmCut.h:117
L1TUtmCut
Definition: L1TUtmCut.h:34
L1TUtmCut::getPrecision
const unsigned int getPrecision() const
Definition: L1TUtmCut.h:109
L1TUtmCut::getKey
const std::string & getKey() const
Definition: L1TUtmCut.h:106
L1TUtmCutValue.h