How to open a root file

I have a root file but I cannot seem to read it and draw histograms using the data in it.


ROOT Version: ROOT 6
Platform: WINDOWS

Hi,

What kind of data does your ROOT file contain?

Is it histograms or rather columnar data (ntuple, tree)?

You can find information about basic ROOT I/O in this course:

Look for “Reading and writing data” and “The ROOT columnar format”.

I can point you to more information once I know about what exactly you need to do.

If your ROOT file is not too big you can post it here or give a link to download place you can put it on.