ROOT
master
Reference Guide
Loading...
Searching...
No Matches
na49geomfile.py
Go to the documentation of this file.
1
## \file
2
## \ingroup tutorial_pyroot
3
## Before executing this macro, the file makegeometry.C must have been executed
4
##
5
## \macro_code
6
##
7
## \author Wim Lavrijsen
8
9
import
ROOT
10
11
ROOT.gBenchmark.Start(
'geometry'
)
12
na = ROOT.TFile(
'py-na49.root'
,
'RECREATE'
)
13
n49 = ROOT.gROOT.FindObject(
'na49'
)
14
n49.Write()
15
na.Write()
16
na.Close()
17
ROOT.gBenchmark.Show(
'geometry'
)
18
tutorials
pyroot
na49geomfile.py
ROOT master - Reference Guide Generated on Tue Dec 10 2024 09:34:58 (GVA Time) using Doxygen 1.9.8