Pluto
v6.3.0
Loading...
Searching...
No Matches
bulk_decay.C
Go to the documentation of this file.
1
//TITLE <PPlutoBulkDecay> Demonstrates the bulk decay option
2
3
{
4
PReaction
my_reaction
(6,
"p"
,
"p"
,
"p NS11+"
,
"n1535_sample_bulk"
, 1, 0, 0, 0);
5
6
PPlutoBulkDecay
*
pl
=
new
PPlutoBulkDecay
();
7
pl
->SetRecursiveMode(1);
//Let also the products decay
8
pl
->SetTauMax(0.001);
//maxTau in ns
9
my_reaction
.AddBulk(
pl
);
10
11
my_reaction
.loop(100000);
12
}
pl
PPlutoBulkDecay * pl
Definition
bulk_decay.C:6
PPlutoBulkDecay
Definition
PPlutoBulkDecay.h:11
PReaction
Definition
PReaction.h:37
my_reaction
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")
pluto6
macros
bulk_decay.C
Generated by
1.14.0