ROOT
6.07/01
Reference Guide
|
Go to the source code of this file.
Namespaces | |
mrt | |
Variables | |
string | mrt.ifn = 'aptuple.txt' |
string | mrt.ofn = 'aptuple.root' |
tuple | mrt.infile = open( 'aptuple.txt', 'r' ) |
tuple | mrt.lines = infile.readlines() |
list | mrt.title = lines[0] |
tuple | mrt.labels = string.split( lines[1] ) |
tuple | mrt.outfile = TFile( ofn, 'RECREATE', 'ROOT file with an NTuple' ) |
tuple | mrt.ntuple = TNtuple( 'ntuple', title, string.join( labels, ':') ) |
tuple | mrt.words = string.split( line ) |
tuple | mrt.row = map( float, words ) |