Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:05

0001 #include "CondFormats/EcalObjects/interface/EcalTPGWeights.h"
0002 
0003 EcalTPGWeights::EcalTPGWeights() : w0_(0), w1_(0), w2_(0), w3_(0), w4_(0) {}
0004 
0005 EcalTPGWeights::~EcalTPGWeights() {}
0006 
0007 void EcalTPGWeights::getValues(uint32_t& w0, uint32_t& w1, uint32_t& w2, uint32_t& w3, uint32_t& w4) const {
0008   w0 = w0_;
0009   w1 = w1_;
0010   w2 = w2_;
0011   w3 = w3_;
0012   w4 = w4_;
0013 }
0014 
0015 void EcalTPGWeights::setValues(
0016     const uint32_t& w0, const uint32_t& w1, const uint32_t& w2, const uint32_t& w3, const uint32_t& w4) {
0017   w0_ = w0;
0018   w1_ = w1;
0019   w2_ = w2;
0020   w3_ = w3;
0021   w4_ = w4;
0022 }