Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #include "CondFormats/EcalObjects/interface/EcalTPGFineGrainConstEB.h"
0002 
0003 EcalTPGFineGrainConstEB::EcalTPGFineGrainConstEB()
0004     : ThresholdETLow_(0), ThresholdETHigh_(0), RatioLow_(0), RatioHigh_(0), LUT_(0) {}
0005 
0006 EcalTPGFineGrainConstEB::~EcalTPGFineGrainConstEB() {}
0007 
0008 void EcalTPGFineGrainConstEB::getValues(
0009     uint32_t& ThresholdETLow, uint32_t& ThresholdETHigh, uint32_t& RatioLow, uint32_t& RatioHigh, uint32_t& LUT) const {
0010   ThresholdETLow = ThresholdETLow_;
0011   ThresholdETHigh = ThresholdETHigh_;
0012   RatioLow = RatioLow_;
0013   RatioHigh = RatioHigh_;
0014   LUT = LUT_;
0015 }
0016 
0017 void EcalTPGFineGrainConstEB::setValues(const uint32_t& ThresholdETLow,
0018                                         const uint32_t& ThresholdETHigh,
0019                                         const uint32_t& RatioLow,
0020                                         const uint32_t& RatioHigh,
0021                                         const uint32_t& LUT) {
0022   ThresholdETLow_ = ThresholdETLow;
0023   ThresholdETHigh_ = ThresholdETHigh;
0024   RatioLow_ = RatioLow;
0025   RatioHigh_ = RatioHigh;
0026   LUT_ = LUT;
0027 }