CMS 3D CMS Logo

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 15 of file CSCRPCDigi.cc.

References bxn_, pad_, omtf::DataWord64::rpc, rpc_, and tbin_.

15  {
16  rpc_ = rpc;
17  pad_ = pad;
18  bxn_ = bxn;
19  tbin_ = tbin;
20 }
uint16_t rpc_
Definition: CSCRPCDigi.h:34
uint16_t pad_
Definition: CSCRPCDigi.h:35
uint16_t bxn_
Definition: CSCRPCDigi.h:36
uint16_t tbin_
Definition: CSCRPCDigi.h:37
CSCRPCDigi::CSCRPCDigi ( )

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

Default.

Definition at line 23 of file CSCRPCDigi.cc.

References bxn_, pad_, rpc_, and tbin_.

23  {
24  rpc_ = 0;
25  pad_ = 0;
26  bxn_ = 0;
27  tbin_ = 0;
28 }
uint16_t rpc_
Definition: CSCRPCDigi.h:34
uint16_t pad_
Definition: CSCRPCDigi.h:35
uint16_t bxn_
Definition: CSCRPCDigi.h:36
uint16_t tbin_
Definition: CSCRPCDigi.h:37

Member Function Documentation

int CSCRPCDigi::getBXN ( ) const
inline

return BXN

Definition at line 28 of file CSCRPCDigi.h.

References bxn_, and print().

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

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

return pad number

Definition at line 24 of file CSCRPCDigi.h.

References pad_.

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

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

default

get RPC

Definition at line 22 of file CSCRPCDigi.h.

References rpc_.

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

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

return tbin number

Definition at line 26 of file CSCRPCDigi.h.

References tbin_.

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

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

Print content of digi.

Debug.

Definition at line 31 of file CSCRPCDigi.cc.

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

Referenced by getBXN().

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

Member Data Documentation

uint16_t CSCRPCDigi::bxn_
private

Definition at line 36 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getBXN().

uint16_t CSCRPCDigi::pad_
private

Definition at line 35 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getPad().

uint16_t CSCRPCDigi::rpc_
private

Definition at line 34 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getRpc().

uint16_t CSCRPCDigi::tbin_
private

Definition at line 37 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getTbin().