CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCStationIndex2 Class Reference

#include <TracktoRPC.h>

List of all members.

Public Member Functions

int chamber () const
 CSCStationIndex2 (int region, int station, int ring, int chamber)
 CSCStationIndex2 ()
bool operator< (const CSCStationIndex2 &cscind) const
int region () const
int ring () const
int station () const
 ~CSCStationIndex2 ()

Private Attributes

int _chamber
int _region
int _ring
int _station

Detailed Description

Definition at line 122 of file TracktoRPC.h.


Constructor & Destructor Documentation

CSCStationIndex2::CSCStationIndex2 ( ) [inline]

Definition at line 124 of file TracktoRPC.h.

:_region(0),_station(0),_ring(0),_chamber(0){}
CSCStationIndex2::CSCStationIndex2 ( int  region,
int  station,
int  ring,
int  chamber 
) [inline]

Definition at line 125 of file TracktoRPC.h.

CSCStationIndex2::~CSCStationIndex2 ( ) [inline]

Definition at line 130 of file TracktoRPC.h.

{}

Member Function Documentation

int CSCStationIndex2::chamber ( ) const [inline]

Definition at line 134 of file TracktoRPC.h.

References _chamber.

Referenced by operator<().

{return _chamber;}
bool CSCStationIndex2::operator< ( const CSCStationIndex2 cscind) const [inline]

Definition at line 135 of file TracktoRPC.h.

References chamber(), region(), ring(), and station().

                                                      {
    if(cscind.region()!=this->region())
      return cscind.region()<this->region();
    else if(cscind.station()!=this->station())
      return cscind.station()<this->station();
    else if(cscind.ring()!=this->ring())
      return cscind.ring()<this->ring();
    else if(cscind.chamber()!=this->chamber())
      return cscind.chamber()<this->chamber();
    return false;
  }
int CSCStationIndex2::region ( ) const [inline]

Definition at line 131 of file TracktoRPC.h.

References _region.

Referenced by operator<().

{return _region;}
int CSCStationIndex2::ring ( ) const [inline]

Definition at line 133 of file TracktoRPC.h.

References _ring.

Referenced by operator<().

{return _ring;}
int CSCStationIndex2::station ( ) const [inline]

Definition at line 132 of file TracktoRPC.h.

References _station.

Referenced by operator<().

{return _station;}

Member Data Documentation

Definition at line 151 of file TracktoRPC.h.

Referenced by chamber().

Definition at line 148 of file TracktoRPC.h.

Referenced by region().

int CSCStationIndex2::_ring [private]

Definition at line 150 of file TracktoRPC.h.

Referenced by ring().

Definition at line 149 of file TracktoRPC.h.

Referenced by station().