CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/CondFormats/EcalObjects/src/EcalTPGFineGrainConstEB.cc

Go to the documentation of this file.
00001 #include "CondFormats/EcalObjects/interface/EcalTPGFineGrainConstEB.h"
00002 
00003 
00004 EcalTPGFineGrainConstEB::EcalTPGFineGrainConstEB()
00005   : ThresholdETLow_(0), ThresholdETHigh_(0), RatioLow_(0), RatioHigh_(0), LUT_(0)
00006 { }
00007 
00008 EcalTPGFineGrainConstEB::~EcalTPGFineGrainConstEB()
00009 { }
00010 
00011 void EcalTPGFineGrainConstEB::getValues(uint32_t & ThresholdETLow, 
00012                                         uint32_t & ThresholdETHigh,
00013                                         uint32_t & RatioLow,
00014                                         uint32_t & RatioHigh,
00015                                         uint32_t & LUT) const 
00016 {
00017   ThresholdETLow = ThresholdETLow_ ;
00018   ThresholdETHigh = ThresholdETHigh_ ;
00019   RatioLow = RatioLow_ ;
00020   RatioHigh = RatioHigh_ ;
00021   LUT = LUT_ ;
00022 }
00023 
00024 void EcalTPGFineGrainConstEB::setValues(const uint32_t & ThresholdETLow, 
00025                                        const uint32_t & ThresholdETHigh,
00026                                        const uint32_t & RatioLow,
00027                                        const uint32_t & RatioHigh,
00028                                        const uint32_t & LUT)
00029 {
00030   ThresholdETLow_ = ThresholdETLow ;
00031   ThresholdETHigh_ = ThresholdETHigh ;
00032   RatioLow_ = RatioLow ;
00033   RatioHigh_ = RatioHigh ;
00034   LUT_ = LUT ;
00035 }