ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonHistogramming
MuonHistUtils
MuonHistUtils
MuonEnumDefs.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONHISTUTILS_MUONENUMDEFS_H
6
#define MUONHISTUTILS_MUONENUMDEFS_H
7
8
#include "
xAODMuon/Muon.h
"
9
#include <string_view>
10
11
namespace
Muon
{
12
13
14
enum class
DetRegion
: std::uint8_t {
GLOBAL
,
BA
,
BC
,
EA
,
EC
,
nDetRegions
};
15
static
inline
std::string_view
toString
(
DetRegion
reg) {
16
switch
(reg) {
17
using
enum
DetRegion
;
18
case
GLOBAL
:
19
return
"Global"
;
20
case
BA
:
21
return
"BA"
;
22
case
BC
:
23
return
"BC"
;
24
case
EA
:
25
return
"EA"
;
26
case
EC
:
27
return
"EC"
;
28
default
:
29
return
"UnknownDetRegion"
;
30
}
31
}
32
33
}
// namespace Muon
34
35
#endif
Muon.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:45
Muon::DetRegion
DetRegion
Definition
MuonEnumDefs.h:14
Muon::DetRegion::nDetRegions
@ nDetRegions
Definition
MuonEnumDefs.h:14
Muon::DetRegion::EC
@ EC
Definition
MuonEnumDefs.h:14
Muon::DetRegion::BA
@ BA
Definition
MuonEnumDefs.h:14
Muon::DetRegion::GLOBAL
@ GLOBAL
Definition
MuonEnumDefs.h:14
Muon::DetRegion::EA
@ EA
Definition
MuonEnumDefs.h:14
Muon::DetRegion::BC
@ BC
Definition
MuonEnumDefs.h:14
Muon::toString
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.
Definition
CscStripStatus.h:48
Generated on
for ATLAS Offline Software by
1.16.1