Logo ROOT   6.12/07
Reference Guide
na49geomfile.C File Reference

Detailed Description

Before executing this macro, the file makegeometry.C must have been executed.

void na49geomfile() {
gBenchmark->Start("geometry");
TGeometry *n49 =(TGeometry*)gROOT->FindObject("na49");
if (n49) {
TFile na("na49.root","RECREATE");
n49->Write();
na.Write();
}
gBenchmark->Show("geometry");
}
Author
Andrei Gheata

Definition in file na49geomfile.C.