57 while ((node = next.
Next())) {
68 printf(
"# Converted %d shapes to VecGeom ones\n", nconverted);
TGeoNode * Next()
Returns next node.
The manager class for any TGeo geometry.
TGeoVolume * GetMasterVolume() const
TGeoVolume * GetTopVolume() const
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoVolume * GetVolume() const
virtual Bool_t IsVecGeom() const
Geometry converter to VecGeom.
virtual ~TGeoVGConverter()
Default destructor.
TGeoVGConverter(TGeoManager *manager)
Default constructor.
virtual void ConvertGeometry()
Main geometry conversion method.
Bridge class for using a VecGeom solid as TGeoShape.
static TGeoVGShape * Create(TGeoShape *shape)
Factory creating TGeoVGShape from a Root shape.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
void SetShape(const TGeoShape *shape)
set the shape associated with this volume
TGeoShape * GetShape() const
Abstract class for geometry converters.
static void SetConverter(const TVirtualGeoConverter *conv)
Static function to set an alternative converter.