Before executing this macro, the file geometry.C must have been executed.
void na49geomfile()
{
TGeometry *n49 = (TGeometry *)
gROOT->FindObject(
"na49");
if (n49) {
TFile na(
"na49.root",
"RECREATE");
n49->Write();
na.Write();
}
}
R__EXTERN TBenchmark * gBenchmark
virtual void Start(const char *name)
Starts Benchmark with the specified name.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
- Author
- Andrei Gheata
Definition in file na49geomfile.C.