Main Page
Namespaces
Classes
Package Documentation
CondFormats
RPCObjects
interface
LinkBoardPackedStrip.h
Go to the documentation of this file.
1
#ifndef CondFormatsRPCObjectsLinkBoardPackedStrip_H
2
#define CondFormatsRPCObjectsLinkBoardPackedStrip_H
3
4
class
LinkBoardPackedStrip
{
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
:
15
int
thePackedStrip
;
16
};
17
#endif
LinkBoardPackedStrip::thePackedStrip
int thePackedStrip
Definition:
LinkBoardPackedStrip.h:15
LinkBoardPackedStrip::febInLB
int febInLB() const
Definition:
LinkBoardPackedStrip.h:10
LinkBoardPackedStrip
Definition:
LinkBoardPackedStrip.h:4
LinkBoardPackedStrip::stripPinInFeb
int stripPinInFeb() const
Definition:
LinkBoardPackedStrip.h:11
LinkBoardPackedStrip::LinkBoardPackedStrip
LinkBoardPackedStrip(int febInLB, int stripPinInFeb)
Definition:
LinkBoardPackedStrip.h:8
LinkBoardPackedStrip::packedStrip
int packedStrip() const
Definition:
LinkBoardPackedStrip.h:12
LinkBoardPackedStrip::LinkBoardPackedStrip
LinkBoardPackedStrip(int packedStripLB)
Definition:
LinkBoardPackedStrip.h:6
Generated for CMSSW Reference Manual by
1.8.11