Import Geant4 8.3.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4hMultipleScattering.cc,v 1.1 2006/10/26 11:04:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
// $Id: G4hMultipleScattering.cc,v 1.3 2007/03/20 15:40:59 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-03 $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -37,6 +37,8 @@
|
||||
// Creation date: 24.10.2006 cloned from G4MultipleScattering
|
||||
//
|
||||
// Modified:
|
||||
// 12-02-07 skin can be changed via UI command (VI)
|
||||
// 20.03.07 Remove local parameter skin, set facgeom=0.1(V.Ivanchenko)
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -62,11 +64,7 @@ G4hMultipleScattering::G4hMultipleScattering(const G4String& processName)
|
||||
facrange = 0.2;
|
||||
dtrl = 0.05;
|
||||
lambdalimit = 1.*mm;
|
||||
facgeom = 0.5;
|
||||
// there is no single scattering for this skin <= 0
|
||||
// to have single scattering at boundary
|
||||
// skin should be > 0 !
|
||||
skin = 0.;
|
||||
facgeom = 0.1;
|
||||
|
||||
steppingAlgorithm = false;
|
||||
samplez = false ;
|
||||
@@ -77,6 +75,7 @@ G4hMultipleScattering::G4hMultipleScattering(const G4String& processName)
|
||||
SetMaxKinEnergy(highKineticEnergy);
|
||||
|
||||
SetLateralDisplasmentFlag(true);
|
||||
SetSkin(0.0);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -110,17 +109,22 @@ void G4hMultipleScattering::InitialiseProcess(const G4ParticleDefinition* p)
|
||||
{
|
||||
if(isInitialized) {
|
||||
mscUrban->SetMscStepLimitation(steppingAlgorithm, facrange);
|
||||
if (p->GetParticleType() != "nucleus") {
|
||||
mscUrban->SetLateralDisplasmentFlag(LateralDisplasmentFlag());
|
||||
mscUrban->SetSkin(Skin());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (p->GetParticleType() == "nucleus") {
|
||||
SetLateralDisplasmentFlag(false);
|
||||
SetBuildLambdaTable(false);
|
||||
SetSkin(0.0);
|
||||
} else {
|
||||
SetBuildLambdaTable(true);
|
||||
}
|
||||
mscUrban = new G4UrbanMscModel(facrange,dtrl,lambdalimit,
|
||||
facgeom,skin,
|
||||
facgeom,Skin(),
|
||||
samplez,steppingAlgorithm);
|
||||
mscUrban->SetLateralDisplasmentFlag(LateralDisplasmentFlag());
|
||||
mscUrban->SetLowEnergyLimit(lowKineticEnergy);
|
||||
|
||||
Reference in New Issue
Block a user