28 TIter next(
geom->GetListOfOpticalSurfaces());
42 TString geofile =
gROOT->GetTutorialDir() +
"/visualisation/geom/gdml/opticalsurfaces.gdml";
48 printf(
"=== List of GDML matrices:\n");
49 geom->GetListOfGDMLMatrices()->Print();
50 printf(
"=== List of optical surfaces:\n");
51 geom->GetListOfOpticalSurfaces()->Print();
52 printf(
"=== List of skin surfaces:\n");
53 geom->GetListOfSkinSurfaces()->Print();
54 printf(
"=== List of border surfaces:\n");
55 geom->GetListOfBorderSurfaces()->Print();
58 printf(
"=== Exporting as .gdml, then importing back\n");
59 geom->Export(
"tmp.gdml");
63 printf(
"=== Exporting as .root, then importing back\n");
64 geom->Export(
"tmp.root");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
The manager class for any TGeo geometry.
static void SetExportPrecision(UInt_t prec)
static TGeoManager * Import(const char *filename, const char *name="", Option_t *option="")
static function Import a geometry from a gdml or ROOT file
static void SetVerboseLevel(Int_t vl)
Return current verbosity level (static function).
This is a wrapper class to G4OpticalSurface.
static uint64_t sum(uint64_t i)