DD4hep  01.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
DetectorSurfaces.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_DETECTORSURFACES_H
14 #define DDREC_DETECTORSURFACES_H
15 
16 #include "DDRec/Surface.h"
17 
18 namespace dd4hep {
19  namespace rec {
20 
28  class DetectorSurfaces: virtual public DetElement {
29 
30  public:
32 
33  DetectorSurfaces(const DetElement& e);
34 
35  virtual ~DetectorSurfaces();
36 
38  const SurfaceList& surfaceList() { return *_sL ; }
39 
40  protected :
42 
44  void initialize() ;
45 
46  };
47 
48  } /* namespace rec */
49 } /* namespace dd4hep */
50 
51 
52 
53 #endif // DDREC_DETECTORSURFACES_H
View on DetElements for accessing the surfaces assigned to this DetElement in detector construction...
const SurfaceList & surfaceList()
get the list of surfaces added to this DetElement
std::list of Surfaces that optionally takes ownership.
Definition: Surface.h:681
void initialize()
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction ...
DetectorSurfaces(const DetElement &e)