Import Geant4 8.0.0 source tree
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4VEmProcess.cc,v 1.30 2005/05/30 08:22:38 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4VEmProcess.cc,v 1.32 2005/09/04 17:03:53 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -40,8 +40,10 @@
|
||||
// 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivanchenko)
|
||||
// 11-03-05 Shift verbose level by 1, add applyCuts and killPrimary flags (V.Ivanchenko)
|
||||
// 14-03-05 Update logic PostStepDoIt (V.Ivanchenko)
|
||||
// 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko)
|
||||
// 18-04-05 Use G4ParticleChangeForGamma (V.Ivantchenko)
|
||||
// 08-04-05 Major optimisation of internal interfaces (V.Ivanchenko)
|
||||
// 18-04-05 Use G4ParticleChangeForGamma (V.Ivanchenko)
|
||||
// 25-07-05 Add protection: integral mode only for charged particles (V.Ivanchenko)
|
||||
// 04-09-05 default lambdaFactor 0.8 (V.Ivanchenko)
|
||||
//
|
||||
//
|
||||
// Class Description:
|
||||
@@ -81,7 +83,7 @@ G4VEmProcess::G4VEmProcess(const G4String& name, G4ProcessType type):
|
||||
particle(0),
|
||||
secondaryParticle(0),
|
||||
nLambdaBins(90),
|
||||
lambdaFactor(0.1),
|
||||
lambdaFactor(0.8),
|
||||
currentCouple(0),
|
||||
integral(false),
|
||||
meanFreePath(true),
|
||||
@@ -338,6 +340,9 @@ void G4VEmProcess::PrintInfoDefinition()
|
||||
if(verboseLevel > 0) {
|
||||
G4cout << G4endl << GetProcessName() << ": " ;
|
||||
PrintInfo();
|
||||
if(integral) {
|
||||
G4cout << " Integral mode is used "<< G4endl;
|
||||
}
|
||||
}
|
||||
|
||||
if (!buildLambdaTable) return;
|
||||
@@ -570,7 +575,7 @@ const G4PhysicsTable* G4VEmProcess::LambdaTable() const
|
||||
|
||||
void G4VEmProcess::SetIntegral(G4bool val)
|
||||
{
|
||||
integral = val;
|
||||
if(particle && particle != theGamma) integral = val;
|
||||
if(integral) buildLambdaTable = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user