CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/CondFormats/ESObjects/interface/ESThresholds.h

Go to the documentation of this file.
00001 #ifndef CondFormats_ESObjects_ESThresholds_H
00002 #define CondFormats_ESObjects_ESThresholds_H
00003 #include <iostream>
00004 
00005 class ESThresholds {
00006 
00007   public:
00008 
00009     ESThresholds();
00010     ESThresholds(const float & ts2, const float & zs);
00011     ~ESThresholds();
00012 
00013     void  setTS2Threshold(const float& value) { ts2_ = value; }
00014     float getTS2Threshold() const { return ts2_; }
00015     void  setZSThreshold(const float& value) { zs_ = value; }
00016     float getZSThreshold() const { return zs_; }
00017 
00018     void print(std::ostream& s) const {
00019       s << "ESThresholds: 2nd time sample / ZS threshold" << ts2_ << " / " << zs_ <<" [ADC count]";
00020     }
00021 
00022   private:
00023 
00024     float ts2_;
00025     float zs_;
00026 };
00027 
00028 
00029 #endif