{ cout <<" Reset the memory"<Reset(); gROOT->ProcessLine(".L FPTrack.C++"); gStyle->SetOptStat(0); FPTrack runevents; runevents.Run(); runevents.Sethist2(); runevents.Drawhist2(); cout<<" Finished the single plots"<Close(); runevents.Sethist(); runevents.Drawhist(); page->Close(); // Why is this apparently superfluous command needed? gSystem->Exec("gv FPTracks.ps"); }