This is what happens on a solaris system (root version 2.00/07):
root [36] gROOT.Reset()
root [37] TFile *f = new
TFile("/user/sander/ROOT/Beam_telescoop/track.root")
root [38] f.ls()
TFile** /user/sander/ROOT/Beam_telescoop/track.root
TFile* /user/sander/ROOT/Beam_telescoop/track.root
KEY: Minstr Minstr;1
KEY: TTree T;1 Tree for event
root [39] TTree *T = (TTree*)f->Get("T")
*** Break *** segmentation violation
This is what happens on a Windows NT system (root version 2.21/03):
root [0] TFile *f = new
TFile("/user/sander/ROOT/Beam_telescoop/track.root")
root [1] f.ls()
TFile** /user/sander/ROOT/Beam_telescoop/track.root
TFile* /user/sander/ROOT/Beam_telescoop/track.root
KEY: Minstr Minstr;1
KEY: TTree T;1 Tree for event
root [2] TTree *T = (TTree*)f->Get("T")
Warning in <TBranchclones::Streamer>: Unknow class: Track. Cannot read
BranchClones: fTracks1
Warning in <TBranchclones::Streamer>: Unknow class: Track. Cannot read
BranchClones: fTracks2
Warning in <TBranchclones::Streamer>: Unknow class: Track. Cannot read
BranchClones: fTracks3
Warning in <TBranchclones::Streamer>: Unknow class: Track. Cannot read
BranchClones: fTracks4
Warning in <TLeafObject::Streamer: Cannot find class:Event
The warnings i get on my windows NT system are expected,
but i don't understand the segmentation violation at the
solaris system.
Is it a compatibility problem, a version issue or something else?
Thanks in advance,
Sander Klous