ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace 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
virtual void print() const =0
DetectorElement(const std::string &n)
void setLogVolName(const std::string &str)
virtual ~DetectorElement()=default
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27