-----Original Message-----
From: owner-starsofi-l@bnl.gov [mailto:owner-starsofi-l@bnl.gov] On
Behalf Of David Hardtke
Sent: Monday, March 08, 1999 4:10 PM
To: starsofi-l@bnl.gov
Subject: Problem writing histograms in Maker
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
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET