CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::emtf::RPC Class Reference

#include <RPC.h>

Public Member Functions

void add_format_error ()
 
int BC0 () const
 
uint64_t Dataword () const
 
int Format_errors () const
 
int Frame () const
 
int Link () const
 
int Phi () const
 
 RPC (uint64_t dataword)
 
 RPC ()
 
int RPC_BXN () const
 
void set_bc0 (int bits)
 
void set_dataword (uint64_t bits)
 
void set_frame (int bits)
 
void set_link (int bits)
 
void set_phi (int bits)
 
void set_rpc_bxn (int bits)
 
void set_tbin (int bits)
 
void set_theta (int bits)
 
void set_vp (int bits)
 
void set_word (int bits)
 
int TBIN () const
 
int Theta () const
 
int VP () const
 
int Word () const
 
virtual ~RPC ()
 

Private Attributes

int bc0
 
uint64_t dataword
 
int format_errors
 
int frame
 
int link
 
int phi
 
int rpc_bxn
 
int tbin
 
int theta
 
int vp
 
int word
 

Detailed Description

Definition at line 11 of file RPC.h.

Constructor & Destructor Documentation

◆ RPC() [1/2]

l1t::emtf::RPC::RPC ( uint64_t  dataword)
explicit

◆ RPC() [2/2]

l1t::emtf::RPC::RPC ( )
inline

Definition at line 15 of file RPC.h.

16  : phi(-99),
17  theta(-99),
18  word(-99),
19  frame(-99),
20  link(-99),
21  rpc_bxn(-99),
22  bc0(-99),
23  tbin(-99),
24  vp(-99),
25  format_errors(0),
26  dataword(-99){};
int theta
Definition: RPC.h:56
int tbin
Definition: RPC.h:62
int link
Definition: RPC.h:59
int frame
Definition: RPC.h:58
int rpc_bxn
Definition: RPC.h:60
int phi
Definition: RPC.h:55
int format_errors
Definition: RPC.h:64
int word
Definition: RPC.h:57
int bc0
Definition: RPC.h:61
int vp
Definition: RPC.h:63
uint64_t dataword
Definition: RPC.h:65

◆ ~RPC()

virtual l1t::emtf::RPC::~RPC ( )
inlinevirtual

Definition at line 28 of file RPC.h.

28 {};

Member Function Documentation

◆ add_format_error()

void l1t::emtf::RPC::add_format_error ( )
inline

Definition at line 39 of file RPC.h.

References format_errors.

Referenced by l1t::stage2::emtf::RPCBlockUnpacker::unpack().

39 { format_errors += 1; }
int format_errors
Definition: RPC.h:64

◆ BC0()

int l1t::emtf::RPC::BC0 ( ) const
inline

Definition at line 48 of file RPC.h.

References bc0.

Referenced by l1t::stage2::emtf::ImportRPC().

48 { return bc0; }
int bc0
Definition: RPC.h:61

◆ Dataword()

uint64_t l1t::emtf::RPC::Dataword ( ) const
inline

Definition at line 52 of file RPC.h.

References dataword.

52 { return dataword; }
uint64_t dataword
Definition: RPC.h:65

◆ Format_errors()

int l1t::emtf::RPC::Format_errors ( ) const
inline

Definition at line 51 of file RPC.h.

References format_errors.

51 { return format_errors; }
int format_errors
Definition: RPC.h:64

◆ Frame()

int l1t::emtf::RPC::Frame ( ) const
inline

Definition at line 45 of file RPC.h.

References frame.

Referenced by l1t::stage2::emtf::RPCBlockUnpacker::unpack().

45 { return frame; }
int frame
Definition: RPC.h:58

◆ Link()

int l1t::emtf::RPC::Link ( ) const
inline

Definition at line 46 of file RPC.h.

References link.

Referenced by l1t::stage2::emtf::RPCBlockUnpacker::unpack().

46 { return link; }
int link
Definition: RPC.h:59

◆ Phi()

int l1t::emtf::RPC::Phi ( ) const
inline

Definition at line 42 of file RPC.h.

References phi.

