CMS 3D CMS Logo

CSCStationIndex Class Reference

#include <DQM/RPCMonitorDigi/interface/MuonSegmentEff.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 69 of file MuonSegmentEff.h.


Constructor & Destructor Documentation

CSCStationIndex::CSCStationIndex (  )  [inline]

Definition at line 71 of file MuonSegmentEff.h.

00071 :_region(0),_station(0),_ring(0),_chamber(0){}

CSCStationIndex::CSCStationIndex ( int  region,
int  station,
int  ring,
int  chamber 
) [inline]

Definition at line 72 of file MuonSegmentEff.h.

00072                                                                  :
00073     _region(region),
00074     _station(station),
00075     _ring(ring),
00076     _chamber(chamber){}
  ~CSCStationIndex(){}

CSCStationIndex::~CSCStationIndex (  )  [inline]

Definition at line 77 of file MuonSegmentEff.h.

00077 {}

CSCStationIndex::CSCStationIndex (  )  [inline]

Definition at line 74 of file RPCEfficiency.h.

00074 :_region(0),_station(0),_ring(0),_chamber(0){}

CSCStationIndex::CSCStationIndex ( int  region,
int  station,
int  ring,
int  chamber 
) [inline]

Definition at line 75 of file RPCEfficiency.h.

00075                                                                  :
00076     _region(region),
00077     _station(station),
00078     _ring(ring),
00079     _chamber(chamber){}
  ~CSCStationIndex(){}

CSCStationIndex::~CSCStationIndex (  )  [inline]

Definition at line 80 of file RPCEfficiency.h.

00080 {}


Member Function Documentation

int CSCStationIndex::chamber (  )  const [inline]

Definition at line 84 of file RPCEfficiency.h.

References _chamber.

00084 {return _chamber;}

int CSCStationIndex::chamber (  )  const [inline]

Definition at line 81 of file MuonSegmentEff.h.

References _chamber.

Referenced by operator<().

00081 {return _chamber;}

bool CSCStationIndex::operator< ( const CSCStationIndex cscind  )  const [inline]

Definition at line 85 of file RPCEfficiency.h.

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

00085                                                      {
00086     if(cscind.region()!=this->region())
00087       return cscind.region()<this->region();
00088     else if(cscind.station()!=this->station())
00089       return cscind.station()<this->station();
00090     else if(cscind.ring()!=this->ring())
00091       return cscind.ring()<this->ring();
00092     else if(cscind.chamber()!=this->chamber())
00093       return cscind.chamber()<this->chamber();
00094     return false;
00095   }

bool CSCStationIndex::operator< ( const CSCStationIndex cscind  )  const [inline]

Definition at line 82 of file MuonSegmentEff.h.

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

00082                                                      {
00083     if(cscind.region()!=this->region())
00084       return cscind.region()<this->region();
00085     else if(cscind.station()!=this->station())
00086       return cscind.station()<this->station();
00087     else if(cscind.ring()!=this->ring())
00088       return cscind.ring()<this->ring();
00089     else if(cscind.chamber()!=this->chamber())
00090       return cscind.chamber()<this->chamber();
00091     return false;
00092   }

int CSCStationIndex::region (  )  const [inline]

Definition at line 81 of file RPCEfficiency.h.

References _region.

00081 {return _region;}

int CSCStationIndex::region (  )  const [inline]

Definition at line 78 of file MuonSegmentEff.h.

References _region.

Referenced by operator<().

00078 {return _region;}

int CSCStationIndex::ring (  )  const [inline]

Definition at line 83 of file RPCEfficiency.h.

References _ring.

00083 {return _ring;}

int CSCStationIndex::ring (  )  const [inline]

Definition at line 80 of file MuonSegmentEff.h.

References _ring.

Referenced by operator<().

00080 {return _ring;}

int CSCStationIndex::station (  )  const [inline]

Definition at line 82 of file RPCEfficiency.h.

References _station.

00082 {return _station;}

int CSCStationIndex::station (  )  const [inline]

Definition at line 79 of file MuonSegmentEff.h.

References _station.

Referenced by operator<().

00079 {return _station;}


Member Data Documentation

int CSCStationIndex::_chamber [private]

Definition at line 98 of file MuonSegmentEff.h.

Referenced by chamber().

int CSCStationIndex::_region [private]

Definition at line 95 of file MuonSegmentEff.h.

Referenced by region().

int CSCStationIndex::_ring [private]

Definition at line 97 of file MuonSegmentEff.h.

Referenced by ring().

int CSCStationIndex::_station [private]

Definition at line 96 of file MuonSegmentEff.h.

Referenced by station().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:29 2009 for CMSSW by  doxygen 1.5.4