> Can somebody translate PAW to ROOT, please?
>
> h/get_vect/contents hist_id vector
>
> for a 2D histogram
>
> I have tryed all possible combinations, except the right one of
> course.
TH1F h1("name","title",50,0,1);
float a[50];
int i;
for (i=0;i<50;i++) a[i] = h1[i];
or
TH1F h1("name","title",50,0,1);
float a[50];
memcpy(a,h1.fArray,sizeof(a));
Hope this works,
Best regards,
Valeri
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET