Main Page
Namespaces
Classes
Package Documentation
L1Trigger
L1TMuonEndCap
interface
EMTFGEMDetId.h
Go to the documentation of this file.
1
#ifndef L1TMuonEndCap_EMTFGEMDetId_h
2
#define L1TMuonEndCap_EMTFGEMDetId_h
3
4
#include "
DataFormats/MuonDetId/interface/GEMDetId.h
"
5
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
6
7
#include <cstdint>
8
#include <iosfwd>
9
10
11
class
GEMDetId
;
12
class
ME0DetId
;
13
14
class
EMTFGEMDetId
{
15
public
:
16
explicit
EMTFGEMDetId
(
const
GEMDetId
&
id
);
17
explicit
EMTFGEMDetId
(
const
ME0DetId
&
id
);
18
20
bool
operator <
(
const
EMTFGEMDetId
&
r
)
const
;
21
23
int
region
()
const
;
24
int
ring
()
const
;
// NOTE: use ME0 --> ring 4 convention
25
int
station
()
const
;
// NOTE: use ME0 --> station 1 convention
26
int
layer
()
const
;
27
int
chamber
()
const
;
28
int
roll
()
const
;
29
30
bool
isME0
()
const
{
return
isME0_
; }
31
32
GEMDetId
getGEMDetId
()
const
{
return
gemDetId_
; }
33
34
ME0DetId
getME0DetId
()
const
{
return
me0DetId_
; }
35
36
private
:
37
GEMDetId
gemDetId_
;
38
ME0DetId
me0DetId_
;
39
bool
isME0_
;
40
};
41
42
std::ostream&
operator<<
( std::ostream& os,
const
EMTFGEMDetId
&
id
);
43
44
#endif
EMTFGEMDetId::isME0_
bool isME0_
Definition:
EMTFGEMDetId.h:39
GEMDetId
Definition:
GEMDetId.h:16
operator<<
std::ostream & operator<<(std::ostream &os, const EMTFGEMDetId &id)
Definition:
EMTFGEMDetId.cc:76
ME0DetId
Definition:
ME0DetId.h:16
EMTFGEMDetId::me0DetId_
ME0DetId me0DetId_
Definition:
EMTFGEMDetId.h:38
EMTFGEMDetId::layer
int layer() const
Definition:
EMTFGEMDetId.cc:55
EMTFGEMDetId::roll
int roll() const
Definition:
EMTFGEMDetId.cc:69
EMTFGEMDetId::region
int region() const
The identifiers.
Definition:
EMTFGEMDetId.cc:32
EMTFGEMDetId::chamber
int chamber() const
Definition:
EMTFGEMDetId.cc:62
EMTFGEMDetId::operator<
bool operator<(const EMTFGEMDetId &r) const
Sort Operator based on the raw detector id.
Definition:
EMTFGEMDetId.cc:21
GEMDetId.h
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
EMTFGEMDetId::isME0
bool isME0() const
Definition:
EMTFGEMDetId.h:30
EMTFGEMDetId::station
int station() const
Definition:
EMTFGEMDetId.cc:47
EMTFGEMDetId::getME0DetId
ME0DetId getME0DetId() const
Definition:
EMTFGEMDetId.h:34
EMTFGEMDetId::EMTFGEMDetId
EMTFGEMDetId(const GEMDetId &id)
Definition:
EMTFGEMDetId.cc:4
ME0DetId.h
EMTFGEMDetId::getGEMDetId
GEMDetId getGEMDetId() const
Definition:
EMTFGEMDetId.h:32
EMTFGEMDetId::gemDetId_
GEMDetId gemDetId_
Definition:
EMTFGEMDetId.h:37
EMTFGEMDetId
Definition:
EMTFGEMDetId.h:14
EMTFGEMDetId::ring
int ring() const
Definition:
EMTFGEMDetId.cc:39
Generated for CMSSW Reference Manual by
1.8.11