ATLAS Offline Software
Loading...
Searching...
No Matches
GeometryDefs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSGEOMETRYINTERFACES_GEOMETRYDEFS_H
5#define ACTSGEOMETRYINTERFACES_GEOMETRYDEFS_H
6
10#include <string>
11#ifndef SIMULATIONBASE
13#endif
14namespace ActsTrk {
33
34 inline std::string to_string(const DetectorType& type) {
36 return "Pixel";
37 else if (type == DetectorType::Sct)
38 return "Sct";
39 else if (type == DetectorType::Trt)
40 return "Trt";
41 else if (type == DetectorType::Hgtd)
42 return "Hgtd";
43 else if (type == DetectorType::Mdt)
44 return "Mdt";
45 else if (type == DetectorType::Rpc)
46 return "Rpc";
47 else if (type == DetectorType::Tgc)
48 return "Tgc";
49 else if (type == DetectorType::Csc)
50 return "Csc";
51 else if (type == DetectorType::Mm)
52 return "Mm";
53 else if (type == DetectorType::sTgc)
54 return "sTgc";
55 return "Unknown";
56 }
57
58} // namespace ActsTrk
59#endif
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
std::string to_string(const DetectorType &type)
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
@ Mm
Maybe not needed in the migration.
@ Tgc
Resitive Plate Chambers.
@ Pixel
Inner detector legacy.
@ sTgc
Micromegas (NSW)
@ Rpc
Monitored Drift Tubes.
@ Csc
Thin gap champers.
@ Trt
Maybe the Sct / Pixel for Itk become seperate entries?
@ Mdt
MuonSpectrometer.
@ UnDefined
Small Thing Gap chambers (NSW)