Setting up reactions: Use the one-liner parser to produce eta Dalitz events


{
    PUtils::SetSeed(123); //this is to have a fixed SEED. By default, the systime is used....

    PReaction my_reaction("_T1 = 2.2", "p", "p", "p p eta [dilepton [e+ e-] g]", "eta_dalitz", 1, 0, 0, 0);
    
    //_T1 is the beam kinetic energy
    //one can use _P1 for the beam momentum
    //and _T2, _P2 in addition for collider experiments (separated by ';')

    my_reaction.Print();   //The "Print()" statement is optional
    my_reaction.Loop(100000);
}
 parse_eta.C:1
 parse_eta.C:2
 parse_eta.C:3
 parse_eta.C:4
 parse_eta.C:5
 parse_eta.C:6
 parse_eta.C:7
 parse_eta.C:8
 parse_eta.C:9
 parse_eta.C:10
 parse_eta.C:11
 parse_eta.C:12
 parse_eta.C:13
 parse_eta.C:14