Pluto v6.3.0
Loading...
Searching...
No Matches
pp_elastic.C
Go to the documentation of this file.
1//TITLE: pp elastic scattering
2
3{
4 gROOT->Reset();
5
6 // pp elastic scattering with beam pz=1.687 GeV/c:
7 PParticle *p1 = new PParticle("p", 0, 0, 1.687);
8 PParticle *p2 = new PParticle("p");
9 PParticle *p3 = new PParticle("p");
10 PParticle *p4 = new PParticle("p");
11
12 PParticle *q = new PParticle(*p1 + *p2);
13 PParticle *s[] = {q,p3,p4};
15
16 //un-comment next line to have isotropic scattering:
17 //makeDistributionManager()->Disable("pp_elastic");
18
19 PChannel *c[] = {c1};
20 PReaction *r = new PReaction(c, "pp_elastic", 1, 1);
21 r->Print();
22 r->loop(500000);
23}
PParticle p4("p")
PChannel * c[]
PParticle q
Definition complete_eta.C:8
PParticle p3("p")
PParticle p2("p")
PReaction r(c,"eta_dalitz", 3, 0, 0, 0, 1)
PParticle p1("p", beam_energy)
PParticle * s
Definition dp_mult.C:25