Pluto v6.3.0
Loading...
Searching...
No Matches
parse_eta.C
Go to the documentation of this file.
1//TITLE <b>Setting up reactions:</b> Use the one-liner parser to produce eta Dalitz events
2
3{
4 PUtils::SetSeed(123); //this is to have a fixed SEED. By default, the systime is used....
5
6 PReaction my_reaction("_T1 = 2.2", "p", "p", "p p eta [dilepton [e+ e-] g]", "eta_dalitz", 1, 0, 0, 0);
7
8 //_T1 is the beam kinetic energy
9 //one can use _P1 for the beam momentum
10 //and _T2, _P2 in addition for collider experiments (separated by ';')
11
12 my_reaction.Print(); //The "Print()" statement is optional
13 my_reaction.Loop(100000);
14}
static void SetSeed(UInt_t s)
Definition PUtils.h:164
PReaction my_reaction("_T1 = 2.2", "p", "p", "p p eta [dilepton [e+ e-] g]", "eta_dalitz", 1, 0, 0, 0)
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")