Dear all
I have a problem when I want to use the ROOT to make a profile.
I use the different options to make a profile from a 2D histogram but I
don't see different results.
In a file which is called His2Prof.ps you can find a 2Dhistogram and a
profile which its option is default.
In its macro there are these lines:
TH2F *EnergyUp =new TH2F("EnergyUp","Energy Vs Position Run664
Adc141,143 Right Adc166,164 Left",50,-25,25,400,-200,200);
TProfile *PROFILE=EnergyUp.ProfileY("PROFILE",-15,10);
I think it's O.K,but in another file (AllOptProf.ps) I try to fill four
profiles with different options.
TProfile *PROFILE1 =new TProfile("PROFILE1 ","Energy Vs Position
Run664 Adc141,143 Right Adc166,164 Left",39,-27,12);
TProfile *PROFILE1s =new TProfile("PROFILE1s","Energy Vs Position
Run664 Adc141,143 Right Adc166,164 Left",39,-27,12,"s");
TProfile *PROFILE1i =new TProfile("PROFILE1i","Energy Vs Position
Run664 Adc141,143 Right Adc166,164 Left",39,-27,12,"i");
TProfile *PROFILE1G =new TProfile("PROFILE1G","Energy Vs Position
Run664 Adc141,143 Right Adc166,164 Left",39,-27,12,"G");
and they are drawed respectively.You can see that only the profile with
default option is different with other profiles.Although the errors of
different parameters are different.
I hope you can help me to solve this problem.
Sincerely Yours
Saeid Paktinat
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:18 MET