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

Constructor & Destructor Documentation

DTStationIndex::DTStationIndex ( )
inline

Definition at line 38 of file RPCEfficiency.h.

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

Definition at line 39 of file RPCEfficiency.h.

39  :
40  _region(region),
41  _wheel(wheel),
42  _sector(sector),
43  _station(station){}
int wheel() const
Definition: RPCEfficiency.h:46
int station() const
Definition: RPCEfficiency.h:48
int region() const
Definition: RPCEfficiency.h:45
int sector() const
Definition: RPCEfficiency.h:47
DTStationIndex::~DTStationIndex ( )
inline

Definition at line 44 of file RPCEfficiency.h.

44 {}
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:46
int station() const
Definition: RPCEfficiency.h:48
int region() const
Definition: RPCEfficiency.h:45
int sector() const
Definition: RPCEfficiency.h:47
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:46
int station() const
Definition: RPCEfficiency.h:48
int region() const
Definition: RPCEfficiency.h:45
int sector() const
Definition: RPCEfficiency.h:47
bool DTStationIndex::operator< ( const DTStationIndex dtind) const
inline

Definition at line 49 of file RPCEfficiency.h.

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

49  {
50  if(dtind.region()!=this->region())
51  return dtind.region()<this->region();
52  else if(dtind.wheel()!=this->wheel())
53  return dtind.wheel()<this->wheel();
54  else if(dtind.sector()!=this->sector())
55  return dtind.sector()<this->sector();
56  else if(dtind.station()!=this->station())
57  return dtind.station()<this->station();
58  return false;
59  }
int wheel() const
Definition: RPCEfficiency.h:46
int station() const
Definition: RPCEfficiency.h:48
int region() const
Definition: RPCEfficiency.h:45
int sector() const
Definition: RPCEfficiency.h:47
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 45 of file RPCEfficiency.h.

References _region.

Referenced by operator<().

45 {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 47 of file RPCEfficiency.h.

References _sector.

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

47 {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 46 of file RPCEfficiency.h.

References _wheel.

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

46 {return _wheel;}

Member Data Documentation

int DTStationIndex::_region
private

Definition at line 61 of file RPCEfficiency.h.

Referenced by region().

int DTStationIndex::_sector
private

Definition at line 63 of file RPCEfficiency.h.

Referenced by sector().

int DTStationIndex::_station
private

Definition at line 64 of file RPCEfficiency.h.

Referenced by station().

int DTStationIndex::_wheel
private

Definition at line 62 of file RPCEfficiency.h.

Referenced by wheel().