CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CSCStationIndex Class Reference

#include <RPCEfficiency.h>

Public Member Functions

int chamber () const
 
int chamber () const
 
 CSCStationIndex ()
 
 CSCStationIndex (int region, int station, int ring, int chamber)
 
 CSCStationIndex ()
 
 CSCStationIndex (int region, int station, int ring, int chamber)
 
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 68 of file RPCEfficiency.h.

Constructor & Destructor Documentation

CSCStationIndex::CSCStationIndex ( )
inline

Definition at line 70 of file RPCEfficiency.h.

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

Definition at line 71 of file RPCEfficiency.h.

71  :
72  _region(region),
74  _ring(ring),
75  _chamber(chamber){}
int chamber() const
Definition: RPCEfficiency.h:80
int station() const
Definition: RPCEfficiency.h:78
int ring() const
Definition: RPCEfficiency.h:79
int region() const
Definition: RPCEfficiency.h:77
CSCStationIndex::~CSCStationIndex ( )
inline

Definition at line 76 of file RPCEfficiency.h.

76 {}
CSCStationIndex::CSCStationIndex ( )
inline

Definition at line 25 of file CSCSegtoRPC.h.

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

Definition at line 26 of file CSCSegtoRPC.h.

26  :
27  _region(region),
29  _ring(ring),
30  _chamber(chamber){}
int chamber() const
Definition: RPCEfficiency.h:80
int station() const
Definition: RPCEfficiency.h:78
int ring() const
Definition: RPCEfficiency.h:79
int region() const
Definition: RPCEfficiency.h:77
CSCStationIndex::~CSCStationIndex ( )
inline

Definition at line 31 of file CSCSegtoRPC.h.

31 {}

Member Function Documentation

int CSCStationIndex::chamber ( ) const
inline

Definition at line 35 of file CSCSegtoRPC.h.

References _chamber.

Referenced by geometryXMLparser.CSCAlignable::index().

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

Definition at line 80 of file RPCEfficiency.h.

References _chamber.

Referenced by geometryXMLparser.CSCAlignable::index(), and operator<().

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

Definition at line 36 of file CSCSegtoRPC.h.

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

36  {
37  if(cscind.region()!=this->region())
38  return cscind.region()<this->region();
39  else if(cscind.station()!=this->station())
40  return cscind.station()<this->station();
41  else if(cscind.ring()!=this->ring())
42  return cscind.ring()<this->ring();
43  else if(cscind.chamber()!=this->chamber())
44  return cscind.chamber()<this->chamber();
45  return false;
46  }
int chamber() const
Definition: RPCEfficiency.h:80
int station() const
Definition: RPCEfficiency.h:78
int ring() const
Definition: RPCEfficiency.h:79
int region() const
Definition: RPCEfficiency.h:77
bool CSCStationIndex::operator< ( const CSCStationIndex cscind) const
inline

Definition at line 81 of file RPCEfficiency.h.

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

81  {
82  if(cscind.region()!=this->region())
83  return cscind.region()<this->region();
84  else if(cscind.station()!=this->station())
85  return cscind.station()<this->station();
86  else if(cscind.ring()!=this->ring())
87  return cscind.ring()<this->ring();
88  else if(cscind.chamber()!=this->chamber())
89  return cscind.chamber()<this->chamber();
90  return false;
91  }
int chamber() const
Definition: RPCEfficiency.h:80
int station() const
Definition: RPCEfficiency.h:78
int ring() const
Definition: RPCEfficiency.h:79
int region() const
Definition: RPCEfficiency.h:77
int CSCStationIndex::region ( ) const
inline

Definition at line 32 of file CSCSegtoRPC.h.

References _region.

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

Definition at line 77 of file RPCEfficiency.h.

References _region.

Referenced by operator<().

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

Definition at line 34 of file CSCSegtoRPC.h.

References _ring.

Referenced by geometryXMLparser.CSCAlignable::index().

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

Definition at line 79 of file RPCEfficiency.h.

References _ring.

Referenced by geometryXMLparser.CSCAlignable::index(), and operator<().

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

Definition at line 33 of file CSCSegtoRPC.h.

References _station.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

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

Member Data Documentation

int CSCStationIndex::_chamber
private

Definition at line 97 of file RPCEfficiency.h.

Referenced by chamber().

int CSCStationIndex::_region
private

Definition at line 94 of file RPCEfficiency.h.

Referenced by region().

int CSCStationIndex::_ring
private

Definition at line 96 of file RPCEfficiency.h.

Referenced by ring().

int CSCStationIndex::_station
private

Definition at line 95 of file RPCEfficiency.h.

Referenced by station().