32 if (
typeid(*shape) ==
typeid(
TGeoBBox)) {
93 while ((node = next.
Next())) {
102 Info(
"ConvertGeometry",
"# Shape type %s is not selected for conversion\n",
111 Info(
"ConvertGeometry",
"# Shape type %s is excluded from conversion\n", vol->
GetShape()->
IsA()->
GetName());
124 Info(
"ConvertGeometry",
"# Converted %d shapes to VecGeom ones\n",
nconverted);
bool Bool_t
Boolean (0=false, 1=true) (bool)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TGeoManager * gGeoManager
TGeoNode * Next()
Returns next node.
The manager class for any TGeo geometry.
TGeoVolume * GetMasterVolume() const
static Int_t GetVerboseLevel()
Set verbosity level (static function).
TGeoVolume * GetTopVolume() const
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoVolume * GetVolume() const
Base abstract class for all shapes.
virtual Bool_t IsVecGeom() const
TClass * IsA() const override
Bool_t TestShapeBit(UInt_t f) const
std::set< TGeoShape::EShapeType > fExcludedShapeTypes
void SelectShapeType(TGeoShape::EShapeType) override
Select shape(s) for conversion.
TGeoVGConverter(TGeoManager *manager)
Default constructor.
void ConvertGeometry() override
Main geometry conversion method.
void ExcludeShapeType(TGeoShape::EShapeType) override
Exclude shape(s) from conversion.
~TGeoVGConverter() override
Default destructor.
std::set< TGeoShape::EShapeType > fSelectedShapeTypes
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
const char * GetName() const override
Returns name of object.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
Abstract class for geometry converters.
static void SetConverter(const TVirtualGeoConverter *conv)
Static function to set an alternative converter.