DD4hep
01.18
|
Surface helper class that allows to access all surfaces assigned to a DetElement and all its daughters. More...
#include <SurfaceHelper.h>
Public Member Functions | |
SurfaceHelper (const DetElement &e) | |
~SurfaceHelper () | |
const SurfaceList & | surfaceList () |
Get the list of all surfaces added to this DetElement and all its daughters - instantiate SurfaceHelper with description.world() to get all surfaces. More... | |
Protected Member Functions | |
void | initialize () |
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction More... | |
Protected Attributes | |
SurfaceList | _sL |
const DetElement & | _det |
Surface helper class that allows to access all surfaces assigned to a DetElement and all its daughters.
(originally this was called SurfaceManager).
Definition at line 29 of file SurfaceHelper.h.
dd4hep::rec::SurfaceHelper::SurfaceHelper | ( | const DetElement & | e | ) |
Definition at line 27 of file SurfaceHelper.cpp.
References initialize().
dd4hep::rec::SurfaceHelper::~SurfaceHelper | ( | ) |
Definition at line 32 of file SurfaceHelper.cpp.
|
protected |
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction
Definition at line 37 of file SurfaceHelper.cpp.
References _det, _sL, std::list< T >::begin(), dumpDetectorData::description, dumpDetectorData::det, std::list< T >::empty(), std::list< T >::end(), std::list< T >::insert(), std::list< T >::push_back(), std::list< T >::splice(), and dd4hep::rec::DetectorSurfaces::surfaceList().
Referenced by SurfaceHelper().
|
inline |
Get the list of all surfaces added to this DetElement and all its daughters - instantiate SurfaceHelper with description.world() to get all surfaces.
Definition at line 40 of file SurfaceHelper.h.
References _sL.
Referenced by dd4hep::rec::SurfaceManager::initialize().
|
protected |
Definition at line 44 of file SurfaceHelper.h.
Referenced by initialize().
|
protected |
Definition at line 43 of file SurfaceHelper.h.
Referenced by initialize(), and surfaceList().