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
l1t::emtf::RPC Class Reference

#include <RPC.h>

Public Member Functions

void add_format_error ()
 
const int BC0 () const
 
const int BCN () const
 
const int BXN () const
 
const uint64_t Dataword () const
 
const int EOD () const
 
const int Format_Errors () const
 
const int LB () const
 
const int Link_number () const
 
const int Partition_data () const
 
const int Partition_num () const
 
const int PRT_delay () const
 
 RPC (uint64_t dataword)
 
 RPC ()
 
 RPC (int int_prt_delay, int int_partition_num, int int_partition_data, int int_bcn, int int_lb, int int_link_number, int int_bxn, int int_tbin, int int_eod, int int_bc0)
 
void set_bc0 (int bits)
 
void set_bcn (int bits)
 
void set_bxn (int bits)
 
void set_dataword (uint64_t bits)
 
void set_eod (int bits)
 
void set_lb (int bits)
 
void set_link_number (int bits)
 
void set_partition_data (int bits)
 
void set_partition_num (int bits)
 
void set_prt_delay (int bits)
 
void set_tbin (int bits)
 
const int Tbin () const
 
virtual ~RPC ()
 

Private Attributes

int bc0
 
int bcn
 
int bxn
 
uint64_t dataword
 
int eod
 
int format_errors
 
int lb
 
int link_number
 
int partition_data
 
int partition_num
 
int prt_delay
 
int tbin
 

Detailed Description

Definition at line 10 of file RPC.h.

Constructor & Destructor Documentation

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

Definition at line 15 of file RPC.h.

15  :
16  prt_delay(-99), partition_num(-99), partition_data(-99), bcn(-99), lb(-99), link_number(-99),
17  bxn(-99), tbin(-99), eod(-99), bc0(-99), format_errors(0), dataword(-99)
18  {};
int partition_num
Definition: RPC.h:56
int tbin
Definition: RPC.h:62
int lb
Definition: RPC.h:59
int prt_delay
Definition: RPC.h:52
int format_errors
Definition: RPC.h:65
int bcn
Definition: RPC.h:58
int bc0
Definition: RPC.h:64
int eod
Definition: RPC.h:63
int link_number
Definition: RPC.h:60
int bxn
Definition: RPC.h:61
int partition_data
Definition: RPC.h:57
uint64_t dataword
Definition: RPC.h:66
l1t::emtf::RPC::RPC ( int  int_prt_delay,
int  int_partition_num,
int  int_partition_data,
int  int_bcn,
int  int_lb,
int  int_link_number,
int  int_bxn,
int  int_tbin,
int  int_eod,
int  int_bc0 
)
inline

Definition at line 20 of file RPC.h.

21  :
22  prt_delay(int_prt_delay), partition_num(int_partition_num), partition_data(int_partition_data), bcn(int_bcn), lb(int_lb), link_number(int_link_number),
23  bxn(int_bxn), tbin(int_tbin), eod(int_eod), bc0(int_bc0), format_errors(0), dataword(-99)
24  {};
int partition_num
Definition: RPC.h:56
int tbin
Definition: RPC.h:62
int lb
Definition: RPC.h:59
int prt_delay
Definition: RPC.h:52
int format_errors
Definition: RPC.h:65
int bcn
Definition: RPC.h:58
int bc0
Definition: RPC.h:64
int eod
Definition: RPC.h:63
int link_number
Definition: RPC.h:60
int bxn
Definition: RPC.h:61
int partition_data
Definition: RPC.h:57
uint64_t dataword
Definition: RPC.h:66
virtual l1t::emtf::RPC::~RPC ( )
inlinevirtual

Definition at line 26 of file RPC.h.

26 {};

Member Function Documentation

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

Definition at line 38 of file RPC.h.

References format_errors.

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

38 { format_errors += 1; };
int format_errors
Definition: RPC.h:65
const int l1t::emtf::RPC::BC0 ( ) const
inline

Definition at line 50 of file RPC.h.

References bc0.

50 { return bc0 ; };
int bc0
Definition: RPC.h:64
const int l1t::emtf::RPC::BCN ( ) const
inline

Definition at line 44 of file RPC.h.

References bcn.

44 { return bcn ; };
int bcn
Definition: RPC.h:58
const int l1t::emtf::RPC::BXN ( void  ) const
inline

Definition at line 47 of file RPC.h.

References bxn.

47 { return bxn ; };
int bxn
Definition: RPC.h:61
const uint64_t l1t::emtf::RPC::Dataword ( ) const
inline

Definition at line 52 of file RPC.h.

52 { return dataword; };
uint64_t dataword
Definition: RPC.h:66
const int l1t::emtf::RPC::EOD ( ) const
inline

Definition at line 49 of file RPC.h.

References eod.

49 { return eod ; };
int eod
Definition: RPC.h:63
const int l1t::emtf::RPC::Format_Errors ( ) const
inline

Definition at line 51 of file RPC.h.

References format_errors.

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

