#include <L1Trigger/CSCTrackFinder/interface/CSCTrackFinderDataTypes.h>
Public Member Functions | |
local_phi_data (const unsigned short &us) | |
local_phi_data () | |
local_phi_data & | operator= (const unsigned short &us) |
unsigned short | toint () const |
Public Attributes | |
unsigned short | phi_bend_local: 6 |
unsigned short | phi_local: 10 |
Definition at line 77 of file CSCTrackFinderDataTypes.h.
local_phi_data::local_phi_data | ( | ) | [inline] |
local_phi_data::local_phi_data | ( | const unsigned short & | us | ) | [inline] |
Definition at line 84 of file CSCTrackFinderDataTypes.h.
References operator=().
00084 { this->operator=(us); }
local_phi_data & local_phi_data::operator= | ( | const unsigned short & | us | ) |
Definition at line 45 of file CSCTrackFinderDataTypes.cc.
References phi_bend_local, and phi_local.
Referenced by local_phi_data().
00046 { 00047 this->phi_local = ((1<<10)-1)&us; 00048 this->phi_bend_local = ((1<<6)-1)&(us>>10); 00049 00050 return *this; 00051 }
unsigned short local_phi_data::toint | ( | ) | const |
Definition at line 78 of file CSCTrackFinderDataTypes.cc.
References phi_bend_local, and phi_local.
00079 { 00080 unsigned short us = 0; 00081 us = (phi_local | (phi_bend_local << 10)); 00082 return us; 00083 }
unsigned short local_phi_data::phi_bend_local |
unsigned short local_phi_data::phi_local |