File indexing completed on 2024-04-06 12:02:11
0001 #ifndef CondFormats_ESObjects_ESRecHitRatioCuts_H
0002 #define CondFormats_ESObjects_ESRecHitRatioCuts_H
0003 #include "CondFormats/Serialization/interface/Serializable.h"
0004
0005 #include <iostream>
0006
0007 class ESRecHitRatioCuts {
0008 public:
0009 ESRecHitRatioCuts();
0010 ESRecHitRatioCuts(const float& r12Low, const float& r23Low, const float& r12High, const float& r23High);
0011 ~ESRecHitRatioCuts();
0012
0013 void setR12Low(const float& value) { r12Low_ = value; }
0014 float getR12Low() const { return r12Low_; }
0015 void setR23Low(const float& value) { r23Low_ = value; }
0016 float getR23Low() const { return r23Low_; }
0017
0018 void setR12High(const float& value) { r12High_ = value; }
0019 float getR12High() const { return r12High_; }
0020 void setR23High(const float& value) { r23High_ = value; }
0021 float getR23High() const { return r23High_; }
0022
0023 void print(std::ostream& s) const {
0024 s << "ESRecHitRatioCuts: ES low cut (r12, r23) / high cut (r12, r23)" << r12Low_ << " " << r23Low_ << " / "
0025 << r12High_ << " " << r23High_;
0026 }
0027
0028 private:
0029 float r12Low_;
0030 float r23Low_;
0031 float r12High_;
0032 float r23High_;
0033
0034 COND_SERIALIZABLE;
0035 };
0036
0037 #endif