ATLAS Offline Software
InnerDetector
InDetDetDescr
InDetServMatGeoModel
src
DetType.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 DetType_H
6
#define DetType_H
7
8
#include <string>
9
10
namespace
DetType
{
11
//public:
12
13
enum
Type
{
Pixel
,
ShortStrip
,
LongStrip
};
14
enum
Part
{
Barrel
,
Endcap
};
15
16
inline
std::string
name
(
Type
t
) {
17
if
(
t
==
Pixel
)
return
"Pixel"
;
18
else
return
"Strip"
;
19
}
20
21
inline
std::string
name
(
Part
p
) {
22
if
(
p
==
Barrel
)
return
"Barrel"
;
23
else
return
"Endcap"
;
24
}
25
26
inline
std::string
name
(
Type
t
,
Part
p
) {
return
name
(
p
) +
name
(
t
);}
27
28
}
29
30
#endif
DetType::Endcap
@ Endcap
Definition:
DetType.h:14
Pixel
Definition:
PixelFEUtils.h:16
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DetType::Barrel
@ Barrel
Definition:
DetType.h:14
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
DetType::ShortStrip
@ ShortStrip
Definition:
DetType.h:13
DetType::Pixel
@ Pixel
Definition:
DetType.h:13
DetType::name
std::string name(Type t)
Definition:
DetType.h:16
xAODType
Definition:
ObjectType.h:13
DetType::Part
Part
Definition:
DetType.h:14
DetType::LongStrip
@ LongStrip
Definition:
DetType.h:13
DetType
Definition:
DetType.h:10
Generated on Fri Mar 14 2025 21:09:39 for ATLAS Offline Software by
1.8.18