Referenced by l1t::stage2::emtf::ImportRPC().

42 { return phi; }
int phi
Definition: RPC.h:55

◆ RPC_BXN()

int l1t::emtf::RPC::RPC_BXN ( ) const
inline

Definition at line 47 of file RPC.h.

References rpc_bxn.

47 { return rpc_bxn; }
int rpc_bxn
Definition: RPC.h:60

◆ set_bc0()

void l1t::emtf::RPC::set_bc0 ( int  bits)
inline

◆ set_dataword()

void l1t::emtf::RPC::set_dataword ( uint64_t  bits)
inline

◆ set_frame()

void l1t::emtf::RPC::set_frame ( int  bits)
inline

◆ set_link()

void l1t::emtf::RPC::set_link ( int  bits)
inline

◆ set_phi()

void l1t::emtf::RPC::set_phi ( int  bits)
inline

◆ set_rpc_bxn()

void l1t::emtf::RPC::set_rpc_bxn ( int  bits)
inline

◆ set_tbin()

void l1t::emtf::RPC::set_tbin ( int  bits)
inline

◆ set_theta()

void l1t::emtf::RPC::set_theta ( int  bits)
inline

◆ set_vp()

void l1t::emtf::RPC::set_vp ( int  bits)
inline

◆ set_word()

void l1t::emtf::RPC::set_word ( int  bits)
inline

◆ TBIN()

int l1t::emtf::RPC::TBIN ( ) const
inline

Definition at line 49 of file RPC.h.

References tbin.

Referenced by l1t::stage2::emtf::ImportRPC().

49 { return tbin; }
int tbin
Definition: RPC.h:62

◆ Theta()

int l1t::emtf::RPC::Theta ( ) const
inline

Definition at line 43 of file RPC.h.

References theta.

Referenced by l1t::stage2::emtf::ImportRPC().

43 { return theta; }
int theta
Definition: RPC.h:56

◆ VP()

int l1t::emtf::RPC::VP ( ) const
inline

Definition at line 50 of file RPC.h.

References vp.

Referenced by l1t::stage2::emtf::ImportRPC().

50 { return vp; }
int vp
Definition: RPC.h:63

◆ Word()

int l1t::emtf::RPC::Word ( ) const
inline

Definition at line 44 of file RPC.h.

References word.

Referenced by l1t::stage2::emtf::RPCBlockUnpacker::unpack().

44 { return word; }
int word
Definition: RPC.h:57

Member Data Documentation

◆ bc0

int l1t::emtf::RPC::bc0
private

Definition at line 61 of file RPC.h.

Referenced by BC0(), and set_bc0().

◆ dataword

uint64_t l1t::emtf::RPC::dataword
private

Definition at line 65 of file RPC.h.

Referenced by Dataword(), and set_dataword().

◆ format_errors

int l1t::emtf::RPC::format_errors
private

Definition at line 64 of file RPC.h.

Referenced by add_format_error(), and Format_errors().

◆ frame

int l1t::emtf::RPC::frame
private

Definition at line 58 of file RPC.h.

Referenced by Frame().

◆ link

int l1t::emtf::RPC::link
private

Definition at line 59 of file RPC.h.

Referenced by Link(), and set_link().

◆ phi

int l1t::emtf::RPC::phi
private

◆ rpc_bxn

int l1t::emtf::RPC::rpc_bxn
private

Definition at line 60 of file RPC.h.

Referenced by RPC_BXN(), and set_rpc_bxn().

◆ tbin

int l1t::emtf::RPC::tbin
private

Definition at line 62 of file RPC.h.

Referenced by set_tbin(), and TBIN().

◆ theta

int l1t::emtf::RPC::theta
private

Definition at line 56 of file RPC.h.

Referenced by set_theta(), Theta(), and Tau.Tau::zImpact().

◆ vp

int l1t::emtf::RPC::vp
private

Definition at line 63 of file RPC.h.

Referenced by set_vp(), and VP().

◆ word

int l1t::emtf::RPC::word
private

Definition at line 57 of file RPC.h.

Referenced by Word().