CMS 3D CMS Logo

LinkBoardPackedStrip.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsLinkBoardPackedStrip_H
2 #define CondFormatsRPCObjectsLinkBoardPackedStrip_H
3 
5 public:
6  LinkBoardPackedStrip(int packedStripLB) : thePackedStrip(packedStripLB) {}
7 
8  LinkBoardPackedStrip(int febInLB, int stripPinInFeb) : thePackedStrip((febInLB - 1) * 16 + stripPinInFeb - 1) {}
9 
10  int febInLB() const { return thePackedStrip / 16 + 1; }
11  int stripPinInFeb() const { return thePackedStrip % 16 + 1; }
12  int packedStrip() const { return thePackedStrip; }
13 
14 private:
16 };
17 #endif
LinkBoardPackedStrip(int febInLB, int stripPinInFeb)
LinkBoardPackedStrip(int packedStripLB)