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

#include <RPCEfficiency.h>

Public Member Functions

int chamber () const
 
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, int layer)
 
 CSCStationIndex ()
 
 CSCStationIndex (int region, int station, int ring, int chamber)
 
int layer () const
 
bool operator< (const CSCStationIndex &cscind) const
 
bool operator< (const CSCStationIndex &cscind) const
 
bool operator< (const CSCStationIndex &cscind) const
 
int region () const
 
int region () const
 
int region () const
 
int ring () const
 
int ring () const
 
int ring () const
 
int station () const
 
int station () const
 
int station () const
 
 ~CSCStationIndex ()
 
 ~CSCStationIndex ()
 

Private Attributes

int _chamber
 
int _layer
 
int _region
 
int _ring
 
int _station
 

Detailed Description

Definition at line 62 of file RPCEfficiency.h.

Constructor & Destructor Documentation

CSCStationIndex::CSCStationIndex ( )
inline

Definition at line 64 of file RPCEfficiency.h.

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

Definition at line 65 of file RPCEfficiency.h.

65  :
66  _region(region),
68  _ring(ring),
69  _chamber(chamber){}
int chamber() const
Definition: RPCEfficiency.h:74
int station() const
Definition: RPCEfficiency.h:72
int ring() const
Definition: RPCEfficiency.h:73
int region() const
Definition: RPCEfficiency.h:71
CSCStationIndex::~CSCStationIndex ( )
inline

Definition at line 70 of file RPCEfficiency.h.

70 {}
CSCStationIndex::CSCStationIndex ( )
inline
CSCStationIndex::CSCStationIndex ( int  region,
int  station,
int  ring,
int  chamber,
int  layer 
)
inline
CSCStationIndex::~CSCStationIndex ( )
inline

Definition at line 38 of file GEMCSCSegmentBuilder.h.

38 {}
CSCStationIndex::CSCStationIndex ( )
inline

Definition at line 6 of file CSCStationIndex.h.

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

Definition at line 8 of file CSCStationIndex.h.

8  :
11  _ring(ring),
12  _chamber(chamber){}
int chamber() const
Definition: RPCEfficiency.h:74
int station() const
Definition: RPCEfficiency.h:72
int ring() const
Definition: RPCEfficiency.h:73
int region() const
Definition: RPCEfficiency.h:71

Member Function Documentation

int CSCStationIndex::chamber ( ) const
inline

Definition at line 17 of file CSCStationIndex.h.

References _chamber.

Referenced by geometryXMLparser.CSCAlignable::index().

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

Definition at line 43 of file GEMCSCSegmentBuilder.h.

References _chamber.

Referenced by geometryXMLparser.CSCAlignable::index().

43 {return _chamber;}
int CSCStationIndex::chamber ( ) const
inline
int CSCStationIndex::layer ( ) const
inline
bool CSCStationIndex::operator< ( const CSCStationIndex cscind) const
inline

Definition at line 19 of file CSCStationIndex.h.

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

19  {
20  if(cscind.region()!=this->region())
21  return cscind.region()<this->region();
22  else if(cscind.station()!=this->station())
23  return cscind.station()<this->station();
24  else if(cscind.ring()!=this->ring())
25  return cscind.ring()<this->ring();
26  else if(cscind.chamber()!=this->chamber())
27  return cscind.chamber()<this->chamber();
28  return false;
29  }
int chamber() const
Definition: RPCEfficiency.h:74
int station() const
Definition: RPCEfficiency.h:72
int ring() const
Definition: RPCEfficiency.h:73
int region() const
Definition: RPCEfficiency.h:71
bool CSCStationIndex::operator< ( const CSCStationIndex cscind) const
inline

Definition at line 46 of file GEMCSCSegmentBuilder.h.

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

46  {
47  if(cscind.region()!=this->region())
48  return cscind.region()<this->region();
49  else if(cscind.station()!=this->station())
50  return cscind.station()<this->station();
51  else if(cscind.ring()!=this->ring())
52  return cscind.ring()<this->ring();
53  else if(cscind.chamber()!=this->chamber())
54  return cscind.chamber()<this->chamber();
55  else if(cscind.layer()!=this->layer())
56  return cscind.layer()<this->layer();
57  return false;
58  }
int chamber() const
Definition: RPCEfficiency.h:74
int station() const
Definition: RPCEfficiency.h:72
int ring() const
Definition: RPCEfficiency.h:73
int region() const
Definition: RPCEfficiency.h:71
bool CSCStationIndex::operator< ( const CSCStationIndex cscind) const
inline

Definition at line 75 of file RPCEfficiency.h.

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

75  {
76  if(cscind.region()!=this->region())
77  return cscind.region()<this->region();
78  else if(cscind.station()!=this->station())
79  return cscind.station()<this->station();
80  else if(cscind.ring()!=this->ring())
81  return cscind.ring()<this->ring();
82  else if(cscind.chamber()!=this->chamber())
83  return cscind.chamber()<this->chamber();
84  return false;
85  }
int chamber() const
Definition: RPCEfficiency.h:74
int station() const
Definition: RPCEfficiency.h:72
int ring() const
Definition: RPCEfficiency.h:73
int region() const
Definition: RPCEfficiency.h:71
int CSCStationIndex::region ( ) const
inline

Definition at line 14 of file CSCStationIndex.h.

References _region.

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

Definition at line 40 of file GEMCSCSegmentBuilder.h.

References _region.

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

Definition at line 71 of file RPCEfficiency.h.

References _region.

Referenced by GEMCSCSegmentBuilder::LinkGEMRollsToCSCChamberIndex(), and operator<().

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

Definition at line 16 of file CSCStationIndex.h.

References _ring.

Referenced by geometryXMLparser.CSCAlignable::index().

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

Definition at line 42 of file GEMCSCSegmentBuilder.h.

References _ring.

Referenced by geometryXMLparser.CSCAlignable::index().

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

Definition at line 15 of file CSCStationIndex.h.

References _station.

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

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

Member Data Documentation

int CSCStationIndex::_chamber
private

Definition at line 91 of file RPCEfficiency.h.

Referenced by chamber().

int CSCStationIndex::_layer
private

Definition at line 65 of file GEMCSCSegmentBuilder.h.

Referenced by layer().

int CSCStationIndex::_region
private

Definition at line 88 of file RPCEfficiency.h.

Referenced by region().

int CSCStationIndex::_ring
private

Definition at line 90 of file RPCEfficiency.h.

Referenced by ring().

int CSCStationIndex::_station
private

Definition at line 89 of file RPCEfficiency.h.

Referenced by station().