Pluto v6.3.0
Loading...
Searching...
No Matches
etap.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 pdm->SetDefault("dimuon");
13 pdm->SetDefault("g");
14
15 PParticle *p = new PParticle("p", 2.62); // proton beam, Tlab (GeV)
16 PParticle *d = new PParticle("d"); // deuteron target
17 PParticle *s = new PParticle(*p + *d);
18 c = new PDecayChannel; // define the decay channel
19 c->AddChannel(1.0, "p", "d", "eta'"); // add decay mode with weight + products
20
21 pdm->InitReaction(s, c); // eta' production in p + d
22 //pdm->setMaxFileSize(100000);
23 Int_t n = pdm->loop(10000, 0, "etap", 0, 0, 0, 1); // make events + vertices
24 cout << "Events processed: " << n << endl;
25}
26
27
28
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