Hi rooters.
someone knows if is there any method to convert different type of histograms?
I´m trying to scale a THI1 but I´m interested in the decimals so I have to convert it first to TH1D.
I tried something like this
TH1I * h1= new TH1I ("", "", Nbin, Xlow, XUp);
TH1D * h2 = (TH1D* ) h1;
h2->Scale(0.3);
It does the scaling but I dont get the decimals that I´m specting, so that I think this is not the way to perform the conversion.
I was also thinking in to redefining the histogramas with GetBinContent, but I think shouldn’t be necessary
Thanks in advance