Import Geant4 10.3.0.beta source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PolarizedComptonModel.cc 93316 2015-10-16 12:36:02Z gcosmo $
|
||||
// $Id: G4PolarizedComptonModel.cc 96114 2016-03-16 18:51:33Z gcosmo $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -71,7 +71,7 @@ static const G4int nlooplim = 10000;
|
||||
|
||||
G4PolarizedComptonModel::G4PolarizedComptonModel(const G4ParticleDefinition*,
|
||||
const G4String& nam)
|
||||
: G4KleinNishinaCompton(0,nam),
|
||||
: G4KleinNishinaCompton(nullptr,nam),
|
||||
verboseLevel(0)
|
||||
{
|
||||
crossSectionCalculator = new G4PolarizedComptonCrossSection();
|
||||
@@ -91,7 +91,7 @@ G4double G4PolarizedComptonModel::ComputeAsymmetryPerAtom
|
||||
G4double asymmetry = 0.0 ;
|
||||
|
||||
G4double k0 = gammaEnergy / electron_mass_c2 ;
|
||||
G4double k1 = 1 + 2*k0 ;
|
||||
G4double k1 = 1. + 2.*k0 ;
|
||||
|
||||
asymmetry = -k0;
|
||||
asymmetry *= (k0 + 1.)*sqr(k1)*G4Log(k1) - 2.*k0*(5.*sqr(k0) + 4.*k0 + 1.);
|
||||
|
||||
Reference in New Issue
Block a user