CMS 3D CMS Logo

Public Member Functions | Public Attributes

global_phi_data Class Reference

#include <CSCTrackFinderDataTypes.h>

List of all members.

Public Member Functions

 global_phi_data ()
 global_phi_data (const unsigned short &us)
global_phi_dataoperator= (const unsigned short &us)
unsigned short toint () const

Public Attributes

unsigned short global_phi: 12
unsigned short spare: 4

Detailed Description

Definition at line 110 of file CSCTrackFinderDataTypes.h.


Constructor & Destructor Documentation

global_phi_data::global_phi_data ( ) [inline]

Definition at line 116 of file CSCTrackFinderDataTypes.h.

                   : global_phi(0),
                     spare(0) {};  
global_phi_data::global_phi_data ( const unsigned short &  us) [inline]

Definition at line 118 of file CSCTrackFinderDataTypes.h.

References operator=().

{ this->operator=(us); }

Member Function Documentation

global_phi_data & global_phi_data::operator= ( const unsigned short &  us)

Definition at line 53 of file CSCTrackFinderDataTypes.cc.

References global_phi.

Referenced by global_phi_data().

{   
  this->global_phi = ((1<<12)-1)&us;
  
  return *this;
}
unsigned short global_phi_data::toint ( ) const

Definition at line 92 of file CSCTrackFinderDataTypes.cc.

References global_phi.

{  
  unsigned short us = 0;
  us = global_phi;
  return us;
}

Member Data Documentation

Definition at line 113 of file CSCTrackFinderDataTypes.h.

Referenced by operator=(), and toint().

unsigned short global_phi_data::spare

Definition at line 114 of file CSCTrackFinderDataTypes.h.