Geometry and material

Hello all,

I wonder if Root’s geometry classes already contain some predefined ‘standard’ materials and how I could access them.

Many thanks,
Oliver

Oliver,

We do not have a data base with a basic set of materials. However we have the geometry
of most HEP experiments (LEP, LHC, Star, Babar, etc). You can print the material definition
from one of this large detectors (or generate the corresponding C++ code).
For example, to get the Alice file and generate the geomtry definition as a CINT script, do:

root > TGeoManager::Import("http://root.cern.ch/files/alice.root"); root > gGeoManager->Export("alice_geo.C");
and look at lines containing TGeoMaterial or TGeoMixture.
You can start from the Atlas file instead if you like.

Rene

Good idea. Will do so.
Thanks,
Oliver