Re: FW: Problem writing histograms in Maker

From: David Hardtke (hardtke@sseos.lbl.gov)
Date: Mon Mar 08 1999 - 23:04:43 MET


Hi, 

This problem seems to be related to the size of the two dimensional
histogram involved.  Originally, my TH2F was 10000 X 10000 entries and
root aborts.  When I reduce that to 1000 X 1000, root has no problems.

Dave 

> 
> 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