DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Geant4ShapeConverter.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 : M.Frank
11 //
12 //==========================================================================
13 #ifndef DDG4_SRC_GEANT4SHAPECONVERTER_H
14 #define DDG4_SRC_GEANT4SHAPECONVERTER_H
15 
16 // Framework include files
17 
18 // C/C++ include files
19 
20 // Forward declarations
21 class TGeoShape;
22 class G4VSolid;
23 
25 namespace dd4hep {
26 
28  namespace sim {
29 
31  template <typename T> G4VSolid* convertShape(const TGeoShape* shape);
32 
33  } // End namespace sim
34 } // End namespace dd4hep
35 #endif // DDG4_SRC_GEANT4SHAPECONVERTER_H
dd4hep::sim::convertShape
G4VSolid * convertShape(const TGeoShape *shape)
Convert a specific TGeo shape into the geant4 equivalent.
Definition: Geant4ShapeConverter.cpp:63
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28