Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:10

0001 #include "CondFormats/EcalObjects/interface/EcalEBPhase2TPGAmplWeights.h"
0002 
0003 EcalEBPhase2TPGAmplWeights::EcalEBPhase2TPGAmplWeights()
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 EcalEBPhase2TPGAmplWeights::~EcalEBPhase2TPGAmplWeights() {}
0007 
0008 void EcalEBPhase2TPGAmplWeights::getValues(uint32_t& w0,
0009                                            uint32_t& w1,
0010                                            uint32_t& w2,
0011                                            uint32_t& w3,
0012                                            uint32_t& w4,
0013                                            uint32_t& w5,
0014                                            uint32_t& w6,
0015                                            uint32_t& w7,
0016                                            uint32_t& w8,
0017                                            uint32_t& w9,
0018                                            uint32_t& w10,
0019                                            uint32_t& w11) const {
0020   w0 = w0_;
0021   w1 = w1_;
0022   w2 = w2_;
0023   w3 = w3_;
0024   w4 = w4_;
0025   w5 = w5_;
0026   w6 = w6_;
0027   w7 = w7_;
0028   w8 = w8_;
0029   w9 = w9_;
0030   w10 = w10_;
0031   w11 = w11_;
0032 }
0033 
0034 void EcalEBPhase2TPGAmplWeights::setValues(const uint32_t& w0,
0035                                            const uint32_t& w1,
0036                                            const uint32_t& w2,
0037                                            const uint32_t& w3,
0038                                            const uint32_t& w4,
0039                                            const uint32_t& w5,
0040                                            const uint32_t& w6,
0041                                            const uint32_t& w7,
0042                                            const uint32_t& w8,
0043                                            const uint32_t& w9,
0044                                            const uint32_t& w10,
0045                                            const uint32_t& w11) {
0046   w0_ = w0;
0047   w1_ = w1;
0048   w2_ = w2;
0049   w3_ = w3;
0050   w4_ = w4;
0051   w5_ = w5;
0052   w6_ = w6;
0053   w7_ = w7;
0054   w8_ = w8;
0055   w9_ = w9;
0056   w10_ = w10;
0057   w11_ = w11;
0058 }