Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
}
GEMDetId
Definition:
GEMDetId.h:18
GEMDetId::subsystem
GEMSubDetId::Station subsystem() const
Definition:
GEMDetId.cc:7
GEMSubDetId::Station::ME0
GEMSubDetId::Station::GE11
GEMDetId::isME0
bool isME0() const
Definition:
GEMDetId.cc:13
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
GEMSubDetId::Station::GE21
GEMSubDetId::station
static Station station(uint16_t st)
Definition:
GEMSubDetId.h:13
GEMDetId::isGE11
bool isGE11() const
Definition:
GEMDetId.cc:9
GEMDetId.h
GEMSubDetId::Station
Station
Definition:
GEMSubDetId.h:12
GEMDetId::station
constexpr int station() const
Definition:
GEMDetId.h:179
GEMDetId::isGE21
bool isGE21() const
Definition:
GEMDetId.cc:11
Generated for CMSSW Reference Manual by
1.8.5