DD4hep  1.33.0
Detector Description Toolkit for High Energy Physics
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 
29 
30  public:
31  DetectorSurfaces(const DetElement& e);
32 
34  const SurfaceList& surfaceList() { return *_sL ; }
35 
36  protected :
37  SurfaceList* _sL { nullptr };
38 
40  void initialize(const DetElement& det) ;
41 
42  };
43 
44  } /* namespace rec */
45 } /* namespace dd4hep */
46 
47 
48 
49 #endif // DDREC_DETECTORSURFACES_H
Surface.h
dd4hep::DetElement
Handle class describing a detector element.
Definition: DetElement.h:187
dd4hep::rec::SurfaceList
Definition: Surface.h:679
dd4hep::rec::DetectorSurfaces::surfaceList
const SurfaceList & surfaceList()
get the list of surfaces added to this DetElement
Definition: DetectorSurfaces.h:34
dd4hep::rec::DetectorSurfaces::DetectorSurfaces
DetectorSurfaces(const DetElement &e)
Definition: DetectorSurfaces.cpp:19
dd4hep::rec::DetectorSurfaces::_sL
SurfaceList * _sL
Definition: DetectorSurfaces.h:37
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
det
DetElement::Object * det
Definition: AlignmentsCalculator.cpp:66
dd4hep::rec::DetectorSurfaces::initialize
void initialize(const DetElement &det)
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction
Definition: DetectorSurfaces.cpp:24
dd4hep::rec::DetectorSurfaces
Definition: DetectorSurfaces.h:28