DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Namespaces | Functions
Geant4ShapeConverter.cpp File Reference
#include <DD4hep/Shapes.h>
#include <DD4hep/Printout.h>
#include <DD4hep/detail/ShapesInterna.h>
#include "Geant4ShapeConverter.h"
#include <TClass.h>
#include <TGeoMatrix.h>
#include <TGeoBoolNode.h>
#include <TGeoScaledShape.h>
#include <G4Box.hh>
#include <G4Trd.hh>
#include <G4Tubs.hh>
#include <G4Trap.hh>
#include <G4Cons.hh>
#include <G4Hype.hh>
#include <G4Para.hh>
#include <G4Torus.hh>
#include <G4Sphere.hh>
#include <G4CutTubs.hh>
#include <G4Polycone.hh>
#include <G4Polyhedra.hh>
#include <G4Ellipsoid.hh>
#include <G4Paraboloid.hh>
#include <G4TwistedTubs.hh>
#include <G4GenericTrap.hh>
#include <G4ExtrudedSolid.hh>
#include <G4EllipticalTube.hh>
#include <G4TessellatedSolid.hh>
#include <G4TriangularFacet.hh>
#include <G4QuadrangularFacet.hh>

Go to the source code of this file.

Namespaces

 dd4hep
 Namespace for the AIDA detector description toolkit.
 
 dd4hep::sim
 Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
 

Functions

template<typename T >
G4VSolid * dd4hep::sim::convertShape (const TGeoShape *shape)
 Convert a specific TGeo shape into the geant4 equivalent. More...
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoShapeAssembly > (const TGeoShape *)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoBBox > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTube > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTubeSeg > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoCtub > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoEltu > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TwistedTubeObject > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTrd1 > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTrd2 > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoHype > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoArb8 > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoPara > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoXtru > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoPgon > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoPcon > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoCone > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoConeSeg > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoParaboloid > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoSphere > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTorus > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTrap > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< G4GenericTrap > (const TGeoShape *shape)
 
template<>
G4VSolid * dd4hep::sim::convertShape< TGeoTessellated > (const TGeoShape *shape)