55 if ((
h =
gROOT->GetPluginManager()->FindHandler(
"TVirtualGeoConverter"))) {
56 if (
h->LoadPlugin() == -1) {
57 ::Error(
"TVirtualGeoConverter::Instance()",
58 "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
59 "It appears that you are missing or having outdated support for VecGeom package. "
60 "To enable it, configure ROOT with:\n"
61 " -Dvecgeom -DCMAKE_PREFIX_PATH=<vecgeom_prefix_path>/lib/CMake/VecGeom"
62 "\n+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n");
R__EXTERN TGeoManager * gGeoManager
The manager class for any TGeo geometry.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Abstract class for geometry converters.
static TVirtualGeoConverter * fgGeoConverter
static TVirtualGeoConverter * Instance(TGeoManager *geom=nullptr)
Static function returning a pointer to the current geometry converter.
TVirtualGeoConverter(TGeoManager *geom)
Geometry converter default constructor.
void SetGeometry(TGeoManager *geom)
~TVirtualGeoConverter() override
Geometry converter default destructor.
static void SetConverter(const TVirtualGeoConverter *conv)
Static function to set an alternative converter.