geomD0.C: script drawing a detector geometry (here D0) | Geometry package | lego.C: Drawing a figure, made of lego block, using ROOT geometry class. |
//Example of the old geometry package (now obsolete) //Author: Rene Brun void geometry() { TString dir = gSystem->UnixPathName(gInterpreter->GetCurrentMacroName()); dir.ReplaceAll("geometry.C",""); dir.ReplaceAll("/./","/"); gROOT->Macro(Form("%s/na49.C",dir.Data())); gROOT->Macro(Form("%s/na49geomfile.C",dir.Data())); } |
|