CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCStationIndex Class Reference

#include <RPCEfficiency.h>

List of all members.

Public Member Functions

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

Private Attributes

int _chamber
int _region
int _ring
int _station

Detailed Description

Definition at line 74 of file RPCEfficiency.h.


Constructor & Destructor Documentation

CSCStationIndex::CSCStationIndex ( ) [inline]

Definition at line 76 of file RPCEfficiency.h.

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

Definition at line 77 of file RPCEfficiency.h.

CSCStationIndex::~CSCStationIndex ( ) [inline]

Definition at line 82 of file RPCEfficiency.h.

{}
CSCStationIndex::CSCStationIndex ( ) [inline]

Definition at line 25 of file CSCSegtoRPC.h.

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

Definition at line 26 of file CSCSegtoRPC.h.

CSCStationIndex::~CSCStationIndex ( ) [inline]

Definition at line 31 of file CSCSegtoRPC.h.

{}

Member Function Documentation

int CSCStationIndex::chamber ( ) const [inline]

Definition at line 86 of file RPCEfficiency.h.

References _chamber.

Referenced by operator<().

{return _chamber;}
int CSCStationIndex::chamber ( ) const [inline]

Definition at line 35 of file CSCSegtoRPC.h.

References _chamber.

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

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

Definition at line 36 of file CSCSegtoRPC.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 CSCStationIndex::region ( ) const [inline]

Definition at line 83 of file RPCEfficiency.h.

References _region.

Referenced by operator<().

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

Definition at line 32 of file CSCSegtoRPC.h.

References _region.

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

Definition at line 34 of file CSCSegtoRPC.h.

References _ring.

{return _ring;}
int CSCStationIndex::ring ( ) const [inline]

Definition at line 85 of file RPCEfficiency.h.

References _ring.

Referenced by operator<().

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

Definition at line 84 of file RPCEfficiency.h.

References _station.

Referenced by operator<().

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

Definition at line 33 of file CSCSegtoRPC.h.

References _station.

{return _station;}

Member Data Documentation

Definition at line 103 of file RPCEfficiency.h.

Referenced by chamber().

int CSCStationIndex::_region [private]

Definition at line 100 of file RPCEfficiency.h.

Referenced by region().

int CSCStationIndex::_ring [private]

Definition at line 102 of file RPCEfficiency.h.

Referenced by ring().

Definition at line 101 of file RPCEfficiency.h.

Referenced by station().