Pluto v6.3.0
Loading...
Searching...
No Matches
dp_w_dalitz.C
Go to the documentation of this file.
1//TITLE Omega Dalitz with decay manager in the p+d reaction
2
3{
6 pdm->SetVerbose(1); // Print really useful info
7
8 PParticle *p = new PParticle("p", 3.5); // proton beam
9 PParticle *d = new PParticle("d"); // deuteron target
10 PParticle *s = new PParticle(*p + *d); // composite quasiparticle
11
12 pdm->SetDefault("w"); // include omega decay modes
13 pdm->SetDefault("pi0"); // include pi0 decay modes
14 pdm->SetDefault("dilepton"); // e+e- production
15
17 c->AddChannel(0.1, "p", "d", "w"); // coherent reaction
18 c->AddChannel(0.9, "p", "p", "pi0", "n"); // breakup reaction (spec. last)
19 pdm->InitReaction(s, c); // initialize the reaction
20
21 pdm->loop(10000, 0, "pdomega", 1, 0, 0, 1, 0);
22 //arguments: num_events, weighting, filename, f0-f3, random_flag
23
24 //data->Draw("M()","(ID()==52) * W()");
25}
PParticle * d
PChannel * c[]
PParticle * p
Definition dp_mult.C:24
PParticle * s
Definition dp_mult.C:25
PDecayManager * pdm
Definition dp_w_dalitz.C:5