ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace Muon {
12
13
14enum class DetRegion: std::uint8_t { GLOBAL, BA, BC, EA, EC, nDetRegions };
15static 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
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.