00001 #ifndef CondFormats_ESObjects_ESRecHitRatioCuts_H 00002 #define CondFormats_ESObjects_ESRecHitRatioCuts_H 00003 #include <iostream> 00004 00005 class ESRecHitRatioCuts { 00006 00007 public: 00008 00009 ESRecHitRatioCuts(); 00010 ESRecHitRatioCuts(const float & r12Low, const float & r23Low, 00011 const float & r12High, const float & r23High); 00012 ~ESRecHitRatioCuts(); 00013 00014 void setR12Low(const float& value) { r12Low_ = value; } 00015 float getR12Low() const { return r12Low_; } 00016 void setR23Low(const float& value) { r23Low_ = value; } 00017 float getR23Low() const { return r23Low_; } 00018 00019 void setR12High(const float& value) { r12High_ = value; } 00020 float getR12High() const { return r12High_; } 00021 void setR23High(const float& value) { r23High_ = value; } 00022 float getR23High() const { return r23High_; } 00023 00024 void print(std::ostream& s) const { 00025 s << "ESRecHitRatioCuts: ES low cut (r12, r23) / high cut (r12, r23)" << r12Low_ << " " << r23Low_<< " / " << r12High_ <<" "<< r23High_; 00026 } 00027 00028 private: 00029 00030 float r12Low_; 00031 float r23Low_; 00032 float r12High_; 00033 float r23High_; 00034 }; 00035 00036 #endif