Skip to content
Snippets Groups Projects
Commit 2a3939c9 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

* Fixing error message for Gamma Decay when BR is over 100%

parent bd36bbae
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,7 @@ void EventGeneratorGammaDecay::PrepareCascade(){
// Check that the total ratio is not over 100% (below is allowed)
if(TotalRatio>1) {
G4cout << "Gamma Decay Error: Sum of branching ratio is over 100%" << G4endl;
cout << "Gamma Decay Error: Sum of branching ratio is over 100%" << endl;
exit(1);
}
......
......@@ -22,8 +22,16 @@ TwoBodyReaction
Light= 1H
Heavy= 57Ni
ExcitationEnergyLight= 0.0 MeV
ExcitationEnergyHeavy= 0.0 MeV
ExcitationEnergyHeavy= 1.0 MeV
DoubleDifferentialCrossSectionPath= 56Nidp.root h
ShootLight= 1
ShootHeavy= 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GammaCascade 57Ni
Energies= 1.0
BranchingRatio= 70
GammaCascade 57Ni
Energies= 0.5 0.5
BranchingRatio= 20
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment