File indexing completed on 2024-04-06 12:02:10
0001 #include "CondFormats/EcalObjects/interface/EcalEBPhase2TPGTimeWeights.h"
0002
0003 EcalEBPhase2TPGTimeWeights::EcalEBPhase2TPGTimeWeights()
0004 : w0_(0), w1_(0), w2_(0), w3_(0), w4_(0), w5_(0), w6_(0), w7_(0), w8_(0), w9_(0), w10_(0), w11_(0) {}
0005
0006 void EcalEBPhase2TPGTimeWeights::getValues(uint32_t& w0,
0007 uint32_t& w1,
0008 uint32_t& w2,
0009 uint32_t& w3,
0010 uint32_t& w4,
0011 uint32_t& w5,
0012 uint32_t& w6,
0013 uint32_t& w7,
0014 uint32_t& w8,
0015 uint32_t& w9,
0016 uint32_t& w10,
0017 uint32_t& w11) const {
0018 w0 = w0_;
0019 w1 = w1_;
0020 w2 = w2_;
0021 w3 = w3_;
0022 w4 = w4_;
0023 w5 = w5_;
0024 w6 = w6_;
0025 w7 = w7_;
0026 w8 = w8_;
0027 w9 = w9_;
0028 w10 = w10_;
0029 w11 = w11_;
0030 }
0031
0032 void EcalEBPhase2TPGTimeWeights::setValues(const uint32_t& w0,
0033 const uint32_t& w1,
0034 const uint32_t& w2,
0035 const uint32_t& w3,
0036 const uint32_t& w4,
0037 const uint32_t& w5,
0038 const uint32_t& w6,
0039 const uint32_t& w7,
0040 const uint32_t& w8,
0041 const uint32_t& w9,
0042 const uint32_t& w10,
0043 const uint32_t& w11) {
0044 w0_ = w0;
0045 w1_ = w1;
0046 w2_ = w2;
0047 w3_ = w3;
0048 w4_ = w4;
0049 w5_ = w5;
0050 w6_ = w6;
0051 w7_ = w7;
0052 w8_ = w8;
0053 w9_ = w9;
0054 w10_ = w10;
0055 w11_ = w11;
0056 }