Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HcalQIEType_h
0002 #define HcalQIEType_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 /*
0007 \class HcalQIEType
0008 \author Walter Alda 
0009 contains the QIE Typese + corresponding DetId
0010 */
0011 
0012 class HcalQIEType {
0013 public:
0014   HcalQIEType() : mId(0), mValue(0) {}
0015   HcalQIEType(unsigned long fid, int value) : mId(fid), mValue(value) {}
0016 
0017   uint32_t rawId() const { return mId; }
0018 
0019   int getValue() const { return mValue; }
0020 
0021 private:
0022   uint32_t mId;
0023   int mValue;
0024 
0025   COND_SERIALIZABLE;
0026 };
0027 
0028 #endif