Problem 1)
I have a macro in which I create a chain of root files. Each root file
contains the same tree structure - the structure is built up with
branches of ints, branches with floats, and branches with small
histograms.
In this macro, I loop over events and fill histograms, ... It turns
out that from the interpreter I read the first event, process it, and
then get a segmentation fault when I try to read the second event. If
I insert the necessary header files so I can create an executable
program, I find that the compiled macro works just fine and I can read
all the events without seg faulting.
Any ideas why GetEvent() raises seg faults in the interpreter for chains?
Problem 2)
I wish to create a object that inherits from TNamed. What are the
steps required for creating TNamed objects. I've followed examples for
several already existing TNamed objects, but I'm missing
something. When I create an instance of my TNamed object and quit
root, I get "illegal instruction". If I delete the object explicitly
("delete obj") and then quit, I don't get "illegal instruction". What
have I missed?
I'm running AIX 4.1.5 and ROOT V2.0/8.
- Mike