Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tutorials/visualisation/geom/gdml/testoptical.C
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@
/// stored by TGeoManager class. Optical surfaces do not store property arrays but point
/// to GDML matrices describing such properties. One can get the data for such property
/// like:
///
/// ~~~{.cpp}
/// TGeoOpticalSurface *surf = geom->GetOpticalSurface("surf1");
/// const char *property = surf=>GetPropertyRef("REFLECTIVITY");
/// TGeoGDMLMatrix *m = geom->GetGDMLMatrix(property);
/// ~~~
///
/// Skin surfaces and border surfaces can be retrieved from the TGeoManager object by using:
///
/// ~~~{.cpp}
/// TObjArray *skin_array = geom->GetListOfSkinSurfaces();
/// TObjArra8 *border_array = geom->GetListOfBorderSurfaces();
/// ~~~
///
/// Alternatively accessors by name can also be used: GetSkinSurface(name)/GetBorderSurface(name)
///
/// \macro_code
///
/// \author Andrei Gheata

#include <cassert>
Expand Down
Loading