Logo ROOT  
Reference Guide
hsimple Namespace Reference

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

Variable Documentation

◆ c1

hsimple.c1 = TCanvas("c1", "Dynamic Filling Example", 200, 10, 700, 500)

Definition at line 22 of file hsimple.py.

◆ frame

hsimple.frame = c1.GetFrame()

Definition at line 24 of file hsimple.py.

◆ hprof

hsimple.hprof = TProfile("hprof", "Profile of pz versus px", 100, -4, 4, 0, 20)

Definition at line 32 of file hsimple.py.

◆ hpx

hsimple.hpx = TH1F("hpx", "This is the px distribution", 100, -4, 4)

Definition at line 30 of file hsimple.py.

◆ hpxpy

hsimple.hpxpy = TH2F("hpxpy", "py vs px", 40, -4, 4, 40, -4, 4)

Definition at line 31 of file hsimple.py.

◆ ntuple

hsimple.ntuple = TNtuple("ntuple", "Demo ntuple", "px:py:pz:random:i")

Definition at line 33 of file hsimple.py.

◆ px

hsimple.px

Definition at line 43 of file hsimple.py.

◆ py

hsimple.py

Definition at line 43 of file hsimple.py.

◆ pz

hsimple.pz = px * px + py * py

Definition at line 45 of file hsimple.py.

◆ random

hsimple.random = numpy.random.rand()

Definition at line 46 of file hsimple.py.

◆ size

hsimple.size

Definition at line 43 of file hsimple.py.