Before executing this macro, the file geometry.C must have been executed.
void na49geomfile()
{
if (n49) {
TFile na(
"na49.root",
"RECREATE");
na.Write();
}
}
externTBenchmark * gBenchmark
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
virtual Int_t Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
- Author
- Andrei Gheata
Definition in file na49geomfile.C.