test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoLocalMuon
RPCRecHit
src
DTStationIndex.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_RPCRecHit_DTStationIndex_h
2
#define RecoLocalMuon_RPCRecHit_DTStationIndex_h
3
4
class
DTStationIndex
{
5
public
:
6
DTStationIndex
():
_region
(0),
_wheel
(0),
_sector
(0),
_station
(0) {}
7
8
DTStationIndex
(
int
region
,
int
wheel
,
int
sector
,
int
station
) :
9
_region
(region),
10
_wheel
(wheel),
11
_sector
(sector),
12
_station
(station) {}
13
14
int
region
()
const
{
return
_region
;}
15
int
wheel
()
const
{
return
_wheel
;}
16
int
sector
()
const
{
return
_sector
;}
17
int
station
()
const
{
return
_station
;}
18
19
bool
operator<
(
const
DTStationIndex
& dtind)
const
{
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
}
30
31
private
:
32
int
_region
;
33
int
_wheel
;
34
int
_sector
;
35
int
_station
;
36
};
37
38
#endif // RecoLocalMuon_RPCRecHit_DTStationIndex_h
DTStationIndex::_wheel
int _wheel
Definition:
RPCEfficiency.h:56
DTStationIndex::_sector
int _sector
Definition:
RPCEfficiency.h:57
DTStationIndex::wheel
int wheel() const
Definition:
RPCEfficiency.h:40
DTStationIndex::_station
int _station
Definition:
RPCEfficiency.h:58
DTStationIndex::DTStationIndex
DTStationIndex()
Definition:
DTStationIndex.h:6
DTStationIndex::DTStationIndex
DTStationIndex(int region, int wheel, int sector, int station)
Definition:
DTStationIndex.h:8
DTStationIndex
Definition:
RPCEfficiency.h:30
DTStationIndex::station
int station() const
Definition:
RPCEfficiency.h:42
DTStationIndex::region
int region() const
Definition:
RPCEfficiency.h:39
DTStationIndex::operator<
bool operator<(const DTStationIndex &dtind) const
Definition:
DTStationIndex.h:19
DTStationIndex::_region
int _region
Definition:
RPCEfficiency.h:55
DTStationIndex::sector
int sector() const
Definition:
RPCEfficiency.h:41
Generated for CMSSW Reference Manual by
1.8.5