DD4hep  1.28.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dd4hep::rec::SurfaceHelper Class Reference

#include <SurfaceHelper.h>

Public Member Functions

 SurfaceHelper (const DetElement &e)
 
 ~SurfaceHelper ()
 
const SurfaceListsurfaceList ()
 

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

◆ SurfaceHelper()

dd4hep::rec::SurfaceHelper::SurfaceHelper ( const DetElement e)

Definition at line 27 of file SurfaceHelper.cpp.

◆ ~SurfaceHelper()

dd4hep::rec::SurfaceHelper::~SurfaceHelper ( )

Definition at line 32 of file SurfaceHelper.cpp.

Member Function Documentation

◆ initialize()

void dd4hep::rec::SurfaceHelper::initialize ( )
protected

initializes surfaces from VolSurfaces assigned to this DetElement in detector construction

Definition at line 37 of file SurfaceHelper.cpp.

◆ surfaceList()

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.

Member Data Documentation

◆ _det

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

Definition at line 44 of file SurfaceHelper.h.

◆ _sL

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

Definition at line 43 of file SurfaceHelper.h.


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