#include <EventFilter/CSCTFRawToDigi/src/CSCSP_MEblock.h>
Public Types | |
enum | AF { EMPTY = 1, FULL = 2 } |
enum | RS { IDLE_CHARs = 0, CARRIER_EXTEND = 1, NORMAL_DATA = 2, ERROR_PROP = 3 } |
Public Member Functions | |
unsigned int | af (void) const throw () |
unsigned int | aligment_fifo (void) const throw () |
unsigned int | bc0 (void) const throw () |
unsigned int | bx0 (void) const throw () |
unsigned int | BXN (void) const throw () |
bool | check (void) const throw () |
unsigned int | csc (void) const throw () |
CSCSP_MEblock (void) | |
unsigned int | errCnt (void) const throw () |
unsigned int | l_r (void) const throw () |
unsigned int | link (void) const throw () |
unsigned int | mpc (void) const throw () |
unsigned int | pattern (void) const throw () |
unsigned int | quality (void) const throw () |
unsigned int | receiver_status_frame1 (void) const throw () |
unsigned int | receiver_status_frame2 (void) const throw () |
unsigned int | se (void) const throw () |
unsigned int | sm (void) const throw () |
unsigned int | spInput (void) const throw () |
unsigned int | strip (void) const throw () |
unsigned int | tbin (void) const throw () |
unsigned int | timingError (void) const throw () |
bool | unpack (const unsigned short *&buf) throw () |
unsigned int | vp (void) const throw () |
unsigned int | wireGroup (void) const throw () |
Private Attributes | |
unsigned | aligment_fifo_empty: 1 |
unsigned | aligment_fifo_full: 1 |
unsigned int | alignment_fifo |
unsigned | bc0_: 1 |
unsigned | bx0_: 1 |
unsigned int | bxBit |
unsigned | clct_pattern_id: 8 |
unsigned | clct_pattern_number: 4 |
unsigned | csc_id: 4 |
unsigned | err_prop_cnt: 4 |
unsigned | left_right: 1 |
unsigned | link_id: 2 |
unsigned | me_bxn: 12 |
unsigned | mpc_id: 6 |
unsigned | quality_: 4 |
unsigned | receiver_status_dv1: 1 |
unsigned | receiver_status_dv2: 1 |
unsigned | receiver_status_er1: 1 |
unsigned | receiver_status_er2: 1 |
unsigned int | spInput_ |
unsigned int | sync_error |
unsigned int | sync_modified |
unsigned int | tbin_ |
unsigned int | valid_pattern |
unsigned | wire_group_id: 7 |
unsigned | zero_1: 1 |
unsigned | zero_2: 1 |
unsigned | zero_3: 1 |
unsigned | zero_4: 1 |
Friends | |
class | CSCSPRecord |
class | CSCTFPacker |
Definition at line 4 of file CSCSP_MEblock.h.
enum CSCSP_MEblock::AF |
enum CSCSP_MEblock::RS |
Definition at line 74 of file CSCSP_MEblock.h.
00074 { IDLE_CHARs=0, CARRIER_EXTEND=1, NORMAL_DATA=2, ERROR_PROP=3 };
CSCSP_MEblock::CSCSP_MEblock | ( | void | ) | [inline] |
Definition at line 84 of file CSCSP_MEblock.h.
References alignment_fifo.
00084 { return alignment_fifo;}
Definition at line 72 of file CSCSP_MEblock.h.
References aligment_fifo_empty, and aligment_fifo_full.
00072 { return (aligment_fifo_full<<1)|aligment_fifo_empty; }
Definition at line 78 of file CSCSP_MEblock.h.
References err_prop_cnt.
00078 { return err_prop_cnt; }
Definition at line 69 of file CSCSP_MEblock.h.
References clct_pattern_number.
00069 { return clct_pattern_number; }
Definition at line 75 of file CSCSP_MEblock.h.
References receiver_status_dv1, and receiver_status_er1.
00075 { return (receiver_status_dv1<<1)|receiver_status_er1; }
Definition at line 76 of file CSCSP_MEblock.h.
References receiver_status_dv2, and receiver_status_er2.
00076 { return (receiver_status_dv2<<1)|receiver_status_er2; }
Definition at line 83 of file CSCSP_MEblock.h.
References sync_modified.
00083 { return sync_modified; }
Definition at line 68 of file CSCSP_MEblock.h.
References clct_pattern_id.
00068 { return clct_pattern_id; }
bool CSCSP_MEblock::unpack | ( | const unsigned short *& | buf | ) | throw () [inline] |
Definition at line 87 of file CSCSP_MEblock.h.
References check().
00087 { memcpy((void*)this,buf,4*sizeof(short)); buf+=4; return check(); }
Definition at line 81 of file CSCSP_MEblock.h.
References valid_pattern.
00081 { return valid_pattern; }
Definition at line 67 of file CSCSP_MEblock.h.
References wire_group_id.
00067 { return wire_group_id; }
friend class CSCSPRecord [friend] |
Definition at line 42 of file CSCSP_MEblock.h.
friend class CSCTFPacker [friend] |
Definition at line 43 of file CSCSP_MEblock.h.
unsigned CSCSP_MEblock::aligment_fifo_empty [private] |
Definition at line 30 of file CSCSP_MEblock.h.
Referenced by aligment_fifo(), and CSCTFPacker::produce().
unsigned CSCSP_MEblock::aligment_fifo_full [private] |
Definition at line 22 of file CSCSP_MEblock.h.
Referenced by aligment_fifo(), and CSCTFPacker::produce().
unsigned int CSCSP_MEblock::alignment_fifo [private] |
unsigned CSCSP_MEblock::bc0_ [private] |
unsigned CSCSP_MEblock::bx0_ [private] |
unsigned int CSCSP_MEblock::bxBit [private] |
unsigned CSCSP_MEblock::clct_pattern_id [private] |
unsigned CSCSP_MEblock::clct_pattern_number [private] |
unsigned CSCSP_MEblock::csc_id [private] |
unsigned CSCSP_MEblock::err_prop_cnt [private] |
unsigned CSCSP_MEblock::left_right [private] |
unsigned CSCSP_MEblock::link_id [private] |
unsigned CSCSP_MEblock::me_bxn [private] |
unsigned CSCSP_MEblock::mpc_id [private] |
unsigned CSCSP_MEblock::quality_ [private] |
unsigned CSCSP_MEblock::receiver_status_dv1 [private] |
Definition at line 21 of file CSCSP_MEblock.h.
Referenced by CSCTFPacker::produce(), and receiver_status_frame1().
unsigned CSCSP_MEblock::receiver_status_dv2 [private] |
Definition at line 29 of file CSCSP_MEblock.h.
Referenced by CSCTFPacker::produce(), and receiver_status_frame2().
unsigned CSCSP_MEblock::receiver_status_er1 [private] |
Definition at line 20 of file CSCSP_MEblock.h.
Referenced by CSCTFPacker::produce(), and receiver_status_frame1().
unsigned CSCSP_MEblock::receiver_status_er2 [private] |
Definition at line 28 of file CSCSP_MEblock.h.
Referenced by CSCTFPacker::produce(), and receiver_status_frame2().
unsigned int CSCSP_MEblock::spInput_ [private] |
unsigned int CSCSP_MEblock::sync_error [private] |
unsigned int CSCSP_MEblock::sync_modified [private] |
unsigned int CSCSP_MEblock::tbin_ [private] |
unsigned int CSCSP_MEblock::valid_pattern [private] |
unsigned CSCSP_MEblock::wire_group_id [private] |
Definition at line 9 of file CSCSP_MEblock.h.
Referenced by CSCTFPacker::produce(), and wireGroup().
unsigned CSCSP_MEblock::zero_1 [private] |
unsigned CSCSP_MEblock::zero_2 [private] |
unsigned CSCSP_MEblock::zero_3 [private] |
unsigned CSCSP_MEblock::zero_4 [private] |