CMS 3D CMS Logo

Public Member Functions | Private Attributes

DTStationIndex2 Class Reference

#include <TracktoRPC.h>

List of all members.

Public Member Functions

 DTStationIndex2 ()
 DTStationIndex2 (int region, int wheel, int sector, int station)
bool operator< (const DTStationIndex2 &dtind) const
int region () const
int sector () const
int station () const
int wheel () const
 ~DTStationIndex2 ()

Private Attributes

int _region
int _sector
int _station
int _wheel

Detailed Description

Definition at line 80 of file TracktoRPC.h.


Constructor & Destructor Documentation

DTStationIndex2::DTStationIndex2 ( ) [inline]

Definition at line 82 of file TracktoRPC.h.

:_region(0),_wheel(0),_sector(0),_station(0){}
DTStationIndex2::DTStationIndex2 ( int  region,
int  wheel,
int  sector,
int  station 
) [inline]

Definition at line 83 of file TracktoRPC.h.

DTStationIndex2::~DTStationIndex2 ( ) [inline]

Definition at line 88 of file TracktoRPC.h.

{}

Member Function Documentation

bool DTStationIndex2::operator< ( const DTStationIndex2 dtind) const [inline]

Definition at line 93 of file TracktoRPC.h.

References region(), sector(), station(), and wheel().

                                                    {
    if(dtind.region()!=this->region())
      return dtind.region()<this->region();
    else if(dtind.wheel()!=this->wheel())
      return dtind.wheel()<this->wheel();
    else if(dtind.sector()!=this->sector())
      return dtind.sector()<this->sector();
    else if(dtind.station()!=this->station())
      return dtind.station()<this->station();
    return false;
  }
int DTStationIndex2::region ( ) const [inline]

Definition at line 89 of file TracktoRPC.h.

References _region.

Referenced by operator<().

{return _region;}
int DTStationIndex2::sector ( void  ) const [inline]

Definition at line 91 of file TracktoRPC.h.

References _sector.

Referenced by operator<().

{return _sector;}
int DTStationIndex2::station ( ) const [inline]

Definition at line 92 of file TracktoRPC.h.

References _station.

Referenced by operator<().

{return _station;}
int DTStationIndex2::wheel ( ) const [inline]

Definition at line 90 of file TracktoRPC.h.

References _wheel.

Referenced by operator<().

{return _wheel;}

Member Data Documentation

int DTStationIndex2::_region [private]

Definition at line 106 of file TracktoRPC.h.

Referenced by region().

int DTStationIndex2::_sector [private]

Definition at line 108 of file TracktoRPC.h.

Referenced by sector().

Definition at line 109 of file TracktoRPC.h.

Referenced by station().

int DTStationIndex2::_wheel [private]

Definition at line 107 of file TracktoRPC.h.

Referenced by wheel().