Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #include "CondFormats/HcalObjects/interface/HcalDcsValue.h"
0002 #include "DataFormats/HcalDetId/interface/HcalDcsDetId.h"
0003 
0004 HcalDcsValue::HcalDcsValue() : mId(0), mLS(0), mValue(0), mUpperLimit(0), mLowerLimit(0) {}
0005 
0006 HcalDcsValue::HcalDcsValue(uint32_t fid, int ls, float val, float upper, float lower)
0007     : mId(fid), mLS(ls), mValue(val), mUpperLimit(upper), mLowerLimit(lower) {}
0008 
0009 HcalDcsValue::HcalDcsValue(HcalDcsValue const& other)
0010     : mId(other.mId),
0011       mLS(other.mLS),
0012       mValue(other.mValue),
0013       mUpperLimit(other.mUpperLimit),
0014       mLowerLimit(other.mLowerLimit) {}
0015 
0016 HcalDcsValue::~HcalDcsValue() {}
0017 
0018 HcalOtherSubdetector HcalDcsValue::getSubdetector() const {
0019   HcalDcsDetId tmpId(mId);
0020   return tmpId.subdet();
0021 }