Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -52,8 +52,8 @@ G4HadFinalState * G4LENDCapture::ApplyYourself(const G4HadProjectile& aTrack, G4
|
||||
G4HadFinalState* theResult = &theParticleChange;
|
||||
theResult->Clear();
|
||||
|
||||
G4GIDI_target* aTarget = usedTarget_map.find( lend_manager->GetNucleusEncoding( iZ , iA , iM ) )->second->GetTarget();
|
||||
//std::vector<G4GIDI_Product>* products = aTarget->getCaptureFinalState( ke*MeV, temp, NULL, NULL );
|
||||
G4GIDI_target* aTarget = get_target_from_map( lend_manager->GetNucleusEncoding( iZ , iA , iM ) );
|
||||
if ( aTarget == NULL ) return returnUnchanged( aTrack , theResult );
|
||||
std::vector<G4GIDI_Product>* products = aTarget->getCaptureFinalState( ke*MeV, temp, MyRNG, NULL );
|
||||
|
||||
G4int ipZ = aTrack.GetDefinition()->GetAtomicNumber();
|
||||
|
||||
Reference in New Issue
Block a user