Next tree problem.

From: Henk Uijterwaal (RIPE-NCC) (henk@ripe.net)
Date: Thu Nov 12 1998 - 17:36:24 MET


So, I finally managed to get my program to fill a root tree running
(thanks to everybody who replied)... but... how do I access the data
that I've put in my root file.

I started with what I though was the obvious thing:

root [0] TFile f = new TFile ("Output.root");
root [1] tree->MakeCode("");
Warning in <TLeafObject::Streamer>: Cannot find class:Delay

Then tried to execute tree.C  but this also complain that it cannot find
the delay class.


I also tried the example event from $ROOTSYS/test/
(http://root.cern.ch/root/html/examples/eventa.cxx.html)  (interactively)
with pretty much the same effect: 

root [0]  gROOT->Reset();
root [1]    TFile f("Event.root");
root [2]   TTree *T = (TTree*)f.Get("T");
Warning in <TBranchClones::Streamer>: Unknow class: Track. Cannot read
BranchClones: fTracks
Warning in <TLeafObject::Streamer>: Cannot find class:Event
root [3] Event *event = new Event();
Error: No symbol Event in current scope  FILE:/tmp/16206daa LINE:1
Error: No symbol Event in current scope  FILE:/tmp/16206daa LINE:1
Error: type Event not defined FILE:/tmp/16206daa LINE:1
Warning: Undeclared symbol Event*event. Automatic variable allocated
FILE:/tmp/16206daa LINE:1
*** Interpreter error recovered ***
root [4] 

This must be something stupid but what?

Henk

------------------------------------------------------------------------------
Henk Uijterwaal                    Email: henk.uijterwaal@ripe.net
RIPE Network Coordination Centre     WWW: http://www.ripe.net/home/henk
Singel 258                         Phone: +31.20.535-4414,  Fax -4445
1016 AB Amsterdam                   Home: +31.20.4195305
The Netherlands                   Mobile: +31.6.55861746  NOTE NEW NUMBER!
------------------------------------------------------------------------------

%DCL-E-NOCFFE, unable to locate coffee - keyboard input suspended.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET