Re: [ROOT] problem with MakeSelector

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jan 19 2001 - 18:57:26 MET


Hi Valentine,

TTree::MakeSelector was only introduced in the production version 2.25/03

Rene Brun

Valentine Kouznetsov wrote:
> 
> Hi rooters,
> could somebody help me to figure out where the proeblem.
> I'm trying to use MakeSelector method and fail.
> 
> root [0] TFile f("jks+jee.root")
> root [1] f.ls()
> TFile**         jks+jee.root    HBOOK file: jks+jee.hbk converted to ROOT
>  TFile*         jks+jee.root    HBOOK file: jks+jee.hbk converted to ROOT
>   KEY:  h2;1    tracks
> root [2] h2->MakeSelector()
> Error: Can't call TTree::MakeSelector() in current scope
> FILE:/tmp/fileN4ggvP_cint LINE:1
> Possible candidates are...
> filename       line:size busy function type and name  (in TTree)
> filename       line:size busy function type and name  (in TNamed)
> filename       line:size busy function type and name  (in TObject)
> filename       line:size busy function type and name  (in TAttLine)
> filename       line:size busy function type and name  (in TAttFill)
> filename       line:size busy function type and name  (in TAttMarker)
> *** Interpreter error recovered ***
> root [3] f.Print()
> TFile: name=jks+jee.root, title=HBOOK file: jks+jee.hbk converted to ROOT,
> option=READ
> ******************************************************************************
> *Tree    :h2        : tracks
> *
> *Entries :     4346 : Total  Size =    676519 bytes  File  Size =     345278
> *
> *        :          : Tree compression factor =   2.07
> *
> *******************************************************************************
> 
> I'm using root version
> Version   2.24/04     2 August 2000
> 
> thanks,
> Valentin.
> 
> *************************************************************
> * Valentine Kouznetsov    phone : (630) 840 2192            *
> * Fermilab MS352          fax   : (630) 840 8886            *
> * P.O.Box 500             e-mail: vkuznet@fnal.gov          *
> * Batavia IL, 60510         http://www-d0.fnal.gov/~vkuznet *
> *************************************************************



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:34 MET