# Beginning with the ATLAS dataset

**URL:** <https://root-forum.cern.ch/t/beginning-with-the-atlas-dataset/40049>\
**Category:** Newbie\
**Tags:** python, hist, root\
**Created:** [June 23, 2020, 3:27pm UTC](https://root-forum.cern.ch/t/beginning-with-the-atlas-dataset/40049 "2020-06-23T15:27:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/ecc23a/32.png) [@mmk](https://root-forum.cern.ch/u/mmk)\
**Post date:** [June 23, 2020, 3:27pm UTC](https://root-forum.cern.ch/t/beginning-with-the-atlas-dataset/40049/1 "2020-06-23T15:27:14Z")

</div>

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)

```auto
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

* * *

---

<div class="post-metadata">

**Author:** ![yus](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/y/9fc348/32.png) [@yus](https://root-forum.cern.ch/u/yus)\
**Post date:** [June 23, 2020, 4:10pm UTC](https://root-forum.cern.ch/t/beginning-with-the-atlas-dataset/40049/2 "2020-06-23T16:10:38Z")

</div>

Hi,  
you should rather ask the author(s) of that git repository.
