Hi, As for the mail I sent before, I have a trouble. TH1F *hnew = new TH1F("hnew","hnew",100,0,1000); Int_t N_entry = tree->GetEntries(); Float_t ThresholdEntry = N_entry*0.005; Int_t i; Int_t number=0; for(i=100,number<ThresholdEntry,i++){ tree->Draw("ch0 >> hnew", "ch0 > i" ); number = hnew->GetEntries(); } Error message : Unknown name : "i" What should I do to compare Leaf with a variable ? -- Takefumi SORA <tak-sora@bg7.so-net.ne.jp>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET