Re: [ROOT] Creation of chains

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Sep 19 2002 - 13:06:49 MEST


Hi Ole,

Ok, if you do not define a TApplication in your program, you should
do at the beginning;
  gROOT->SetBatch(kTRUE);

Currently, if you do not define a TApplication, Root will create one
when it is required (dynamic loading services). The current TApplication
starts with graphics by default. We will change the default to be batch.
Anyhow, I strongly suggest to always define a TApplication or TRint
or better use the standard Root main program and always use dynamic
linking.

Rene Brun


On Thu, 19 Sep 2002, Rene Brun wrote:

> Hi Ole,
> 
> On Thu, 19 Sep 2002, Ole Streicher wrote:
> 
> > Ciao Rene!
> > 
> > Rene Brun writes:
> >  > If you use 3.03/08, TChain::Merge will automatically swap
> >  > to a new file when it gets the maximum file limit.
> > 
> > I tried it with 3.03/09. It seems to work; however at the first file
> > switch I get the error message
> > 
> > Fill: Switching to new file: Run0001.Physics.Tracker.Raw_1.root
> > dlopen error: /opt/root/lib/root/libGpad.so: undefined symbol: __ti10TPaveLabel
> > Load Error: Failed to load Dynamic link library /opt/root/lib/root/libGpad.so
> > *** Interpreter error recovered ***
> > 
> > Is this dangerous? OS is Linux.
> > 
> 
> I do not understand this problem! Are you linking the main executable
> yourself or using root.exe? Could you try with the recently released
> 3.03/09? I cannot reproduce this problem.
> Make sure to have the right $ROOTSYS/etc/system.rootrc
> 
> > I used "TTree::SetMaxTreeSize(1000000);" to see the effect faster ;-)
> > 
> > BTW, is it possible to make the max treesize local to the tree? It is
> > nothing I would need now ;-) but I could imagine that one would like
> > to have the size different for different trees.
> 
> Currently, the maxtreesize is global. It could be made local to the Tree.
> With may be some complication in case a Tree is split over several files.
> 
> Rene Brun
> 
> 
> > 
> > Ole
> > 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET