ATLAS Offline Software
|
Variables | |
cut = g.AthPyEx.MyCutClass(30*GeV) | |
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown. More... | |
ha = ROOT.TH1F ('accept','Test Acc',100,0,100000) | |
hr = ROOT.TH1F ('reject','Test Rej',100,0,100000) | |
econ = PyParticleTools.getElectrons("ElectronCollection") | |
eobj = econ[ie] | |
BindingsTest.cut = g.AthPyEx.MyCutClass(30*GeV) |
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
Definition at line 13 of file BindingsTest.py.
BindingsTest.econ = PyParticleTools.getElectrons("ElectronCollection") |
Definition at line 31 of file BindingsTest.py.
BindingsTest.eobj = econ[ie] |
Definition at line 33 of file BindingsTest.py.
BindingsTest.ha = ROOT.TH1F ('accept','Test Acc',100,0,100000) |
Definition at line 22 of file BindingsTest.py.
BindingsTest.hr = ROOT.TH1F ('reject','Test Rej',100,0,100000) |
Definition at line 23 of file BindingsTest.py.