DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
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
dd4hep::rec::SurfaceHelper::initialize
void initialize()
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction
Definition: SurfaceHelper.cpp:37
dd4hep::rec::SurfaceHelper::_det
const DetElement & _det
Definition: SurfaceHelper.h:44
Surface.h
dd4hep::DetElement
Handle class describing a detector element.
Definition: DetElement.h:188
dd4hep::rec::SurfaceList
Definition: Surface.h:681
dd4hep::rec::SurfaceHelper::surfaceList
const SurfaceList & surfaceList()
Definition: SurfaceHelper.h:40
dd4hep::rec::SurfaceHelper::SurfaceHelper
SurfaceHelper(const DetElement &e)
Definition: SurfaceHelper.cpp:27
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::rec::SurfaceHelper::~SurfaceHelper
~SurfaceHelper()
Definition: SurfaceHelper.cpp:32
dd4hep::rec::SurfaceHelper::_sL
SurfaceList _sL
Definition: SurfaceHelper.h:43
dd4hep::rec::SurfaceHelper
Definition: SurfaceHelper.h:29