Another solution that I have used is to load the bdst library. brat [0] gSystem->Load("libDstData.so") brat [1] TFile *_file0 = TFile::Open("/brahms/data21/data/run04/auau/200/r10190/dst/dst010190v0p3.root") brat [2] T1->Draw("G.fTrigger") It works this way, greetings radek On 1/10/06, Flemming Videbaek <videbaek@rcf.rhic.bnl.gov> wrote: > > The new version of root has problems reading trees. The behaviour is > peculiar. > > You can take any of our dst (new or old) > open the file by > root -l <filename> > root[1] T1->Draw("G.fTrigger") ==. results in zero > > if you instead create a script using MakeSelector("T1") > and use this script to read file the content is correct (i.e what is > expected). > Thus much analysis is uneffected but this is not good. > > It seems in the dst to be an issue for the global class, while i.e. both > FFS and FS branch seems fine !!! > > -- the sequence > TChain*chain=new TChain("T1") > chain->AddFile("dst...") > chain->Draw("G.fTrigger") ! DOES NOT work > chain->Process("T1.C") --> works given non-zero values in a print > chain->Draw("G.fTrigger") NOW WORKS. > > > > Flemming > > > > -------------------------------------------- > Flemming Videbaek > Physics Department > Bldg 510-D > Brookhaven National Laboratory > Upton, NY11973 > > phone: 631-344-4106 > fax: 631-344-1334 > e-mail: videbaek @ bnl.gov > > _______________________________________________ > Brahms-dev-l mailing list > Brahms-dev-l@lists.bnl.gov > http://lists.bnl.gov/mailman/listinfo/brahms-dev-l > > > _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Thu Jan 12 02:55:53 2006
This archive was generated by hypermail 2.1.8 : Thu Jan 12 2006 - 02:56:06 EST