Variables | |
| c1 = TCanvas("c1", "Dynamic Filling Example", 200, 10, 700, 500) | |
| frame = c1.GetFrame() | |
| hprof = TProfile("hprof", "Profile of pz versus px", 100, -4, 4, 0, 20) | |
| hpx = TH1F("hpx", "This is the px distribution", 100, -4, 4) | |
| hpxpy = TH2F("hpxpy", "py vs px", 40, -4, 4, 40, -4, 4) | |
| ntuple = TNtuple("ntuple", "Demo ntuple", "px:py:pz:random:i") | |
| px | |
| py | |
| pz = px * px + py * py | |
| random = numpy.random.rand() | |
| size | |
| hsimple.c1 = TCanvas("c1", "Dynamic Filling Example", 200, 10, 700, 500) |
Definition at line 22 of file hsimple.py.
| hsimple.frame = c1.GetFrame() |
Definition at line 24 of file hsimple.py.
Definition at line 32 of file hsimple.py.
Definition at line 30 of file hsimple.py.
| hsimple.hpxpy = TH2F("hpxpy", "py vs px", 40, -4, 4, 40, -4, 4) |
Definition at line 31 of file hsimple.py.
| hsimple.ntuple = TNtuple("ntuple", "Demo ntuple", "px:py:pz:random:i") |
Definition at line 33 of file hsimple.py.
| hsimple.px |
Definition at line 43 of file hsimple.py.
| hsimple.py |
Definition at line 43 of file hsimple.py.
| hsimple.random = numpy.random.rand() |
Definition at line 46 of file hsimple.py.
| hsimple.size |
Definition at line 43 of file hsimple.py.