CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CSCRPCDigi Class Reference

#include <CSCRPCDigi.h>

Public Member Functions

 CSCRPCDigi ()
 from the rpc#, pad#, bxn#, tbin# More...
 
 CSCRPCDigi (int rpc, int pad, int bxn, int tbin)
 Constructors. 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() [1/2]

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

Constructors.

Definition at line 15 of file CSCRPCDigi.cc.

15  {
16  rpc_ = rpc;
17  pad_ = pad;
18  bxn_ = bxn;
19  tbin_ = tbin;
20 }

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

◆ CSCRPCDigi() [2/2]

CSCRPCDigi::CSCRPCDigi ( )

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

Default.

Definition at line 23 of file CSCRPCDigi.cc.

23  {
24  rpc_ = 0;
25  pad_ = 0;
26  bxn_ = 0;
27  tbin_ = 0;
28 }

References bxn_, pad_, rpc_, and tbin_.

Member Function Documentation

◆ getBXN()

int CSCRPCDigi::getBXN ( ) const
inline

return BXN

Definition at line 28 of file CSCRPCDigi.h.

28 { return bxn_; }

References bxn_.

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

◆ getPad()

int CSCRPCDigi::getPad ( ) const
inline

return pad number

Definition at line 24 of file CSCRPCDigi.h.

24 { return pad_; }

References pad_.

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

◆ getRpc()

int CSCRPCDigi::getRpc ( ) const
inline

default

get RPC

Definition at line 22 of file CSCRPCDigi.h.

22 { return rpc_; }

References rpc_.

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

◆ getTbin()

int CSCRPCDigi::getTbin ( ) const
inline

return tbin number

Definition at line 26 of file CSCRPCDigi.h.

26 { return tbin_; }

References tbin_.

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

◆ print()

void CSCRPCDigi::print ( void  ) const

Print content of digi.

Debug.

Definition at line 31 of file CSCRPCDigi.cc.

31  {
32  edm::LogVerbatim("CSCDigi") << "CSCRPCDigi | rpc " << getRpc() << " | pad " << getPad() << " | tbin " << getTbin()
33  << " | bxn " << getBXN();
34 }

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

Member Data Documentation

◆ bxn_

uint16_t CSCRPCDigi::bxn_
private

Definition at line 36 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getBXN().

◆ pad_

uint16_t CSCRPCDigi::pad_
private

Definition at line 35 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getPad().

◆ rpc_

uint16_t CSCRPCDigi::rpc_
private

Definition at line 34 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getRpc().

◆ tbin_

uint16_t CSCRPCDigi::tbin_
private

Definition at line 37 of file CSCRPCDigi.h.

Referenced by CSCRPCDigi(), and getTbin().

CSCRPCDigi::getRpc
int getRpc() const
default
Definition: CSCRPCDigi.h:22
CSCRPCDigi::rpc_
uint16_t rpc_
Definition: CSCRPCDigi.h:34
CSCRPCDigi::getTbin
int getTbin() const
return tbin number
Definition: CSCRPCDigi.h:26
CSCRPCDigi::pad_
uint16_t pad_
Definition: CSCRPCDigi.h:35
CSCRPCDigi::bxn_
uint16_t bxn_
Definition: CSCRPCDigi.h:36
CSCRPCDigi::tbin_
uint16_t tbin_
Definition: CSCRPCDigi.h:37
CSCRPCDigi::getBXN
int getBXN() const
return BXN
Definition: CSCRPCDigi.h:28
CSCRPCDigi::getPad
int getPad() const
return pad number
Definition: CSCRPCDigi.h:24
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
omtf::DataWord64::rpc
Definition: OmtfDataWord64.h:16