Hello,
I’m trying to get started with Atlas dataset, using their git repository of code files fro analysis and plotting of data.
I’m using these commands, I have only downloaded a few data/mc file (only for this particular analysis)
python RunScript.py -a TTbarAnalysis
python PlotResults.py Configurations/PlotConf_TTbarAnalysis.py
Runscript command is running fine but the second command is giving these errors
/Downloads/root$ python PlotResults.py Configurations/PlotConf_TTbarAnalysis.py
Drawing plot: jet_pt
Error in <TFile::TFile>: file results/data_Egamma.root does not exist
Traceback (most recent call last):
File "PlotResults.py", line 116, in <module>
main( sys.argv[1:] )
File "PlotResults.py", line 112, in main
DrawPlot(configuration, histogram)
File "PlotResults.py", line 82, in DrawPlot
Paintables = collectPaintables(configuration["Paintables"])
File "PlotResults.py", line 17, in collectPaintables
elif "data" in key: paintables["data"] = Paintable.DataPaintable("data", definition["data"])
File "/home/Downloads/root/Plotting/Paintable.py", line 90, in __init__
self.createPaintable()
File "/home/Downloads/root/Plotting/Paintable.py", line 94, in createPaintable
self.datahist = self.getContribution(self.definition, False)
File "/home/Downloads/root/Plotting/Paintable.py", line 35, in getContribution
hist = DB.getHistogram(subcontribution, doScaling)
File "/home/Downloads/root/Plotting/Database.py", line 35, in getHistogram
return getHistogram(subcontribution, doScaling)
File "/home/Downloads/root/Plotting/Database.py", line 38, in getHistogram
hist = rootFiles[subcontribution].Get(config["HistLocation"]).Clone()
ReferenceError: attempt to access a null-pointer
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided