DD4hep  01.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dd4hep::rec::SurfaceHelper Class Reference

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 SurfaceListsurfaceList ()
 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
 

Detailed Description

Surface helper class that allows to access all surfaces assigned to a DetElement and all its daughters.

(originally this was called SurfaceManager).

Author
F.Gaede, DESY
Date
Apr, 11 2014
Version
Id:

Definition at line 29 of file SurfaceHelper.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void dd4hep::rec::SurfaceHelper::initialize ( )
protected
const SurfaceList& dd4hep::rec::SurfaceHelper::surfaceList ( )
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().

Member Data Documentation

const DetElement& dd4hep::rec::SurfaceHelper::_det
protected

Definition at line 44 of file SurfaceHelper.h.

Referenced by initialize().

SurfaceList dd4hep::rec::SurfaceHelper::_sL
protected

Definition at line 43 of file SurfaceHelper.h.

Referenced by initialize(), and surfaceList().


The documentation for this class was generated from the following files: