Logo ROOT  
Reference Guide
hist007_TH1_liveupdate Namespace Reference

Variables

 c1 = TCanvas( 'c1', 'The HSUM example', 200, 10, 600, 400 )
 gauss
list histos = [ 'total', 'main', 's1', 's2' ]
int kUPDATE = 500
 landau
 main = TH1F( 'main', 'Main contributor', 100, -4, 4 )
 s1 = TH1F( 's1', 'This is the first signal', 100, -4, 4 )
 s2 = TH1F( 's2', 'This is the second signal', 100, -4, 4 )
 slider = TSlider( 'slider', 'test', 4.2, 0, 4.6, total.GetMaximum(), 38 )
 total = TH1F( 'total', 'This is the total distribution', 100, -4, 4 )
 xmain = gauss( -1, 1.5 )
 xs1 = gauss( -0.5, 0.5 )
 xs2 = landau( 1, 0.15 )

Variable Documentation

◆ c1

hist007_TH1_liveupdate.c1 = TCanvas( 'c1', 'The HSUM example', 200, 10, 600, 400 )

Definition at line 15 of file hist007_TH1_liveupdate.py.

◆ gauss

hist007_TH1_liveupdate.gauss

Definition at line 36 of file hist007_TH1_liveupdate.py.

◆ histos

list hist007_TH1_liveupdate.histos = [ 'total', 'main', 's1', 's2' ]

Definition at line 39 of file hist007_TH1_liveupdate.py.

◆ kUPDATE

int hist007_TH1_liveupdate.kUPDATE = 500

Definition at line 44 of file hist007_TH1_liveupdate.py.

◆ landau

hist007_TH1_liveupdate.landau

Definition at line 36 of file hist007_TH1_liveupdate.py.

◆ main

hist007_TH1_liveupdate.main ( void ) = TH1F( 'main', 'Main contributor', 100, -4, 4 )

Definition at line 22 of file hist007_TH1_liveupdate.py.

◆ s1

hist007_TH1_liveupdate.s1 = TH1F( 's1', 'This is the first signal', 100, -4, 4 )

Definition at line 23 of file hist007_TH1_liveupdate.py.

◆ s2

hist007_TH1_liveupdate.s2 = TH1F( 's2', 'This is the second signal', 100, -4, 4 )

Definition at line 24 of file hist007_TH1_liveupdate.py.

◆ slider

hist007_TH1_liveupdate.slider = TSlider( 'slider', 'test', 4.2, 0, 4.6, total.GetMaximum(), 38 )

Definition at line 67 of file hist007_TH1_liveupdate.py.

◆ total

hist007_TH1_liveupdate.total = TH1F( 'total', 'This is the total distribution', 100, -4, 4 )

Definition at line 21 of file hist007_TH1_liveupdate.py.

◆ xmain

hist007_TH1_liveupdate.xmain = gauss( -1, 1.5 )

Definition at line 47 of file hist007_TH1_liveupdate.py.

◆ xs1

hist007_TH1_liveupdate.xs1 = gauss( -0.5, 0.5 )

Definition at line 48 of file hist007_TH1_liveupdate.py.

◆ xs2

hist007_TH1_liveupdate.xs2 = landau( 1, 0.15 )

Definition at line 49 of file hist007_TH1_liveupdate.py.