DD4hep  1.33.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 
35  ~SurfaceHelper() = default;
36  SurfaceHelper(const SurfaceHelper&) = delete;
40 
44  const SurfaceList& surfaceList() { return _sL ; }
45 
46  protected :
48  const DetElement& _det ;
49 
51  void initialize() ;
52 
53  };
54 
55  } /* namespace rec */
56 } /* namespace dd4hep */
57 
58 
59 
60 #endif // DDREC_SURFACEHELPER_H
dd4hep::rec::SurfaceHelper::operator=
SurfaceHelper & operator=(const SurfaceHelper &)=delete
dd4hep::rec::SurfaceHelper::~SurfaceHelper
~SurfaceHelper()=default
dd4hep::rec::SurfaceHelper::initialize
void initialize()
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction
Definition: SurfaceHelper.cpp:32
dd4hep::rec::SurfaceHelper::operator=
SurfaceHelper & operator=(SurfaceHelper &&)=delete
dd4hep::rec::SurfaceHelper::_det
const DetElement & _det
Definition: SurfaceHelper.h:48
Surface.h
dd4hep::DetElement
Handle class describing a detector element.
Definition: DetElement.h:187
dd4hep::rec::SurfaceList
Definition: Surface.h:679
dd4hep::rec::SurfaceHelper::surfaceList
const SurfaceList & surfaceList()
Definition: SurfaceHelper.h:44
dd4hep::rec::SurfaceHelper::SurfaceHelper
SurfaceHelper(SurfaceHelper &&)=default
dd4hep::rec::SurfaceHelper::SurfaceHelper
SurfaceHelper(const DetElement &e)
Definition: SurfaceHelper.cpp:27
dd4hep::rec::SurfaceHelper::SurfaceHelper
SurfaceHelper(const SurfaceHelper &)=delete
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::rec::SurfaceHelper::_sL
SurfaceList _sL
Definition: SurfaceHelper.h:47
dd4hep::rec::SurfaceHelper
Definition: SurfaceHelper.h:29