Hi,
you need to learn C++ a little bit more, I am afraid. You have many errors in your code concerning pointers.
In general don't use the operators - or / but hist->Add(...,-1) and hist->Divide(...)
Let us know if these hints are insufficient for you to solve it yourself.
Cheers, Axel.
Mohammed Mahmoud Mohammed wrote on 08/04/2010 12:23 PM:
>
> Dear All,
>
> Please, I tried to make ratio between histograms is two root files. But when I run the code I got error.
>
> I tried to solve it but I failed.
>
> The code is attached with this email. Can anyone help me?
>
> Thank you in advance
>
> Mohammed
Received on Wed Aug 04 2010 - 12:32:49 CEST
This archive was generated by hypermail 2.2.0 : Wed Aug 04 2010 - 17:50:01 CEST