This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
root:pyroot_tfile [2017/06/13 09:39] – iwn | root:pyroot_tfile [2017/09/05 10:35] – [Handling TFile files] iwn | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Handling | + | [[root: |
+ | |||
+ | ====== Handling | ||
+ | |||
+ | Class references for: | ||
+ | * '' | ||
+ | * '' | ||
===== Adding a directory to a TFile ===== | ===== Adding a directory to a TFile ===== | ||
Line 28: | Line 34: | ||
===== gDirectory ===== | ===== gDirectory ===== | ||
- | Note that '' | + | Note that '' |
<file python gDirectory.py> | <file python gDirectory.py> | ||
Line 44: | Line 50: | ||
printGDirectory() | printGDirectory() | ||
- | print ">>> | + | print ">>> |
file = TFile(" | file = TFile(" | ||
tree = TTree(" | tree = TTree(" | ||
Line 63: | Line 69: | ||
printGDirectory() | printGDirectory() | ||
</ | </ | ||
- | |||