Hi all, I'm using the command (thanks to giving us that) cross[i]->ProjectionX(proj_th[i],j,j+1,"E") to project a 2D histos (cross) in to slices. where proj_th[i] is a string. Now, how can I refer to proj_th[i] ? If I tried proj_th[i]->Draw() of course doesn't work. I tried pr[i]=new TH1D(proj_th[iQ2],"Cross section cos(theta*)",10,-1,1); before the projection, i.e. before cross[i]->ProjectionX(proj_th[i],j,j+1,"E") but then the histo pr[i] is empty. Suggestion on what I'm doing wrong? Maurizio
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:18 MET