DD4hep  01.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
SurfaceHelper.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : F.Gaede
11 //
12 //==========================================================================
13 #ifndef DDREC_SURFACEHELPER_H
14 #define DDREC_SURFACEHELPER_H
15 
16 #include "DDRec/Surface.h"
17 
18 namespace dd4hep {
19  namespace rec {
20 
29  class SurfaceHelper {
30 
31  public:
32 
33  SurfaceHelper(const DetElement& e);
34 
36 
40  const SurfaceList& surfaceList() { return _sL ; }
41 
42  protected :
44  const DetElement& _det ;
45 
47  void initialize() ;
48 
49  };
50 
51  } /* namespace rec */
52 } /* namespace dd4hep */
53 
54 
55 
56 #endif // DDREC_SURFACEHELPER_H
const SurfaceList & surfaceList()
Get the list of all surfaces added to this DetElement and all its daughters - instantiate SurfaceHelp...
Definition: SurfaceHelper.h:40
Surface helper class that allows to access all surfaces assigned to a DetElement and all its daughter...
Definition: SurfaceHelper.h:29
const DetElement & _det
Definition: SurfaceHelper.h:44
std::list of Surfaces that optionally takes ownership.
Definition: Surface.h:681
SurfaceHelper(const DetElement &e)
void initialize()
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction ...