Hi !
Assume that i have two files, one with histogram data and a another one with weight to that data. The issue is that i want to plot a weighted histogram using ROOT. To be more precise, here is my case
In the file home/Downloads/Ovning_Root/ovning1/Signal_1fb.root there is a TTree file with two leaves. One leaf is the data ( invariantMass ) and the other one is the weight (eventWeight).
I am a beginner to ROOT so there are some things that i dont know. I want to write a code (emacs) and execute it using ROOT. It would be nice to see an example code that:
- Load in the TTree files
- plot a weighted histogram
Thanks on beforehand !
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided