Pluto v6.3.0
Loading...
Searching...
No Matches
etap+omeg.C
Go to the documentation of this file.
1{
2 gROOT->Reset();
5 pdm->SetVerbose(1); // comment out to skip details
6 pdm->SetDefault("eta'"); // enable the desired channels
7 pdm->SetDefault("w");
8 pdm->SetDefault("rho0");
9 pdm->SetDefault("eta");
10 pdm->SetDefault("pi0");
11 pdm->SetDefault("dilepton");
12
13 PParticle *p=new PParticle("p", 2.62); // proton beam, Tlab (GeV)
14 PParticle *d=new PParticle("d"); // deuteron target
15 PParticle *s=new PParticle(*p + *d);
16 c = new PDecayChannel; // define the decay channel
17 c->AddChannel(0.1, "p", "d", "eta'"); // add decay mode with weight + products
18 c->AddChannel(0.9, "p", "d", "w"); // add decay mode with weight + products
19
20 pdm->InitReaction(s, c); // eta' production in p + d
21 Int_t n = pdm->loop(10000, 0, "etap+omeg", 0, 0, 0, 1); // make events + vertices
22 cout << "Events processed: " << n << endl;
23}
24
25
26
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
Int_t n
Definition etap+omeg.C:21