Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PolarizedCompton.cc 97175 2016-05-27 12:42:05Z gcosmo $
|
||||
// $Id: G4PolarizedCompton.cc 105740 2017-08-16 13:05:44Z gcosmo $
|
||||
//
|
||||
//
|
||||
// File name: G4PolarizedCompton
|
||||
@@ -120,15 +120,15 @@ void G4PolarizedCompton::InitialiseProcess(const G4ParticleDefinition*)
|
||||
if(!isInitialised) {
|
||||
isInitialised = true;
|
||||
if(0 == mType) {
|
||||
if(!EmModel(1)) { SetEmModel(new G4KleinNishinaCompton(), 1); }
|
||||
if(!EmModel(0)) { SetEmModel(new G4KleinNishinaCompton()); }
|
||||
} else {
|
||||
emModel = new G4PolarizedComptonModel();
|
||||
SetEmModel(emModel, 1);
|
||||
}
|
||||
G4EmParameters* param = G4EmParameters::Instance();
|
||||
EmModel(1)->SetLowEnergyLimit(param->MinKinEnergy());
|
||||
EmModel(1)->SetHighEnergyLimit(param->MaxKinEnergy());
|
||||
AddEmModel(1, EmModel(1));
|
||||
EmModel(0)->SetLowEnergyLimit(param->MinKinEnergy());
|
||||
EmModel(0)->SetHighEnergyLimit(param->MaxKinEnergy());
|
||||
AddEmModel(1, EmModel(0));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ void G4PolarizedCompton::PrintInfo()
|
||||
{
|
||||
G4cout << " Total cross sections has a good parametrisation"
|
||||
<< " from 10 KeV to (100/Z) GeV"
|
||||
<< "\n Sampling according " << EmModel(1)->GetName() << " model"
|
||||
<< "\n Sampling according " << EmModel(0)->GetName() << " model"
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PolarizedGammaConversion.cc 85018 2014-10-23 09:51:37Z gcosmo $
|
||||
// $Id: G4PolarizedGammaConversion.cc 105740 2017-08-16 13:05:44Z gcosmo $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -75,10 +75,10 @@ void G4PolarizedGammaConversion::InitialiseProcess(const G4ParticleDefinition*)
|
||||
G4EmParameters* param = G4EmParameters::Instance();
|
||||
G4double emin = std::max(param->MinKinEnergy(), 2*electron_mass_c2);
|
||||
G4double emax = param->MaxKinEnergy();
|
||||
if(!EmModel(1)) { SetEmModel(new G4PolarizedGammaConversionModel(), 1); }
|
||||
EmModel(1)->SetLowEnergyLimit(emin);
|
||||
EmModel(1)->SetHighEnergyLimit(emax);
|
||||
AddEmModel(1, EmModel(1));
|
||||
if(!EmModel(0)) { SetEmModel(new G4PolarizedGammaConversionModel()); }
|
||||
EmModel(0)->SetLowEnergyLimit(emin);
|
||||
EmModel(0)->SetHighEnergyLimit(emax);
|
||||
AddEmModel(1, EmModel(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ePolarizedIonisation.cc 97175 2016-05-27 12:42:05Z gcosmo $
|
||||
// $Id: G4ePolarizedIonisation.cc 105740 2017-08-16 13:05:44Z gcosmo $
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// GEANT4 Class file
|
||||
@@ -137,7 +137,7 @@ void G4ePolarizedIonisation::InitialiseEnergyLossProcess(
|
||||
flucModel = FluctModel();
|
||||
|
||||
emModel = new G4PolarizedMollerBhabhaModel();
|
||||
SetEmModel(emModel, 1);
|
||||
SetEmModel(emModel);
|
||||
G4EmParameters* param = G4EmParameters::Instance();
|
||||
emModel->SetLowEnergyLimit(param->MinKinEnergy());
|
||||
emModel->SetHighEnergyLimit(param->MaxKinEnergy());
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4eplusPolarizedAnnihilation.cc 97175 2016-05-27 12:42:05Z gcosmo $
|
||||
// $Id: G4eplusPolarizedAnnihilation.cc 105740 2017-08-16 13:05:44Z gcosmo $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -77,7 +77,7 @@ G4eplusPolarizedAnnihilation::G4eplusPolarizedAnnihilation(const G4String& name)
|
||||
theTransverseAsymmetryTable(nullptr)
|
||||
{
|
||||
emModel = new G4PolarizedAnnihilationModel();
|
||||
SetEmModel(emModel, 1);
|
||||
SetEmModel(emModel);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
Reference in New Issue
Block a user