CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCRPCDigi Class Reference

#include <CSCRPCDigi.h>

List of all members.

Public Member Functions

 CSCRPCDigi (int rpc, int pad, int bxn, int tbin)
 Constructors.
 CSCRPCDigi ()
 from the rpc#, pad#, bxn#, tbin#
int getBXN () const
 return BXN
int getPad () const
 return pad number
int getRpc () const
 default
int getTbin () const
 return tbin number
void print () const
 Print content of digi.

Private Attributes

uint16_t bxn_
uint16_t pad_
uint16_t rpc_
uint16_t tbin_

Detailed Description

Digi for RPC data coming thru RAT-ALCT-DDU.

Date:
2008/10/29 18:34:40
Revision:
1.7
Author:
N. Terentiev, CMU

Digi for RPC data coming thru RAT-ALCT-DDU.

Date:
2008/10/29 18:34:41
Revision:
1.7
Author:
N. Terentiev, CMU

Definition at line 17 of file CSCRPCDigi.h.


Constructor & Destructor Documentation

CSCRPCDigi::CSCRPCDigi ( int  rpc,
int  pad,
int  bxn,
int  tbin 
)

Constructors.

Definition at line 17 of file CSCRPCDigi.cc.

References bxn_, errorMatrix2Lands_multiChannel::pad, pad_, rpc_, and tbin_.

                                                          {
  rpc_ = rpc;
  pad_ = pad; 
  bxn_ = bxn;
  tbin_ = tbin;
}
CSCRPCDigi::CSCRPCDigi ( )

from the rpc#, pad#, bxn#, tbin#

Default.

Definition at line 25 of file CSCRPCDigi.cc.

References bxn_, pad_, rpc_, and tbin_.

                       {
  rpc_ = 0;
  pad_ = 0; 
  bxn_ = 0;
  tbin_ = 0;
}

Member Function Documentation

int CSCRPCDigi::getBXN ( ) const [inline]

return BXN

Definition at line 32 of file CSCRPCDigi.h.

References bxn_.

Referenced by operator<<(), and print().

{return bxn_;}
int CSCRPCDigi::getPad ( ) const [inline]

return pad number

Definition at line 28 of file CSCRPCDigi.h.

References pad_.

Referenced by operator<<(), and print().

{return pad_;}
int CSCRPCDigi::getRpc ( ) const [inline]

default

get RPC

Definition at line 26 of file CSCRPCDigi.h.

References rpc_.

Referenced by operator<<(), and print().

{return rpc_;}
int CSCRPCDigi::getTbin ( ) const [inline]

return tbin number

Definition at line 30 of file CSCRPCDigi.h.

References tbin_.

Referenced by operator<<(), and print().

{return tbin_;}
void CSCRPCDigi::print ( void  ) const

Print content of digi.

Debug.

Definition at line 33 of file CSCRPCDigi.cc.

References gather_cfg::cout, getBXN(), getPad(), getRpc(), and getTbin().

                             {
  std::cout << "RPC = " << getRpc()
            << "  Pad = " << getPad()
            << "  Tbin = " << getTbin() 
            << "  BXN = " << getBXN() << std::endl;
}

Member Data Documentation

uint16_t CSCRPCDigi::bxn_ [private]

Definition at line 41 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getBXN().

uint16_t CSCRPCDigi::pad_ [private]

Definition at line 40 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getPad().

uint16_t CSCRPCDigi::rpc_ [private]

Definition at line 39 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getRpc().

uint16_t CSCRPCDigi::tbin_ [private]

Definition at line 42 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getTbin().