ATLAS Offline Software
Loading...
Searching...
No Matches
TrkDetElementBase.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7Trk::TrkDetElementBase::TrkDetElementBase(const GeoVFullPhysVol* fullPhysVol)
8 : GeoVDetectorElement(fullPhysVol) {}
9
11 auto type = detectorType();
13 return "SolidState";
15 return "Silicon";
17 return "TRT";
19 return "Csc";
21 return "Mdt";
23 return "Rpc";
25 return "Tgc";
27 return "sTgc";
29 return "Mm";
30 return "Unknown";
31}
TrkDetElementBase(const GeoVFullPhysVol *fullPhysVol)
Constructor from GeoVFullPhysVolume.
virtual DetectorElemType detectorType() const =0
Return the Detector element type.
std::string detectorTypeString() const
Returns a string of the Detector element type.