51 { return format_errors; };
int format_errors
Definition: RPC.h:65
const int l1t::emtf::RPC::LB ( ) const
inline

Definition at line 45 of file RPC.h.

References lb.

45 { return lb ; };
int lb
Definition: RPC.h:59
const int l1t::emtf::RPC::Link_number ( ) const
inline

Definition at line 46 of file RPC.h.

References link_number.

46 { return link_number ; };
int link_number
Definition: RPC.h:60
const int l1t::emtf::RPC::Partition_data ( ) const
inline

Definition at line 43 of file RPC.h.

References partition_data.

43 { return partition_data ; };
int partition_data
Definition: RPC.h:57
const int l1t::emtf::RPC::Partition_num ( ) const
inline

Definition at line 42 of file RPC.h.

References partition_num.

42 { return partition_num ; };
int partition_num
Definition: RPC.h:56
const int l1t::emtf::RPC::PRT_delay ( ) const
inline

Definition at line 41 of file RPC.h.

References prt_delay.

41 { return prt_delay ; };
int prt_delay
Definition: RPC.h:52
void l1t::emtf::RPC::set_bc0 ( int  bits)
inline

Definition at line 37 of file RPC.h.

References bc0, and bits.

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

37 { bc0 = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int bc0
Definition: RPC.h:64
void l1t::emtf::RPC::set_bcn ( int  bits)
inline

Definition at line 31 of file RPC.h.

References bcn, and bits.

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

31 { bcn = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int bcn
Definition: RPC.h:58
void l1t::emtf::RPC::set_bxn ( int  bits)
inline

Definition at line 34 of file RPC.h.

References bits, and bxn.

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

34 { bxn = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int bxn
Definition: RPC.h:61
void l1t::emtf::RPC::set_dataword ( uint64_t  bits)
inline

Definition at line 39 of file RPC.h.

References bits.

39 { dataword = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
uint64_t dataword
Definition: RPC.h:66
void l1t::emtf::RPC::set_eod ( int  bits)
inline

Definition at line 36 of file RPC.h.

References bits, and eod.

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

36 { eod = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int eod
Definition: RPC.h:63
void l1t::emtf::RPC::set_lb ( int  bits)
inline

Definition at line 32 of file RPC.h.

References bits, and lb.

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

32 { lb = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int lb
Definition: RPC.h:59
void l1t::emtf::RPC::set_link_number ( int  bits)
inline

Definition at line 33 of file RPC.h.

References bits, and link_number.

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

33 { link_number = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int link_number
Definition: RPC.h:60
void l1t::emtf::RPC::set_partition_data ( int  bits)
inline

Definition at line 30 of file RPC.h.

References bits, and partition_data.

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

30 { partition_data = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int partition_data
Definition: RPC.h:57
void l1t::emtf::RPC::set_partition_num ( int  bits)
inline

Definition at line 29 of file RPC.h.

References bits, and partition_num.

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

29 { partition_num = bits; };
int partition_num
Definition: RPC.h:56
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
void l1t::emtf::RPC::set_prt_delay ( int  bits)
inline

Definition at line 28 of file RPC.h.

References bits, and prt_delay.

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

28 { prt_delay = bits; };
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
int prt_delay
Definition: RPC.h:52
void l1t::emtf::RPC::set_tbin ( int  bits)
inline

Definition at line 35 of file RPC.h.

References bits, and tbin.

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

35 { tbin = bits; };
int tbin
Definition: RPC.h:62
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
const int l1t::emtf::RPC::Tbin ( ) const
inline

Definition at line 48 of file RPC.h.

References tbin.

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

Member Data Documentation

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

Definition at line 64 of file RPC.h.

Referenced by BC0(), and set_bc0().

int l1t::emtf::RPC::bcn
private

Definition at line 58 of file RPC.h.

Referenced by BCN(), and set_bcn().

int l1t::emtf::RPC::bxn
private

Definition at line 61 of file RPC.h.

Referenced by BXN(), and set_bxn().

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

Definition at line 66 of file RPC.h.

int l1t::emtf::RPC::eod
private

Definition at line 63 of file RPC.h.

Referenced by EOD(), and set_eod().

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

Definition at line 65 of file RPC.h.

Referenced by add_format_error(), and Format_Errors().

int l1t::emtf::RPC::lb
private

Definition at line 59 of file RPC.h.

Referenced by LB(), and set_lb().

int l1t::emtf::RPC::link_number
private

Definition at line 60 of file RPC.h.

Referenced by Link_number(), and set_link_number().

int l1t::emtf::RPC::partition_data
private

Definition at line 57 of file RPC.h.

Referenced by Partition_data(), and set_partition_data().

int l1t::emtf::RPC::partition_num
private

Definition at line 56 of file RPC.h.

Referenced by Partition_num(), and set_partition_num().

int l1t::emtf::RPC::prt_delay
private

Definition at line 52 of file RPC.h.

Referenced by PRT_delay(), and set_prt_delay().

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

Definition at line 62 of file RPC.h.

Referenced by set_tbin(), and Tbin().