ATLAS Offline Software
DetectorElement.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DetectorElement_H
6 #define DetectorElement_H
7 
9 
11 #include <string>
12 
13 namespace MuonGM {
14 
16  public:
17  std::string name{};
18  std::string logVolName{};
19 
20  DetectorElement(const std::string& n) : name(n) { }
21 
22  void setLogVolName(const std::string& str) { logVolName = str; }
23 
24  virtual void print() const = 0;
25 
26  virtual ~DetectorElement() = default;
27 
28  }; // class DetectorElement
29 
30 } // namespace MuonGM
31 
32 #endif
MuonGM::DetectorElement::name
std::string name
Definition: DetectorElement.h:17
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DetectorElement::print
virtual void print() const =0
MuonGM::DetectorElement::setLogVolName
void setLogVolName(const std::string &str)
Definition: DetectorElement.h:22
MuonGM::DetectorElement::~DetectorElement
virtual ~DetectorElement()=default
MuonGM::DetectorElement
Definition: DetectorElement.h:15
GeoPrimitives.h
beamspotman.n
n
Definition: beamspotman.py:731
StoredMaterialManager.h
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
MuonGM::DetectorElement::logVolName
std::string logVolName
Definition: DetectorElement.h:18
str
Definition: BTagTrackIpAccessor.cxx:11
MuonGM::DetectorElement::DetectorElement
DetectorElement(const std::string &n)
Definition: DetectorElement.h:20