CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondFormats/EcalObjects/src/EcalTPGWeights.cc

Go to the documentation of this file.
00001 #include "CondFormats/EcalObjects/interface/EcalTPGWeights.h"
00002 
00003 
00004 EcalTPGWeights::EcalTPGWeights()
00005   : w0_(0), w1_(0), w2_(0), w3_(0), w4_(0)
00006 { }
00007 
00008 EcalTPGWeights::~EcalTPGWeights()
00009 { }
00010 
00011 void EcalTPGWeights::getValues(uint32_t & w0,
00012                                uint32_t & w1,
00013                                uint32_t & w2,
00014                                uint32_t & w3,
00015                                uint32_t & w4) const
00016 {
00017   w0 = w0_ ;
00018   w1 = w1_ ;
00019   w2 = w2_ ;
00020   w3 = w3_ ;
00021   w4 = w4_ ;
00022 }
00023 
00024 void EcalTPGWeights::setValues(const uint32_t & w0,
00025                                const uint32_t & w1,
00026                                const uint32_t & w2,
00027                                const uint32_t & w3,
00028                                const uint32_t & w4)
00029 {
00030   w0_ = w0 ;
00031   w1_ = w1 ;
00032   w2_ = w2 ;
00033   w3_ = w3 ;
00034   w4_ = w4 ;
00035 }