Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -380,10 +380,10 @@ void G4BertiniEvaporation::fillResult( G4std::vector<G4DynamicParticle *> second
|
||||
G4FragmentVector * aResult )
|
||||
{
|
||||
// Fill the vector pParticleChange with secondary particles stored in vector.
|
||||
for ( G4int i = 0 ; i < secondaryParticleVector.size() ; i++ )
|
||||
for ( size_t i = 0 ; i < secondaryParticleVector.size() ; i++ )
|
||||
{
|
||||
G4int aZ = secondaryParticleVector[i]->GetDefinition()->GetPDGCharge();
|
||||
G4int aA = secondaryParticleVector[i]->GetDefinition()->GetBaryonNumber();
|
||||
G4int aZ = static_cast<G4int> (secondaryParticleVector[i]->GetDefinition()->GetPDGCharge() );
|
||||
G4int aA = static_cast<G4int> (secondaryParticleVector[i]->GetDefinition()->GetBaryonNumber());
|
||||
G4LorentzVector aMomentum = secondaryParticleVector[i]->Get4Momentum();
|
||||
if(aA>0)
|
||||
{
|
||||
|
||||
+2
-2
@@ -127,8 +127,8 @@ G4double G4BertiniEvaporationChannel::getQ()
|
||||
// secondary particle and the initial and residual nuclei
|
||||
G4int residualZ = nucleusZ - particleZ;
|
||||
G4int residualA = nucleusA - particleA;
|
||||
G4int residualN = residualA - residualZ;
|
||||
G4int nucleusN = nucleusA - nucleusZ;
|
||||
// G4int residualN = residualA - residualZ;
|
||||
// G4int nucleusN = nucleusA - nucleusZ;
|
||||
|
||||
// All the following are by default in MeV
|
||||
const G4double e1 = G4NucleiProperties::GetMassExcess( residualA, residualZ );
|
||||
|
||||
Reference in New Issue
Block a user