ATLAS Offline Software
Enumerations | Functions
DetType Namespace Reference

Enumerations

enum  Type { Pixel, ShortStrip, LongStrip }
 
enum  Part { Barrel, Endcap }
 

Functions

std::string name (Type t)
 
std::string name (Part p)
 
std::string name (Type t, Part p)
 

Enumeration Type Documentation

◆ Part

Enumerator
Barrel 
Endcap 

Definition at line 14 of file DetType.h.

14 { Barrel, Endcap};

◆ Type

Enumerator
Pixel 
ShortStrip 
LongStrip 

Definition at line 13 of file DetType.h.

Function Documentation

◆ name() [1/3]

std::string DetType::name ( Part  p)
inline

Definition at line 21 of file DetType.h.

21  {
22  if (p == Barrel) return "Barrel";
23  else return "Endcap";
24  }

◆ name() [2/3]

std::string DetType::name ( Type  t)
inline

Definition at line 16 of file DetType.h.

16  {
17  if (t == Pixel) return "Pixel";
18  else return "Strip";
19  }

◆ name() [3/3]

std::string DetType::name ( Type  t,
Part  p 
)
inline

Definition at line 26 of file DetType.h.

26 { return name(p) + name(t);}
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DetType::LongStrip
@ LongStrip
Definition: DetType.h:13