Pluto v6.3.0
Loading...
Searching...
No Matches
pp_cocktail_35.C
Go to the documentation of this file.
1//TITLE <b>Cocktails for 3.5GeV:</b> the pp reaction
2
3{
4
7
8 PParticle *beam = new PParticle(14, 3.5); // beam 14-proton
9 PParticle *target = new PParticle(14); // target
11
12 c = new PDecayChannel; //define reaction channels
13 c->AddChannel(0.61, "p", "D+");
14 c->AddChannel(0.03, "p", "p", "eta");
15 c->AddChannel(0.011, "p", "p", "w");
16 c->AddChannel(0.02, "p", "p", "rho0");
17
19 c_d->AddChannel(1.0, "e+", "e-");
20 pdm->AddChannel("dilepton", c_d);
21
23 c_pi0->AddChannel(.012, "g", "dilepton");
24 pdm->AddChannel("pi0", c_pi0);
25
27 c_delta->AddChannel(6.0e-5, "p", "dilepton"); // Delta
28 c_delta->AddChannel(0.666, "p", "pi0"); // add decay mode with weight + products
29 pdm->AddChannel("D+", c_delta);
30
32 c_eta->AddChannel(6.0e-3, "g", "dilepton"); // eta
33 pdm->AddChannel("eta", c_eta);
34
36 c_omega->AddChannel(7.0e-5, "e+", "e-"); // omega
37 c_omega->AddChannel(5.9e-4, "pi0", "dilepton");
38 pdm->AddChannel("w", c_omega);
39
41 c_rho->AddChannel(4.5e-5, "e+", "e-");
42 pdm->AddChannel("rho0", c_rho);
43
44 pdm->InitReaction(s, c); // cocktail production in p + p
45
46 Int_t n = pdm->loop(10000, 1, "pp35_cocktail", 1, 0, 0, 1, 1); // make events + vertices
47 cout << "Events processed: " << n << endl;
48
49 //Draw the spectrum:
50 //data->Draw("M()","ID() == 51 || ID()==52 || ID()==41");
51
52}
53
PChannel * c[]
PParticle * s
Definition dp_mult.C:25
PDecayManager * pdm
Definition dp_w_dalitz.C:5
Int_t n
Definition etap+omeg.C:21
PParticle * target
Definition fermi_dd.C:9
PParticle * beam
PDecayChannel * c_rho
PDecayChannel * c_delta
PDecayChannel * c_pi0
PDecayChannel * c_omega
PDecayChannel * c_d
PDecayChannel * c_eta