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 febInLB, int stripPinInFeb)
 
 LinkBoardPackedStrip (int packedStripLB)
 
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.

8 : thePackedStrip((febInLB - 1) * 16 + stripPinInFeb - 1) {}

Member Function Documentation

◆ febInLB()

int LinkBoardPackedStrip::febInLB ( ) const
inline

Definition at line 10 of file LinkBoardPackedStrip.h.

10 { return thePackedStrip / 16 + 1; }

References thePackedStrip.

Referenced by RPCReadOutMapping::detUnitFrame().

◆ packedStrip()

int LinkBoardPackedStrip::packedStrip ( ) const
inline

Definition at line 12 of file LinkBoardPackedStrip.h.

12 { return thePackedStrip; }

References thePackedStrip.

Referenced by RPCRecordFormatter::recordPack().

◆ stripPinInFeb()

int LinkBoardPackedStrip::stripPinInFeb ( ) const
inline

Definition at line 11 of file LinkBoardPackedStrip.h.

11 { return thePackedStrip % 16 + 1; }

References thePackedStrip.

Referenced by RPCReadOutMapping::detUnitFrame().

Member Data Documentation

◆ thePackedStrip

int LinkBoardPackedStrip::thePackedStrip
private

Definition at line 15 of file LinkBoardPackedStrip.h.

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

LinkBoardPackedStrip::febInLB
int febInLB() const
Definition: LinkBoardPackedStrip.h:10
LinkBoardPackedStrip::thePackedStrip
int thePackedStrip
Definition: LinkBoardPackedStrip.h:15
LinkBoardPackedStrip::stripPinInFeb
int stripPinInFeb() const
Definition: LinkBoardPackedStrip.h:11