#include <CSCSP_SPblock.h>
Public Member Functions | |
unsigned int | bc0 (void) const throw () |
unsigned int | bx0 (void) const throw () |
unsigned int | charge (void) const throw () |
bool | check (void) const throw () |
CSCSP_SPblock (void) | |
unsigned int | deltaPhi12 (void) const throw () |
unsigned int | deltaPhi23 (void) const throw () |
std::vector< CSCSP_MBblock > | dtStub (void) const throw () |
unsigned int | eta (void) const throw () |
unsigned int | f_r (void) const throw () |
unsigned int | halo (void) const throw () |
unsigned int | id (void) const throw () |
std::vector< CSCSP_MEblock > | LCTs (void) const throw () |
unsigned int | MB_id (void) const throw () |
unsigned int | MB_tbin (void) const throw () |
unsigned int | ME1_id (void) const throw () |
unsigned int | ME1_tbin (void) const throw () |
unsigned int | ME2_id (void) const throw () |
unsigned int | ME2_tbin (void) const throw () |
unsigned int | ME3_id (void) const throw () |
unsigned int | ME3_tbin (void) const throw () |
unsigned int | ME4_id (void) const throw () |
unsigned int | ME4_tbin (void) const throw () |
unsigned int | mode (void) const throw () |
unsigned int | MS_id (void) const throw () |
unsigned int | phi (void) const throw () |
unsigned int | ptLUTaddress (void) const throw () |
unsigned int | sign (void) const throw () |
unsigned int | syncErr (void) const throw () |
unsigned int | tbin (void) const throw () |
bool | unpack (const unsigned short *&buf) throw () |
Private Attributes | |
unsigned | bc0_: 1 |
unsigned | bxn0_: 1 |
unsigned | charge_: 1 |
unsigned | deltaPhi12_: 8 |
unsigned | deltaPhi23_: 4 |
CSCSP_MBblock | dt_ |
bool | dtFilled |
unsigned | eta_: 5 |
unsigned | front_rear: 1 |
unsigned | halo_: 1 |
unsigned int | id_ |
CSCSP_MEblock | lct_ [4] |
bool | lctFilled [4] |
unsigned | mb_id: 3 |
unsigned | mb_tbin: 3 |
unsigned | me1_id: 3 |
unsigned | me1_tbin: 3 |
unsigned | me2_id: 2 |
unsigned | me2_tbin: 3 |
unsigned | me3_id: 2 |
unsigned | me3_tbin: 3 |
unsigned | me4_id: 2 |
unsigned | me4_tbin: 3 |
unsigned int | mode_ |
unsigned | ms_id: 3 |
unsigned | phi_: 5 |
unsigned | se: 1 |
unsigned | sign_: 1 |
unsigned int | tbin_ |
unsigned | zero_1: 1 |
unsigned | zero_2: 1 |
unsigned | zero_3: 1 |
unsigned | zero_4: 1 |
unsigned | zero_5: 1 |
Friends | |
class | CSCSPEvent |
class | CSCSPRecord |
class | CSCTFPacker |
Definition at line 8 of file CSCSP_SPblock.h.
CSCSP_SPblock::CSCSP_SPblock | ( | void | ) | [inline] |
Definition at line 110 of file CSCSP_SPblock.h.
{}
unsigned int CSCSP_SPblock::bc0 | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::bx0 | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::charge | ( | void | ) | const throw () [inline] |
bool CSCSP_SPblock::check | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::deltaPhi12 | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::deltaPhi23 | ( | void | ) | const throw () [inline] |
std::vector<CSCSP_MBblock> CSCSP_SPblock::dtStub | ( | void | ) | const throw () [inline] |
Definition at line 99 of file CSCSP_SPblock.h.
References dt_, dtFilled, and query::result.
unsigned int CSCSP_SPblock::eta | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::f_r | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::halo | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::id | ( | void | ) | const throw () [inline] |
std::vector<CSCSP_MEblock> CSCSP_SPblock::LCTs | ( | void | ) | const throw () [inline] |
Definition at line 91 of file CSCSP_SPblock.h.
References lct_, lctFilled, query::result, and relativeConstraints::station.
unsigned int CSCSP_SPblock::MB_id | ( | void | ) | const throw () [inline] |
Definition at line 78 of file CSCSP_SPblock.h.
References mb_id.
Referenced by CSCSPEvent::unpack().
{ return mb_id; }
unsigned int CSCSP_SPblock::MB_tbin | ( | void | ) | const throw () [inline] |
Definition at line 85 of file CSCSP_SPblock.h.
References mb_tbin.
Referenced by CSCSPEvent::unpack().
{ return mb_tbin; }
unsigned int CSCSP_SPblock::ME1_id | ( | void | ) | const throw () [inline] |
Definition at line 74 of file CSCSP_SPblock.h.
References me1_id.
Referenced by CSCSPEvent::unpack().
{ return me1_id; }
unsigned int CSCSP_SPblock::ME1_tbin | ( | void | ) | const throw () [inline] |
Definition at line 81 of file CSCSP_SPblock.h.
References me1_tbin.
Referenced by CSCSPEvent::unpack().
{ return me1_tbin; }
unsigned int CSCSP_SPblock::ME2_id | ( | void | ) | const throw () [inline] |
Definition at line 75 of file CSCSP_SPblock.h.
References me2_id.
Referenced by CSCSPEvent::unpack().
{ return me2_id; }
unsigned int CSCSP_SPblock::ME2_tbin | ( | void | ) | const throw () [inline] |
Definition at line 82 of file CSCSP_SPblock.h.
References me2_tbin.
Referenced by CSCSPEvent::unpack().
{ return me2_tbin; }
unsigned int CSCSP_SPblock::ME3_id | ( | void | ) | const throw () [inline] |
Definition at line 76 of file CSCSP_SPblock.h.
References me3_id.
Referenced by CSCSPEvent::unpack().
{ return me3_id; }
unsigned int CSCSP_SPblock::ME3_tbin | ( | void | ) | const throw () [inline] |
Definition at line 83 of file CSCSP_SPblock.h.
References me3_tbin.
Referenced by CSCSPEvent::unpack().
{ return me3_tbin; }
unsigned int CSCSP_SPblock::ME4_id | ( | void | ) | const throw () [inline] |
Definition at line 77 of file CSCSP_SPblock.h.
References me4_id.
Referenced by CSCSPEvent::unpack().
{ return me4_id; }
unsigned int CSCSP_SPblock::ME4_tbin | ( | void | ) | const throw () [inline] |
Definition at line 84 of file CSCSP_SPblock.h.
References me4_tbin.
Referenced by CSCSPEvent::unpack().
{ return me4_tbin; }
unsigned int CSCSP_SPblock::mode | ( | void | ) | const throw () [inline] |
Definition at line 106 of file CSCSP_SPblock.h.
References mode_.
Referenced by CSCSPEvent::unpack().
{ return mode_; }
unsigned int CSCSP_SPblock::MS_id | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::phi | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::ptLUTaddress | ( | void | ) | const throw () [inline] |
Definition at line 105 of file CSCSP_SPblock.h.
References deltaPhi12_, deltaPhi23_, eta_, mode_, and sign_.
{ return (sign_<<20) | (mode_<<16) | ((eta_&0x1E)<<11) | (deltaPhi23_<<8) | deltaPhi12_; }
unsigned int CSCSP_SPblock::sign | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::syncErr | ( | void | ) | const throw () [inline] |
unsigned int CSCSP_SPblock::tbin | ( | void | ) | const throw () [inline] |
bool CSCSP_SPblock::unpack | ( | const unsigned short *& | buf | ) | throw () [inline] |
Definition at line 108 of file CSCSP_SPblock.h.
References check().
{ memcpy((void*)this,buf,4*sizeof(short)); buf+=4; return check(); }
friend class CSCSPEvent [friend] |
Definition at line 44 of file CSCSP_SPblock.h.
friend class CSCSPRecord [friend] |
Definition at line 52 of file CSCSP_SPblock.h.
friend class CSCTFPacker [friend] |
Definition at line 53 of file CSCSP_SPblock.h.
unsigned CSCSP_SPblock::bc0_ [private] |
Definition at line 24 of file CSCSP_SPblock.h.
Referenced by bc0(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::bxn0_ [private] |
Definition at line 23 of file CSCSP_SPblock.h.
Referenced by bx0(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::charge_ [private] |
Definition at line 14 of file CSCSP_SPblock.h.
Referenced by charge(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::deltaPhi12_ [private] |
Definition at line 20 of file CSCSP_SPblock.h.
Referenced by deltaPhi12(), CSCTFPacker::produce(), and ptLUTaddress().
unsigned CSCSP_SPblock::deltaPhi23_ [private] |
Definition at line 21 of file CSCSP_SPblock.h.
Referenced by deltaPhi23(), CSCTFPacker::produce(), and ptLUTaddress().
CSCSP_MBblock CSCSP_SPblock::dt_ [private] |
Definition at line 46 of file CSCSP_SPblock.h.
Referenced by dtStub(), and CSCSPEvent::unpack().
bool CSCSP_SPblock::dtFilled [private] |
Definition at line 48 of file CSCSP_SPblock.h.
Referenced by dtStub(), and CSCSPEvent::unpack().
unsigned CSCSP_SPblock::eta_ [private] |
Definition at line 15 of file CSCSP_SPblock.h.
Referenced by eta(), CSCTFPacker::produce(), and ptLUTaddress().
unsigned CSCSP_SPblock::front_rear [private] |
Definition at line 13 of file CSCSP_SPblock.h.
Referenced by f_r(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::halo_ [private] |
Definition at line 16 of file CSCSP_SPblock.h.
Referenced by halo(), and CSCTFPacker::produce().
unsigned int CSCSP_SPblock::id_ [private] |
Definition at line 56 of file CSCSP_SPblock.h.
Referenced by id(), and CSCTFPacker::produce().
CSCSP_MEblock CSCSP_SPblock::lct_[4] [private] |
Definition at line 45 of file CSCSP_SPblock.h.
Referenced by LCTs(), and CSCSPEvent::unpack().
bool CSCSP_SPblock::lctFilled[4] [private] |
Definition at line 48 of file CSCSP_SPblock.h.
Referenced by LCTs(), and CSCSPEvent::unpack().
unsigned CSCSP_SPblock::mb_id [private] |
Definition at line 31 of file CSCSP_SPblock.h.
Referenced by MB_id(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::mb_tbin [private] |
Definition at line 39 of file CSCSP_SPblock.h.
Referenced by MB_tbin(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me1_id [private] |
Definition at line 27 of file CSCSP_SPblock.h.
Referenced by ME1_id(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me1_tbin [private] |
Definition at line 35 of file CSCSP_SPblock.h.
Referenced by ME1_tbin(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me2_id [private] |
Definition at line 28 of file CSCSP_SPblock.h.
Referenced by ME2_id(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me2_tbin [private] |
Definition at line 36 of file CSCSP_SPblock.h.
Referenced by ME2_tbin(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me3_id [private] |
Definition at line 29 of file CSCSP_SPblock.h.
Referenced by ME3_id(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me3_tbin [private] |
Definition at line 37 of file CSCSP_SPblock.h.
Referenced by ME3_tbin(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me4_id [private] |
Definition at line 30 of file CSCSP_SPblock.h.
Referenced by ME4_id(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::me4_tbin [private] |
Definition at line 38 of file CSCSP_SPblock.h.
Referenced by ME4_tbin(), and CSCTFPacker::produce().
unsigned int CSCSP_SPblock::mode_ [private] |
Definition at line 55 of file CSCSP_SPblock.h.
Referenced by mode(), and ptLUTaddress().
unsigned CSCSP_SPblock::ms_id [private] |
Definition at line 32 of file CSCSP_SPblock.h.
Referenced by MS_id(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::phi_ [private] |
Definition at line 11 of file CSCSP_SPblock.h.
Referenced by phi(), and CSCTFPacker::produce().
unsigned CSCSP_SPblock::se [private] |
Definition at line 17 of file CSCSP_SPblock.h.
Referenced by CSCTFPacker::produce(), and syncErr().
unsigned CSCSP_SPblock::sign_ [private] |
Definition at line 12 of file CSCSP_SPblock.h.
Referenced by CSCTFPacker::produce(), ptLUTaddress(), and sign().
unsigned int CSCSP_SPblock::tbin_ [private] |
Definition at line 54 of file CSCSP_SPblock.h.
Referenced by tbin().
unsigned CSCSP_SPblock::zero_1 [private] |
Definition at line 18 of file CSCSP_SPblock.h.
Referenced by check().
unsigned CSCSP_SPblock::zero_2 [private] |
Definition at line 22 of file CSCSP_SPblock.h.
Referenced by check().
unsigned CSCSP_SPblock::zero_3 [private] |
Definition at line 25 of file CSCSP_SPblock.h.
Referenced by check().
unsigned CSCSP_SPblock::zero_4 [private] |
Definition at line 33 of file CSCSP_SPblock.h.
Referenced by check().
unsigned CSCSP_SPblock::zero_5 [private] |
Definition at line 40 of file CSCSP_SPblock.h.
Referenced by check().