#include <L1Trigger/CSCTrackFinder/interface/CSCTrackFinderDataTypes.h>
Public Member Functions | |
global_phi_address (const unsigned &u) | |
global_phi_address () | |
global_phi_address & | operator= (const unsigned &u) |
unsigned | toint () const |
Public Attributes | |
unsigned int | cscid: 4 |
unsigned int | phi_local: 10 |
unsigned int | wire_group: 5 |
unsigned int | zero: 13 |
Definition at line 24 of file CSCTrackFinderDataTypes.h.
global_phi_address::global_phi_address | ( | ) | [inline] |
global_phi_address::global_phi_address | ( | const unsigned & | u | ) | [inline] |
Definition at line 33 of file CSCTrackFinderDataTypes.h.
References operator=().
00033 { this->operator=(u); }
global_phi_address & global_phi_address::operator= | ( | const unsigned & | u | ) |
Definition at line 14 of file CSCTrackFinderDataTypes.cc.
References cscid, phi_local, and wire_group.
Referenced by global_phi_address().
00015 { 00016 this->phi_local = ((1<<10)-1)&u; 00017 this->wire_group = ((1<<5)-1)&(u>>10); 00018 this->cscid = ((1<<4)-1)&(u>>15); 00019 00020 return *this; 00021 }
unsigned global_phi_address::toint | ( | ) | const |
Definition at line 120 of file CSCTrackFinderDataTypes.cc.
References cscid, phi_local, and wire_group.
00121 { 00122 unsigned u = 0; 00123 u = phi_local | (wire_group << 10) | (cscid << 15); 00124 return u; 00125 }
unsigned int global_phi_address::cscid |
unsigned int global_phi_address::phi_local |
Definition at line 27 of file CSCTrackFinderDataTypes.h.
Referenced by CSCSectorReceiverLUT::globalPhiME(), operator=(), and toint().
unsigned int global_phi_address::wire_group |
unsigned int global_phi_address::zero |
Definition at line 30 of file CSCTrackFinderDataTypes.h.