DataFormats
MuonDetId
src
GEMDetId.cc
Go to the documentation of this file.
1
5
#include "
DataFormats/MuonDetId/interface/GEMDetId.h
"
6
7
GEMSubDetId::Station
GEMDetId::subsystem
()
const
{
return
GEMSubDetId::station
(
station
()); }
8
9
bool
GEMDetId::isGE11
()
const
{
return
subsystem
() ==
GEMSubDetId::Station::GE11
; }
10
11
bool
GEMDetId::isGE21
()
const
{
return
subsystem
() ==
GEMSubDetId::Station::GE21
; }
12
13
bool
GEMDetId::isME0
()
const
{
return
subsystem
() ==
GEMSubDetId::Station::ME0
; }
14
15
std::ostream&
operator<<
(std::ostream& os,
const
GEMDetId
&
id
) {
16
os <<
" Re "
<<
id
.region() <<
" Ri "
<<
id
.ring() <<
" St "
<<
id
.station() <<
" La "
<<
id
.layer() <<
" Ch "
17
<<
id
.chamber() <<
" Et "
<<
id
.roll() <<
" "
;
18
19
return
os;
20
}
GEMSubDetId::Station::ME0
GEMDetId::isGE21
bool isGE21() const
Definition:
GEMDetId.cc:11
GEMDetId::subsystem
GEMSubDetId::Station subsystem() const
Definition:
GEMDetId.cc:7
GEMSubDetId::Station::GE21
GEMDetId::isME0
bool isME0() const
Definition:
GEMDetId.cc:13
operator<<
std::ostream & operator<<(std::ostream &os, const GEMDetId &id)
Definition:
GEMDetId.cc:15
GEMSubDetId::Station
Station
Definition:
GEMSubDetId.h:12
GEMSubDetId::station
static Station station(uint16_t st)
Definition:
GEMSubDetId.h:13
GEMDetId
Definition:
GEMDetId.h:18
GEMDetId.h
GEMDetId::isGE11
bool isGE11() const
Definition:
GEMDetId.cc:9
GEMSubDetId::Station::GE11
GEMDetId::station
constexpr int station() const
Definition:
GEMDetId.h:179
Generated for CMSSW Reference Manual by
1.8.16