CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/CondFormats/ESObjects/interface/ESEEIntercalibConstants.h

Go to the documentation of this file.
00001 #ifndef CondFormats_ESObjects_ESEEIntercalibConstants_H
00002 #define CondFormats_ESObjects_ESEEIntercalibConstants_H
00003 #include <iostream>
00004 
00005 class ESEEIntercalibConstants {
00006 
00007   public:
00008 
00009     ESEEIntercalibConstants();
00010     ESEEIntercalibConstants(const float & gammaLow0, const float & alphaLow0, const float & gammaHigh0, const float & alphaHigh0,
00011                             const float & gammaLow1, const float & alphaLow1, const float & gammaHigh1, const float & alphaHigh1,
00012                             const float & gammaLow2, const float & alphaLow2, const float & gammaHigh2, const float & alphaHigh2,
00013                             const float & gammaLow3, const float & alphaLow3, const float & gammaHigh3, const float & alphaHigh3
00014                             );
00015     ~ESEEIntercalibConstants();
00016 
00017     void  setGammaLow0(const float& value) { gammaLow0_ = value; }
00018     float getGammaLow0() const { return gammaLow0_; }
00019     void  setAlphaLow0(const float& value) { alphaLow0_ = value; }
00020     float getAlphaLow0() const { return alphaLow0_; }
00021 
00022     void  setGammaLow1(const float& value) { gammaLow1_ = value; }
00023     float getGammaLow1() const { return gammaLow1_; }
00024     void  setAlphaLow1(const float& value) { alphaLow1_ = value; }
00025     float getAlphaLow1() const { return alphaLow1_; }
00026 
00027     void  setGammaLow2(const float& value) { gammaLow2_ = value; }
00028     float getGammaLow2() const { return gammaLow2_; }
00029     void  setAlphaLow2(const float& value) { alphaLow2_ = value; }
00030     float getAlphaLow2() const { return alphaLow2_; }
00031 
00032     void  setGammaLow3(const float& value) { gammaLow3_ = value; }
00033     float getGammaLow3() const { return gammaLow3_; }
00034     void  setAlphaLow3(const float& value) { alphaLow3_ = value; }
00035     float getAlphaLow3() const { return alphaLow3_; }
00036 
00037     void  setGammaHigh0(const float& value) { gammaHigh0_ = value; }
00038     float getGammaHigh0() const { return gammaHigh0_; }
00039     void  setAlphaHigh0(const float& value) { alphaHigh0_ = value; }
00040     float getAlphaHigh0() const { return alphaHigh0_; }
00041 
00042     void  setGammaHigh1(const float& value) { gammaHigh1_ = value; }
00043     float getGammaHigh1() const { return gammaHigh1_; }
00044     void  setAlphaHigh1(const float& value) { alphaHigh1_ = value; }
00045     float getAlphaHigh1() const { return alphaHigh1_; }
00046 
00047     void  setGammaHigh2(const float& value) { gammaHigh2_ = value; }
00048     float getGammaHigh2() const { return gammaHigh2_; }
00049     void  setAlphaHigh2(const float& value) { alphaHigh2_ = value; }
00050     float getAlphaHigh2() const { return alphaHigh2_; }
00051 
00052     void  setGammaHigh3(const float& value) { gammaHigh3_ = value; }
00053     float getGammaHigh3() const { return gammaHigh3_; }
00054     void  setAlphaHigh3(const float& value) { alphaHigh3_ = value; }
00055     float getAlphaHigh3() const { return alphaHigh3_; }
00056 
00057     void print(std::ostream& s) const {
00058       s << "ESEEIntercalibConstants: ES low gain (gamma, alpha) / high gain (gamma, alpha)" << gammaLow0_ << " " << alphaLow0_<< " / " << gammaHigh0_ <<" "<<alphaHigh0_;
00059     }
00060 
00061   private:
00062 
00063     // both planes work perfectly
00064     float gammaLow0_;
00065     float alphaLow0_;
00066     float gammaHigh0_;
00067     float alphaHigh0_;
00068 
00069     // both planes do not work at all
00070     float gammaLow1_;
00071     float alphaLow1_;
00072     float gammaHigh1_;
00073     float alphaHigh1_;
00074 
00075     // only the first plane works
00076     float gammaLow2_;
00077     float alphaLow2_;
00078     float gammaHigh2_;
00079     float alphaHigh2_;
00080 
00081     // only the second plane works
00082     float gammaLow3_;
00083     float alphaLow3_;
00084     float gammaHigh3_;
00085     float alphaHigh3_;
00086 };
00087 
00088 #endif