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 ()
 
 RPC (uint64_t dataword)
 
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){};

◆ ~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.

39 { format_errors += 1; }

References format_errors.

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

◆ BC0()

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

Definition at line 48 of file RPC.h.

48 { return bc0; }

References bc0.

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

◆ Dataword()

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

Definition at line 52 of file RPC.h.

52 { return dataword; }

References dataword.

◆ Format_errors()

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

Definition at line 51 of file RPC.h.

51 { return format_errors; }

References format_errors.

◆ Frame()

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

Definition at line 45 of file RPC.h.

45 { return frame; }

References frame.

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

◆ Link()

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

Definition at line 46 of file RPC.h.

46 { return link; }

References link.

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

◆ Phi()

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

Definition at line 42 of file RPC.h.

42 { return phi; }

References phi.

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

◆ RPC_BXN()

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

Definition at line 47 of file RPC.h.

47 { return rpc_bxn; }

References rpc_bxn.

◆ set_bc0()

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

Definition at line 36 of file RPC.h.

36 { bc0 = bits; }

References bc0.

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

◆ set_dataword()

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

Definition at line 40 of file RPC.h.

40 { dataword = bits; }

References dataword.

◆ set_frame()

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

Definition at line 33 of file RPC.h.

33 { frame = bits; }

References frame.

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

◆ set_link()

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

Definition at line 34 of file RPC.h.

34 { link = bits; }

References link.

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

◆ set_phi()

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

Definition at line 30 of file RPC.h.

30 { phi = bits; }

References phi.

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

◆ set_rpc_bxn()

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

Definition at line 35 of file RPC.h.

35 { rpc_bxn = bits; }

References rpc_bxn.

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

◆ set_tbin()

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

Definition at line 37 of file RPC.h.

37 { tbin = bits; }

References tbin.

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

◆ set_theta()

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

Definition at line 31 of file RPC.h.

31 { theta = bits; }

References theta.

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

◆ set_vp()

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

Definition at line 38 of file RPC.h.

38 { vp = bits; }

References vp.

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

◆ set_word()

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

Definition at line 32 of file RPC.h.

32 { word = bits; }

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

◆ TBIN()

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

Definition at line 49 of file RPC.h.

49 { return tbin; }

References tbin.

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

◆ Theta()

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

Definition at line 43 of file RPC.h.

43 { return theta; }

References theta.

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

◆ VP()

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

Definition at line 50 of file RPC.h.

50 { return vp; }

References vp.

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

◆ Word()

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

Definition at line 44 of file RPC.h.

44 { return word; }

References word.

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

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(), and set_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

Definition at line 55 of file RPC.h.

Referenced by Particle.Particle::__str__(), Phi(), ntupleDataFormat.Track::phiPull(), and set_phi().

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

l1t::emtf::RPC::link
int link
Definition: RPC.h:59
l1t::emtf::RPC::bc0
int bc0
Definition: RPC.h:61
l1t::emtf::RPC::frame
int frame
Definition: RPC.h:58
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
l1t::emtf::RPC::word
int word
Definition: RPC.h:57
l1t::emtf::RPC::dataword
uint64_t dataword
Definition: RPC.h:65
l1t::emtf::RPC::rpc_bxn
int rpc_bxn
Definition: RPC.h:60
l1t::emtf::RPC::theta
int theta
Definition: RPC.h:56
l1t::emtf::RPC::tbin
int tbin
Definition: RPC.h:62
l1t::emtf::RPC::phi
int phi
Definition: RPC.h:55
l1t::emtf::RPC::format_errors
int format_errors
Definition: RPC.h:64
l1t::emtf::RPC::vp
int vp
Definition: RPC.h:63