![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
#include <SurfaceManager.h>
Public Member Functions | |
| SurfaceManager (const Detector &theDetector) | |
| The constructor. More... | |
| SurfaceManager ()=delete | |
| No default constructor. More... | |
| ~SurfaceManager ()=default | |
| SurfaceManager (const SurfaceManager &)=delete | |
| SurfaceManager & | operator= (const SurfaceManager &)=delete |
| SurfaceManager (SurfaceManager &&)=default | |
| SurfaceManager & | operator= (SurfaceManager &&)=default |
| const SurfaceMap * | map (const std::string &name) const |
| std::string | toString () const |
| create a string with all available maps and their size (number of surfaces) More... | |
Private Types | |
| typedef std::map< std::string, SurfaceMap > | SurfaceMapsMap |
Private Member Functions | |
| void | initialize (const Detector &theDetector) |
| initialize all known surface maps More... | |
Private Attributes | |
| SurfaceMapsMap | _map |
Surface manager class that holds maps of surfaces for all known sensitive detector types and individual sub detectors. Maps can be retrieved via detector name.
Definition at line 35 of file SurfaceManager.h.
|
private |
Definition at line 37 of file SurfaceManager.h.
| dd4hep::rec::SurfaceManager::SurfaceManager | ( | const Detector & | theDetector | ) |
The constructor.
Definition at line 24 of file SurfaceManager.cpp.
|
delete |
No default constructor.
|
default |
|
delete |
|
default |
|
private |
initialize all known surface maps
Definition at line 47 of file SurfaceManager.cpp.
| const SurfaceMap * dd4hep::rec::SurfaceManager::map | ( | const std::string & | name | ) | const |
Get the maps of all surfaces associated to the given detector or type of detectors, e.g. map("tracker") returns a map with all surfaces assigned to tracking detectors. Returns 0 if no map exists.
Definition at line 35 of file SurfaceManager.cpp.
|
delete |
|
default |
| std::string dd4hep::rec::SurfaceManager::toString | ( | ) | const |
create a string with all available maps and their size (number of surfaces)
Definition at line 80 of file SurfaceManager.cpp.
|
private |
Definition at line 73 of file SurfaceManager.h.
1.8.18