8 outfile.ReplaceAll(
".root",
"Sim.root");
10 TString geomanagerName =
"FAIRGeom";
13 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
15 TFile* fileIn =
new TFile(
infile,
"READ");
17 TGeoManager*
gGeoMan = (TGeoManager*)gROOT->FindObject(geomanagerName.Data());
18 TGeoVolume *
top = gGeoMan->GetTopVolume();
19 if(topVolumeName!=
"") top->SetName(topVolumeName);
21 TFile* fileOut =
new TFile(outfile,
"RECREATE");
createGeoSim(TString infile="TrackingStation.root")
TFile infile("dedx_out.root","READ")