test
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 ()
 

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 6 of file DTStationIndex.h.

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

Definition at line 8 of file DTStationIndex.h.

8  :
10  _wheel(wheel),
11  _sector(sector),
12  _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

Member Function Documentation

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

Definition at line 19 of file DTStationIndex.h.

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

19  {
20  if(dtind.region()!=this->region())
21  return dtind.region()<this->region();
22  else if(dtind.wheel()!=this->wheel())
23  return dtind.wheel()<this->wheel();
24  else if(dtind.sector()!=this->sector())
25  return dtind.sector()<this->sector();
26  else if(dtind.station()!=this->station())
27  return dtind.station()<this->station();
28  return false;
29  }
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 14 of file DTStationIndex.h.

References _region.

14 {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 16 of file DTStationIndex.h.

References _sector.

Referenced by geometryXMLparser.DTAlignable::index().

16 {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 17 of file DTStationIndex.h.

References _station.

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

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

Definition at line 15 of file DTStationIndex.h.

References _wheel.

Referenced by geometryXMLparser.DTAlignable::index().

15 {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().