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