cxwx
2
there should be something wrong with
// If n(Pmin) < 1/Beta, and n(Pmax) >= 1/Beta, then we need to find a P such
// that the value of n(P) == 1/Beta. Interpolation is performed by the
// GetEnergy() and Value() methods of the G4MaterialPropertiesTable and
// the Value() method of G4PhysicsVector.
else
{
Pmin = Rindex->GetEnergy(BetaInverse);
dp = Pmax - Pmin;
G4double CAImin = CerenkovAngleIntegrals->Value(Pmin);
ge = CAImax - CAImin;
if(verboseLevel > 1)
{
G4cout << "CAImin = " << CAImin << G4endl << "ge = " << ge << G4endl;
}
}
}
that it use CerenkovAngleIntegrals->Value(Pmin);
cause (dp - ge * BetaInverse * BetaInverse) <0
which is generate by G4.
however I cannot the reproduce same bug on difference system, not sure why