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.

Author
N. Terentiev, CMU

Definition at line 15 of file CSCRPCDigi.h.

Constructor & Destructor Documentation

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

Constructors.

Definition at line 16 of file CSCRPCDigi.cc.

References bxn_, pad_, rpc_, and tbin_.

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

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

Default.

Definition at line 24 of file CSCRPCDigi.cc.

References bxn_, pad_, rpc_, and tbin_.

24  {
25  rpc_ = 0;
26  pad_ = 0;
27  bxn_ = 0;
28  tbin_ = 0;
29 }
uint16_t rpc_
Definition: CSCRPCDigi.h:37
uint16_t pad_
Definition: CSCRPCDigi.h:38
uint16_t bxn_
Definition: CSCRPCDigi.h:39
uint16_t tbin_
Definition: CSCRPCDigi.h:40

Member Function Documentation

int CSCRPCDigi::getBXN ( ) const
inline

return BXN

Definition at line 30 of file CSCRPCDigi.h.

References bxn_.

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

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

return pad number

Definition at line 26 of file CSCRPCDigi.h.

References pad_.

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

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

default

get RPC

Definition at line 24 of file CSCRPCDigi.h.

References rpc_.

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

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

return tbin number

Definition at line 28 of file CSCRPCDigi.h.

References tbin_.

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

28 {return tbin_;}
uint16_t tbin_
Definition: CSCRPCDigi.h:40
void CSCRPCDigi::print ( void  ) const

Print content of digi.

Debug.

Definition at line 32 of file CSCRPCDigi.cc.

References getBXN(), getPad(), getRpc(), and getTbin().

32  {
33  edm::LogVerbatim("CSCDigi") << "CSCRPCDigi | rpc " << getRpc() << " | pad " << getPad()
34  << " | tbin " << getTbin() << " | bxn " << getBXN();
35 }
int getPad() const
return pad number
Definition: CSCRPCDigi.h:26
int getRpc() const
default
Definition: CSCRPCDigi.h:24
int getTbin() const
return tbin number
Definition: CSCRPCDigi.h:28
int getBXN() const
return BXN
Definition: CSCRPCDigi.h:30

Member Data Documentation

uint16_t CSCRPCDigi::bxn_
private

Definition at line 39 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getBXN().

uint16_t CSCRPCDigi::pad_
private

Definition at line 38 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getPad().

uint16_t CSCRPCDigi::rpc_
private

Definition at line 37 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getRpc().

uint16_t CSCRPCDigi::tbin_
private

Definition at line 40 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getTbin().