CMS 3D CMS Logo

Public Member Functions | Private Attributes

DTStationIndex Class Reference

#include <RPCEfficiency.h>

List of all members.

Public Member Functions

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

Private Attributes

int _region
int _sector
int _station
int _wheel

Detailed Description

Definition at line 42 of file RPCEfficiency.h.


Constructor & Destructor Documentation

DTStationIndex::DTStationIndex ( ) [inline]

Definition at line 44 of file RPCEfficiency.h.

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

Definition at line 45 of file RPCEfficiency.h.

DTStationIndex::~DTStationIndex ( ) [inline]

Definition at line 50 of file RPCEfficiency.h.

{}
DTStationIndex::DTStationIndex ( ) [inline]

Definition at line 30 of file DTSegtoRPC.h.

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

Definition at line 31 of file DTSegtoRPC.h.

DTStationIndex::~DTStationIndex ( ) [inline]

Definition at line 36 of file DTSegtoRPC.h.

{}

Member Function Documentation

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

Definition at line 55 of file RPCEfficiency.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;
  }
bool DTStationIndex::operator< ( const DTStationIndex dtind) const [inline]

Definition at line 41 of file DTSegtoRPC.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 DTStationIndex::region ( ) const [inline]

Definition at line 51 of file RPCEfficiency.h.

References _region.

Referenced by operator<().

{return _region;}
int DTStationIndex::region ( ) const [inline]

Definition at line 37 of file DTSegtoRPC.h.

References _region.

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

Definition at line 39 of file DTSegtoRPC.h.

References _sector.

{return _sector;}
int DTStationIndex::sector ( ) const [inline]

Definition at line 53 of file RPCEfficiency.h.

References _sector.

Referenced by operator<().

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

Definition at line 54 of file RPCEfficiency.h.

References _station.

Referenced by operator<().

{return _station;}
int DTStationIndex::station ( ) const [inline]

Definition at line 40 of file DTSegtoRPC.h.

References _station.

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

Definition at line 52 of file RPCEfficiency.h.

References _wheel.

Referenced by operator<().

{return _wheel;}
int DTStationIndex::wheel ( ) const [inline]

Definition at line 38 of file DTSegtoRPC.h.

References _wheel.

{return _wheel;}

Member Data Documentation

int DTStationIndex::_region [private]

Definition at line 67 of file RPCEfficiency.h.

Referenced by region().

int DTStationIndex::_sector [private]

Definition at line 69 of file RPCEfficiency.h.

Referenced by sector().

int DTStationIndex::_station [private]

Definition at line 70 of file RPCEfficiency.h.

Referenced by station().

int DTStationIndex::_wheel [private]

Definition at line 68 of file RPCEfficiency.h.

Referenced by wheel().