#include <L1Trigger/CSCTrackFinder/interface/CSCTrackFinderDataTypes.h>
Public Member Functions | |
unsigned | delta_phi () const |
pt_address & | operator= (const unsigned &) |
pt_address (const unsigned &us) | |
pt_address () | |
unsigned | toint () const |
Public Attributes | |
unsigned int | delta_phi_12: 8 |
unsigned int | delta_phi_23: 4 |
unsigned int | delta_phi_sign: 1 |
unsigned int | track_eta: 4 |
unsigned int | track_fr: 1 |
unsigned int | track_mode: 4 |
Definition at line 57 of file CSCTrackFinderDataTypes.h.
pt_address::pt_address | ( | ) | [inline] |
pt_address::pt_address | ( | const unsigned & | us | ) | [inline] |
Definition at line 68 of file CSCTrackFinderDataTypes.h.
References operator=().
00068 { this->operator=(us); }
unsigned pt_address::delta_phi | ( | ) | const |
Definition at line 134 of file CSCTrackFinderDataTypes.cc.
References delta_phi_12, and delta_phi_23.
00135 { 00136 return ( delta_phi_12 | (delta_phi_23 << 8) ); 00137 }
pt_address & pt_address::operator= | ( | const unsigned & | u | ) |
Definition at line 33 of file CSCTrackFinderDataTypes.cc.
References delta_phi_12, delta_phi_23, delta_phi_sign, track_eta, track_fr, and track_mode.
Referenced by pt_address().
00034 { 00035 this->delta_phi_12 = ((1<<8)-1)&u; 00036 this->delta_phi_23 = ((1<<4)-1)&(u>>8); 00037 this->track_eta = ((1<<4)-1)&(u>>12); 00038 this->track_mode = ((1<<4)-1)&(u>>16); 00039 this->delta_phi_sign = ((1<<1)-1)&(u>>20); 00040 this->track_fr = ((1<<1)-1)&(u>>21); 00041 00042 return *this; 00043 }
unsigned pt_address::toint | ( | ) | const |
Definition at line 127 of file CSCTrackFinderDataTypes.cc.
References delta_phi_12, delta_phi_23, delta_phi_sign, track_eta, track_fr, and track_mode.
00128 { 00129 unsigned u = 0; 00130 u = delta_phi_12 | (delta_phi_23 << 8) | (track_eta << 12) | (track_mode << 16) | (delta_phi_sign << 20) | (track_fr << 21); 00131 return u; 00132 }
unsigned int pt_address::delta_phi_12 |
Definition at line 60 of file CSCTrackFinderDataTypes.h.
Referenced by delta_phi(), operator=(), CSCTFPtLUT::Pt(), CSCTFSPCoreLogic::run(), and toint().
unsigned int pt_address::delta_phi_23 |
Definition at line 61 of file CSCTrackFinderDataTypes.h.
Referenced by delta_phi(), operator=(), and toint().
unsigned int pt_address::delta_phi_sign |
unsigned int pt_address::track_eta |
unsigned int pt_address::track_fr |
unsigned int pt_address::track_mode |