#include <L1Trigger/CSCTrackFinder/interface/CSCTrackFinderDataTypes.h>
Public Member Functions | |
global_eta_address (const unsigned &u) | |
global_eta_address () | |
global_eta_address & | operator= (const unsigned &u) |
unsigned | toint () const |
Public Attributes | |
unsigned int | cscid: 4 |
unsigned int | phi_bend: 6 |
unsigned int | phi_local: 2 |
unsigned int | wire_group: 7 |
unsigned int | zero: 13 |
Definition at line 40 of file CSCTrackFinderDataTypes.h.
global_eta_address::global_eta_address | ( | ) | [inline] |
global_eta_address::global_eta_address | ( | const unsigned & | u | ) | [inline] |
Definition at line 50 of file CSCTrackFinderDataTypes.h.
References operator=().
00050 { this->operator=(u); }
global_eta_address & global_eta_address::operator= | ( | const unsigned & | u | ) |
Definition at line 23 of file CSCTrackFinderDataTypes.cc.
References cscid, phi_bend, phi_local, and wire_group.
Referenced by global_eta_address().
00024 { 00025 this->phi_bend = ((1<<6)-1)&u; 00026 this->phi_local = ((1<<2)-1)&(u>>6); 00027 this->wire_group = ((1<<7)-1)&(u>>8); 00028 this->cscid = ((1<<4)-1)&(u>>15); 00029 00030 return *this; 00031 }
unsigned global_eta_address::toint | ( | ) | const |
Definition at line 113 of file CSCTrackFinderDataTypes.cc.
References cscid, phi_bend, phi_local, and wire_group.
00114 { 00115 unsigned u = 0; 00116 u = phi_bend | (phi_local << 6) | (wire_group << 8) | (cscid << 15); 00117 return u; 00118 }
unsigned int global_eta_address::cscid |
unsigned int global_eta_address::phi_bend |
Definition at line 43 of file CSCTrackFinderDataTypes.h.
Referenced by CSCSectorReceiverLUT::globalEtaME(), operator=(), and toint().
unsigned int global_eta_address::phi_local |
unsigned int global_eta_address::wire_group |
unsigned int global_eta_address::zero |
Definition at line 47 of file CSCTrackFinderDataTypes.h.