Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the GEANT4 collaboration. *
|
||||
// * By copying, distributing or modifying the Program (or any work *
|
||||
// * based on the Program) you indicate your acceptance of this *
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4KaonMinusAbsorption.cc,v 1.2.8.2 2001/06/28 20:20:08 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4KaonMinusAbsorption.cc,v 1.5 2001/10/19 11:55:43 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file --- Copyright CERN 1998
|
||||
@@ -169,14 +169,14 @@ G4VParticleChange* G4KaonMinusAbsorption::AtRestDoIt(
|
||||
// probabilities are included.
|
||||
if (random<=runningSum)
|
||||
{
|
||||
targetCharge = G4double((*theElementVector)(i2)->GetZ());
|
||||
targetAtomicMass = (*theElementVector)(i2)->GetN();
|
||||
targetCharge = G4double( ((*theElementVector)[i2])->GetZ());
|
||||
targetAtomicMass = (*theElementVector)[i2]->GetN();
|
||||
}
|
||||
}
|
||||
if (random>runningSum)
|
||||
{
|
||||
targetCharge = G4double((*theElementVector)(numberOfElements-1)->GetZ());
|
||||
targetAtomicMass = (*theElementVector)(numberOfElements-1)->GetN();
|
||||
targetCharge = G4double((*theElementVector)[numberOfElements-1]->GetZ());
|
||||
targetAtomicMass = (*theElementVector)[numberOfElements-1]->GetN();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user