Oindree
I am terrible at ROOT, so I have started to read the Users Guide on ROOT (attached). It's 700 pages.. so it's like a Harry Potter book, no big deal.
Also I just learned about TChain::Draw (also in the Users Guide). Here is an example:
TChain c("adu5PatTree");
for (int run_number = start_run; run_number <=end_run; run_number++) { c.Add(TString::Format("/Users/oindreebanerjee/OneDrive/flight1617/gps/gpsFile%d.root",run_number)); }
c.Draw("latitude:realTime","attFlag==0", "");
This draws, for all my runs together, latitude vs realTime, cutting on attFlag. That is, only when attFlag==0 (0 is good, 1 is bad)
f.Draw("threshold:realTime >> hthreshold","(threshold>0 && threshold<4096)","colz"); is another example. Here I have specified the draw option as colz for a 2d histogram
Sam
see attached .txt file
Brian
I wrote down some advice on how to actually get ROOT's time axis to work. It's in the attached "ROOT's Time Axis Feature.docx" file.
|