Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4eBremsstrahlungRelModel.cc,v 1.12 2008/11/13 23:28:27 schaelic Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4eBremsstrahlungRelModel.cc,v 1.14 2009/04/09 18:41:18 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -177,12 +177,7 @@ void G4eBremsstrahlungRelModel::Initialise(const G4ParticleDefinition* p,
|
||||
InitialiseElementSelectors(p, cuts);
|
||||
|
||||
if(isInitialised) return;
|
||||
|
||||
if(pParticleChange) {
|
||||
fParticleChange = reinterpret_cast<G4ParticleChangeForLoss*>(pParticleChange);
|
||||
} else {
|
||||
fParticleChange = new G4ParticleChangeForLoss();
|
||||
}
|
||||
fParticleChange = GetParticleChangeForLoss();
|
||||
isInitialised = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user