So I have to write a script that involves opening a histogram and reading the information within. This may seem a bit cryptic since I'm using .ROOT files but this is what needs to be done in C/C++...
1) open and read timediff*.root file
- get number of events for flasher 62-2 (e.g. by plotting a hist with requiring only flasher 62-2 and reading number of events in the histogram) - best print it to the output file
2) open and read newtimeDiff*.root file
- read histograms for flasher 62 (string number) and dom number 2 and print number of events and overflows for string-dom pairs from 62-1 to 62-5 and put them into an output file
Now the actual unique information obviously means nothing to you, but how would I go about writing something that will do what is being asked? If you need more information please ask.
Thanks in advance