CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
LinkBoardPackedStrip Class Reference

#include <LinkBoardPackedStrip.h>

Public Member Functions

int febInLB () const
 
 LinkBoardPackedStrip (int packedStripLB)
 
 LinkBoardPackedStrip (int febInLB, int stripPinInFeb)
 
int packedStrip () const
 
int stripPinInFeb () const
 

Private Attributes

int thePackedStrip
 

Detailed Description

Definition at line 4 of file LinkBoardPackedStrip.h.

Constructor & Destructor Documentation

◆ LinkBoardPackedStrip() [1/2]

LinkBoardPackedStrip::LinkBoardPackedStrip ( int  packedStripLB)
inline

Definition at line 6 of file LinkBoardPackedStrip.h.

6 : thePackedStrip(packedStripLB) {}

◆ LinkBoardPackedStrip() [2/2]

LinkBoardPackedStrip::LinkBoardPackedStrip ( int  febInLB,
int  stripPinInFeb 
)
inline

Definition at line 8 of file LinkBoardPackedStrip.h.

Member Function Documentation

◆ febInLB()

int LinkBoardPackedStrip::febInLB ( ) const
inline

Definition at line 10 of file LinkBoardPackedStrip.h.

References thePackedStrip.

Referenced by RPCReadOutMapping::detUnitFrame().

10 { return thePackedStrip / 16 + 1; }

◆ packedStrip()

int LinkBoardPackedStrip::packedStrip ( ) const
inline

Definition at line 12 of file LinkBoardPackedStrip.h.

References thePackedStrip.

Referenced by RPCRecordFormatter::recordPack().

◆ stripPinInFeb()

int LinkBoardPackedStrip::stripPinInFeb ( ) const
inline

Definition at line 11 of file LinkBoardPackedStrip.h.

References thePackedStrip.

Referenced by RPCReadOutMapping::detUnitFrame().

11 { return thePackedStrip % 16 + 1; }

Member Data Documentation

◆ thePackedStrip

int LinkBoardPackedStrip::thePackedStrip
private

Definition at line 15 of file LinkBoardPackedStrip.h.

Referenced by febInLB(), packedStrip(), and stripPinInFeb().