Import Geant4 9.4.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4eMultipleScattering.cc,v 1.10 2009/11/01 13:05:01 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
// $Id: G4eMultipleScattering.cc,v 1.12 2010/06/04 09:11:02 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04-beta-01 $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -44,7 +44,7 @@
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "G4eMultipleScattering.hh"
|
||||
#include "G4UrbanMscModel92.hh"
|
||||
#include "G4UrbanMscModel93.hh"
|
||||
#include "G4MscStepLimitType.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4Positron.hh"
|
||||
@@ -76,20 +76,13 @@ G4bool G4eMultipleScattering::IsApplicable (const G4ParticleDefinition& p)
|
||||
|
||||
void G4eMultipleScattering::InitialiseProcess(const G4ParticleDefinition*)
|
||||
{
|
||||
if(isInitialized) return;
|
||||
if(isInitialized) { return; }
|
||||
|
||||
// initialisation of parameters - defaults for particles other
|
||||
// than ions can be overwritten by users
|
||||
G4VMscModel* mscUrban = new G4UrbanMscModel92();
|
||||
G4VMscModel* mscUrban = new G4UrbanMscModel93();
|
||||
AddEmModel(1,mscUrban);
|
||||
isInitialized = true;
|
||||
/*
|
||||
G4cout << "G4eMultipleScattering::InitialiseProcess for "
|
||||
<< p->GetParticleName()
|
||||
<< " skin= " << Skin()
|
||||
<< " SA= " << steppingAlgorithm
|
||||
<< G4endl;
|
||||
*/
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -97,11 +90,12 @@ void G4eMultipleScattering::InitialiseProcess(const G4ParticleDefinition*)
|
||||
void G4eMultipleScattering::PrintInfo()
|
||||
{
|
||||
G4cout << " RangeFactor= " << RangeFactor()
|
||||
<< ", step limit type: " << StepLimitType()
|
||||
<< ", lateralDisplacement: " << LateralDisplasmentFlag()
|
||||
<< ", skin= " << Skin()
|
||||
<< ", geomFactor= " << GeomFactor()
|
||||
<< G4endl;
|
||||
<< ", stepLimitType: " << StepLimitType()
|
||||
<< ", latDisplacement: " << LateralDisplasmentFlag();
|
||||
if(StepLimitType() == fUseDistanceToBoundary) {
|
||||
G4cout << ", skin= " << Skin() << ", geomFactor= " << GeomFactor();
|
||||
}
|
||||
G4cout << G4endl;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user