Apologies if it is not the correct place to post this.
I am using AthAnalysisBase 2.4.11, with root version ROOT 6.04/16 for my analysis. Using this ROOT version I find out that root is not computing error bars while running over data set. For Monte Carlo samples everything is find. Please find in the attachment
As I wrote before when I use ROOT 6.02 everything is fine and when I use ROOT 6.04 I see this problem.
There is no such bug or issue in my code with plotting or filling the histograms. Its just unexceptional problem with this ROOT version.
I am just wondering if there are major changes in TH1 class happened when going to 6.02 to 6.04?
It seems I am missing some “imports”. Can they be deleted ?
$ python script.py
Traceback (most recent call last):
File "script.py", line 15, in <module>
import PhysicsLight.PhysicsLightXSec as XSec
File "/Users/couet/git/roottrunk-bin/lib/ROOT.py", line 303, in _importhook
return _orig_ihook( name, *args, **kwds )
ImportError: No module named PhysicsLight.PhysicsLightXSec
No they cannot be deleted. From this file PhysicsLightXSec I am using some classes. Basically that class search for root file in a directory and open it. If there are lot of root files, it adds them.
I am sorry I think you cannot run this script. I just posted that you can get the idea what I am doing.
Just wondering, Is there a way that one can forcefully change the root version when importing?
You can give me some hints I can try that for you If you like.
[quote=“couet”]As far as I can see your macro looks fine.
What about if you convert Canvas_1.C into python ? That could be a simpler way to test.[/quote]
I modify the script. It is working for me for ROOT version 6.02