I want write in a ASCII file, here is my very simple MACRO: tree->Draw("fAmplitude>>h1","fChannel==1"); h1->SetBins(4000,1,4001); tree->Draw("fAmplitude>>h1","fChannel==1"); Int_t nbins = h1->GetNbinsX(); Int_t j; {for(j=0;jGetBinContent(j));}; In output, i have this: bin[1] = contenu[0] Error: printf parameter mismatch param[0] C i FILE:/hyb4/perrot/MANIP/run006/./test.C LINE:38 *** Interpreter error recovered *** If i write this: for(Int_t i=0;iPrint("all"); the maximum of nbins write on screen is 4001. Can you help me, please. Thamk you. Luc Perrot
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET