Pluto v6.3.0
Loading...
Searching...
No Matches
hello_world.C File Reference

Go to the source code of this file.

Functions

my_reaction Do ("theta_ep = ([e+]->Theta() * 180.)/TMath::Pi()")
my_reaction Output (ntuple)
my_reaction Do ("#opang_filter = 0; if opang > (9./180.)*TMath::Pi(); #opang_filter = 1")
my_reaction Do (histo1,"if opang > (9./180.)*TMath::Pi(); _x = ([e+] + [e-])->M()")
cout<< my_reaction.Loop(100000)<< " events recorded"<< endl;histo1-> Draw ()
f Write ()

Variables

TNtuple * ntuple = new TNtuple("ntuple", "data from Pluto events", "eta_px:eta_py:eta_pz:opang")
TH1F * histo1 = new TH1F ("histo1", "dilepton mass with opening angle < 9deg", 100, 0.0, 0.7)
PReaction my_reaction ("3.5", "p", "p", "p p eta [g dilepton [e+ e-]]", "eta_dalitz")

Function Documentation

◆ Do() [1/3]

my_reaction Do ( "# opang_filter = 0; if opang)

◆ Do() [2/3]

my_reaction Do ( )

◆ Do() [3/3]

my_reaction Do ( histo1 ,
"if opang )

◆ Draw()

cout<< my_reaction.Loop(100000)<< " events recorded"<< endl;histo1-> Draw ( )

◆ Output()

my_reaction Output ( ntuple )

◆ Write()

f Write ( )

Variable Documentation

◆ histo1

TH1F* histo1 = new TH1F ("histo1", "dilepton mass with opening angle < 9deg", 100, 0.0, 0.7)

Definition at line 16 of file hello_world.C.

◆ my_reaction

PReaction my_reaction("3.5", "p", "p", "p p eta [g dilepton [e+ e-]]", "eta_dalitz") ( "3.5" ,
"p" ,
"p" ,
"p p eta ]" [g dilepton[e+e-],
"eta_dalitz"  )

◆ ntuple

TNtuple* ntuple = new TNtuple("ntuple", "data from Pluto events", "eta_px:eta_py:eta_pz:opang")

Definition at line 13 of file hello_world.C.