Re: [ROOTDEV] GetEntries()

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 9 May 2006 14:27:25 +0200 (MEST)


Christian,

You forgot to:

   -include the file TND280Event.hxx
   -indicate your version of ROOt

To test the problem, we will need a data file in a public area (AFS or http)

Rene Brun

On Tue, 9 May 2006, Christian Hansen
wrote:

>
> Dear Rooters,
>
> I wonder if somebody could help me with a strange
> problem I have TTree.
>
> Attached to this email I'm sending a simple example
> of a standalone program.
> In the Loop() function I call FillTree().
> In the FillTree() function I open a root file
> (not included, too big) and create a tree.
> Then I check number entries with GetEntries() and
> it works fine.
> But then again in the Loop() function I again call
> GetEntries() on the same tree, but then I get
> Segmentation Fault.
>
> Can anybody see what I'm doing wrong here? Is there
> anything wrong with my Makefile?
>
> Thanks!!!
> / Christian Hansen
>
> ================================================
> Dep. of Phys. Office : +1 250 721 7710
> Univ of Victoria Mobile : +1 250 588 0860
> PO Box 3055
> V8W 3P6 Victoria BC
> Canada
> ------------------------------------------------
> Home Page : http://particle.phys.uvic.ca/~hansen
> http://cern.ch/christian.hansen
Received on Tue May 09 2006 - 14:27:31 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET