Hi,
I have a few histograms defined in my Maker. I want to write them out, so
I use:
Int_t StDaveMaker::Finish() {
TFile* out = new TFile("dave.root","RECREATE","Dedx Histograms");
out->cd();
m_dedx_vs_rigidity->Write();
out->Close();
return kStOK;
}
where m_dedx_vs_rigidity is a pointer to a TH2F.
For some reason, when I run this ROOT aborts. Does anyone know what might
be going on?
Thanks,
dave