#include <L1Trigger/CSCTrackFinder/interface/CSCTrackFinderDataTypes.h>
Public Member Functions | |
global_eta_data (const unsigned short &us) | |
global_eta_data () | |
global_eta_data & | operator= (const unsigned short &us) |
unsigned short | toint () const |
Public Attributes | |
unsigned short | global_bend: 5 |
unsigned short | global_eta: 7 |
unsigned short | spare: 4 |
Definition at line 105 of file CSCTrackFinderDataTypes.h.
global_eta_data::global_eta_data | ( | ) | [inline] |
global_eta_data::global_eta_data | ( | const unsigned short & | us | ) | [inline] |
Definition at line 113 of file CSCTrackFinderDataTypes.h.
References operator=().
00113 { this->operator=(us); }
global_eta_data & global_eta_data::operator= | ( | const unsigned short & | us | ) |
Definition at line 60 of file CSCTrackFinderDataTypes.cc.
References global_bend, and global_eta.
Referenced by global_eta_data().
00061 { 00062 this->global_eta = ((1<<7)-1)&us; 00063 this->global_bend = ((1<<5)-1)&(us>>7); 00064 00065 return *this; 00066 }
unsigned short global_eta_data::toint | ( | ) | const |
Definition at line 85 of file CSCTrackFinderDataTypes.cc.
References global_bend, and global_eta.
00086 { 00087 unsigned short us = 0; 00088 us = (global_eta | (global_bend << 7)); 00089 return us; 00090 }
unsigned short global_eta_data::global_bend |
unsigned short global_eta_data::global_eta |
unsigned short global_eta_data::spare |
Definition at line 110 of file CSCTrackFinderDataTypes.h.