CMS 3D CMS Logo

ESThresholds.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESThresholds_H
2 #define CondFormats_ESObjects_ESThresholds_H
4 
5 #include <iostream>
6 
7 class ESThresholds {
8 public:
9  ESThresholds();
10  ESThresholds(const float& ts2, const float& zs);
11  ~ESThresholds();
12 
13  void setTS2Threshold(const float& value) { ts2_ = value; }
14  float getTS2Threshold() const { return ts2_; }
15  void setZSThreshold(const float& value) { zs_ = value; }
16  float getZSThreshold() const { return zs_; }
17 
18  void print(std::ostream& s) const {
19  s << "ESThresholds: 2nd time sample / ZS threshold" << ts2_ << " / " << zs_ << " [ADC count]";
20  }
21 
22 private:
23  float ts2_;
24  float zs_;
25 
27 };
28 
29 #endif
ESThresholds
Definition: ESThresholds.h:7
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
ESThresholds::setZSThreshold
void setZSThreshold(const float &value)
Definition: ESThresholds.h:15
ESThresholds::getZSThreshold
float getZSThreshold() const
Definition: ESThresholds.h:16
ESThresholds::zs_
float zs_
Definition: ESThresholds.h:24
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ESThresholds::ESThresholds
ESThresholds()
Definition: ESThresholds.cc:3
ESThresholds::ts2_
float ts2_
Definition: ESThresholds.h:23
ESThresholds::print
void print(std::ostream &s) const
Definition: ESThresholds.h:18
ESThresholds::~ESThresholds
~ESThresholds()
Definition: ESThresholds.cc:13
Serializable.h
value
Definition: value.py:1
ESThresholds::getTS2Threshold
float getTS2Threshold() const
Definition: ESThresholds.h:14
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ESThresholds::setTS2Threshold
void setTS2Threshold(const float &value)
Definition: ESThresholds.h:13