CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CSCRPCDigi Class Reference

#include <CSCRPCDigi.h>

Public Member Functions

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

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_.

17  {
18  rpc_ = rpc;
19  pad_ = pad;
20  bxn_ = bxn;
21  tbin_ = tbin;
22 }
uint16_t rpc_
Definition: CSCRPCDigi.h:39
uint16_t pad_
Definition: CSCRPCDigi.h:40
uint16_t bxn_
Definition: CSCRPCDigi.h:41
uint16_t tbin_
Definition: CSCRPCDigi.h:42
CSCRPCDigi::CSCRPCDigi ( )

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

Default.

Definition at line 25 of file CSCRPCDigi.cc.

References bxn_, pad_, rpc_, and tbin_.

25  {
26  rpc_ = 0;
27  pad_ = 0;
28  bxn_ = 0;
29  tbin_ = 0;
30 }
uint16_t rpc_
Definition: CSCRPCDigi.h:39
uint16_t pad_
Definition: CSCRPCDigi.h:40
uint16_t bxn_
Definition: CSCRPCDigi.h:41
uint16_t tbin_
Definition: CSCRPCDigi.h:42

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().

32 {return bxn_;}
uint16_t bxn_
Definition: CSCRPCDigi.h:41
int CSCRPCDigi::getPad ( ) const
inline

return pad number

Definition at line 28 of file CSCRPCDigi.h.

References pad_.

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

28 {return pad_;}
uint16_t pad_
Definition: CSCRPCDigi.h:40
int CSCRPCDigi::getRpc ( ) const
inline

default

get RPC

Definition at line 26 of file CSCRPCDigi.h.

References rpc_.

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

26 {return rpc_;}
uint16_t rpc_
Definition: CSCRPCDigi.h:39
int CSCRPCDigi::getTbin ( ) const
inline

return tbin number

Definition at line 30 of file CSCRPCDigi.h.

References tbin_.

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

30 {return tbin_;}
uint16_t tbin_
Definition: CSCRPCDigi.h:42
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().

33  {
34  std::cout << "RPC = " << getRpc()
35  << " Pad = " << getPad()
36  << " Tbin = " << getTbin()
37  << " BXN = " << getBXN() << std::endl;
38 }
int getPad() const
return pad number
Definition: CSCRPCDigi.h:28
int getRpc() const
default
Definition: CSCRPCDigi.h:26
int getTbin() const
return tbin number
Definition: CSCRPCDigi.h:30
int getBXN() const
return BXN
Definition: CSCRPCDigi.h:32
tuple cout
Definition: gather_cfg.py:121

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().