CMS 3D CMS Logo

HGCalElectronicsId.cc
Go to the documentation of this file.
2 
3 //
5  uint16_t fedid, uint8_t captureblock, uint8_t econdidx, uint8_t econderx, uint8_t halfrocch) {
6  value_ = ((fedid & kFEDIDMask) << kFEDIDShift) | ((captureblock & kCaptureBlockMask) << kCaptureBlockShift) |
7  ((econdidx & kECONDIdxMask) << kECONDIdxShift) | ((econderx & kECONDeRxMask) << kECONDeRxShift) |
8  ((halfrocch & kHalfROCChannelMask) << kHalfROCChannelShift);
9 }
10 
11 //
12 uint16_t HGCalElectronicsId::fedId() const { return (value_ >> kFEDIDShift) & kFEDIDMask; }
13 
14 //
16 
17 //
19 
20 //
22 
23 //
uint8_t halfrocChannel() const
uint16_t fedId() const
uint8_t econdIdx() const
uint8_t captureBlock() const
uint8_t econdeRx() const