hi,
I now begin use TTree,the script is like this:
TFile fr("spt.root","new"); TTree *spt=new TTree("spt","spt check"); spt->Branch("time",&timee,"time/D"); spt->Branch("count",grbEvent.r,"count[8][80]/I");
......
spt->Fill();
......
fr.Write(); fr.Close(); After open the spt.root file,I can draw figures one by one with the command:spt->Draw("count[0][0]:time"); spt->Draw("count[0][1]:time"); spt->Draw("count[0][2]:time"); ............................ but 640(8*80) figures will cost much too time. I want to know if there are methods to draw these figures and save quickly? Thanks a lot
with best wishes,
Fengrong Zhu
Institute of High Energy Physics,
C.A.S P.R.C
zhufr_at_ihep.ac.cn
--
Open WebMail Project (http://openwebmail.org)
Received on Thu Sep 29 2005 - 17:34:47 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET