Problem 112

Summary: Why is the pi+ decalred stable and the pi- unstable? Decay tables?
Product: Geant4 Reporter: lebrun
Component: particlesAssignee: kurasige
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.1   
Hardware: PC   
OS: Linux   

Description lebrun 2000-06-27 15:25:12 CEST
//             stable         lifetime    decay table
Unless I got a corrupted releases, I am seriously puzzled by the decay process
for the charge pions. Here is the code in G4PionPlus.cc

// In this version, charged pions are set to stable
G4PionPlus G4PionPlus::thePionPlus(
		 "pi+",  0.1395700*GeV,  2.5284e-14*MeV,    +1.*eplus,
		    0,              -1,             0,
		    2,              +2,            -1,
	      "meson",               0,             0,         211,
		 true,       26.030*ns,          NULL
);

and G4PionMinus.cc

//             stable         lifetime    decay table
//
G4PionMinus G4PionMinus::thePionMinus(
	        "pi-",   0.1395700*GeV, 2.5284e-14*MeV,    -1.*eplus,
		    0,              -1,             0,
		    2,              -2,            -1,
	      "meson",               0,             0,        -211,
		false,       26.030*ns,          NULL
);
Comment 1 kurasige 2000-06-28 01:58:59 CEST
It's a simple mistake.
However, it cause no harm because the stable flag is set to be "false" properly
inside the constructor.

Fixed version will come after next major release.