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
DTStationIndex Class Reference

#include <RPCEfficiency.h>

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 30 of file RPCEfficiency.h.

Constructor & Destructor Documentation

DTStationIndex::DTStationIndex ( )
inline

Definition at line 32 of file RPCEfficiency.h.

DTStationIndex::DTStationIndex ( int  region,
int  wheel,
int  sector,
int  station 
)
inline

Definition at line 33 of file RPCEfficiency.h.

33  :
34  _region(region),
35  _wheel(wheel),
36  _sector(sector),
37  _station(station){}
int wheel() const
Definition: RPCEfficiency.h:40
int station() const
Definition: RPCEfficiency.h:42
int region() const
Definition: RPCEfficiency.h:39
int sector() const
Definition: RPCEfficiency.h:41
DTStationIndex::~DTStationIndex ( )
inline

Definition at line 38 of file RPCEfficiency.h.

38 {}
DTStationIndex::DTStationIndex ( )
inline

Definition at line 30 of file DTSegtoRPC.h.

DTStationIndex::DTStationIndex ( int  region,
int  wheel,
int  sector,
int  station 
)
inline

Definition at line 31 of file DTSegtoRPC.h.

31  :
32  _region(region),
33  _wheel(wheel),
34  _sector(sector),
35  _station(station){}
int wheel() const
Definition: RPCEfficiency.h:40
int station() const
Definition: RPCEfficiency.h:42
int region() const
Definition: RPCEfficiency.h:39
int sector() const
Definition: RPCEfficiency.h:41
DTStationIndex::~DTStationIndex ( )
inline

Definition at line 36 of file DTSegtoRPC.h.

36 {}

Member Function Documentation

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

Definition at line 41 of file DTSegtoRPC.h.

References region(), sector(), station(), and wheel().

41  {
42  if(dtind.region()!=this->region())
43  return dtind.region()<this->region();
44  else if(dtind.wheel()!=this->wheel())
45  return dtind.wheel()<this->wheel();
46  else if(dtind.sector()!=this->sector())
47  return dtind.sector()<this->sector();
48  else if(dtind.station()!=this->station())
49  return dtind.station()<this->station();
50  return false;
51  }
int wheel() const
Definition: RPCEfficiency.h:40
int station() const
Definition: RPCEfficiency.h:42
int region() const
Definition: RPCEfficiency.h:39
int sector() const
Definition: RPCEfficiency.h:41
bool DTStationIndex::operator< ( const DTStationIndex dtind) const
inline

Definition at line 43 of file RPCEfficiency.h.

References region(), sector(), station(), and wheel().

43  {
44  if(dtind.region()!=this->region())
45  return dtind.region()<this->region();
46  else if(dtind.wheel()!=this->wheel())
47  return dtind.wheel()<this->wheel();
48  else if(dtind.sector()!=this->sector())
49  return dtind.sector()<this->sector();
50  else if(dtind.station()!=this->station())
51  return dtind.station()<this->station();
52  return false;
53  }
int wheel() const
Definition: RPCEfficiency.h:40
int station() const
Definition: RPCEfficiency.h:42
int region() const
Definition: RPCEfficiency.h:39
int sector() const
Definition: RPCEfficiency.h:41
int DTStationIndex::region ( ) const
inline

Definition at line 37 of file DTSegtoRPC.h.

References _region.

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

Definition at line 39 of file RPCEfficiency.h.

References _region.

Referenced by operator<().

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

Definition at line 39 of file DTSegtoRPC.h.

References _sector.

Referenced by geometryXMLparser.DTAlignable::index().

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

Definition at line 41 of file RPCEfficiency.h.

References _sector.

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

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

Definition at line 40 of file DTSegtoRPC.h.

References _station.

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

40 {return _station;}
int DTStationIndex::station ( ) const
inline
int DTStationIndex::wheel ( ) const
inline

Definition at line 38 of file DTSegtoRPC.h.

References _wheel.

Referenced by geometryXMLparser.DTAlignable::index().

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

Definition at line 40 of file RPCEfficiency.h.

References _wheel.

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

40 {return _wheel;}

Member Data Documentation

int DTStationIndex::_region
private

Definition at line 55 of file RPCEfficiency.h.

Referenced by region().

int DTStationIndex::_sector
private

Definition at line 57 of file RPCEfficiency.h.

Referenced by sector().

int DTStationIndex::_station
private

Definition at line 58 of file RPCEfficiency.h.

Referenced by station().

int DTStationIndex::_wheel
private

Definition at line 56 of file RPCEfficiency.h.

Referenced by wheel().