Simon At Home: yay - it's created simon.root
Jim: now you need to fire up Root and read the file
Jim: find out what's in it, and try plotting some stuff
Simon At Home: :shudder:
Jim: for example, generator jet et distribution
Simon At Home: ...time to learn root :)
Jim: yep, and to work out the meaning of all the jetmet quantities ;-)
Now to load my root file and plot some graphs.....
Monday, August 23, 2004
Subscribe to:
Post Comments (Atom)
2 comments:
From the lovely Rob Frazier:
"Maybe if you do something like:
TFile f("*.root");
f -> ls();
that should tell you what is in the root file (and the ntuple name should be next to "TTree")
then if you do:
TTree *T = f -> Get("ntuple_name");
T -> StartViewer(); "
Load the file into root:
root [0] TFile f("simon.root"); (get a load of warnings
root [1] f -> ls();
TFile** simon.root JetMet ROOT file
TFile* simon.root JetMet ROOT file
KEY: TProcessID ProcessID0;1 00557512-f1d4-1129-8364-ef048a89beef
KEY: TTree JetMet;1 JetMet Event Tree
Post a Comment