#include <G4HadronicInteractionWrapper.hh>
Public Member Functions | |
G4HadFinalState * | ApplyInteraction (G4HadProjectile &thePro, G4Nucleus &targetNucleus, G4HadronicInteraction *theInteraction, const G4String &theProcessName, const G4String &theModelName) |
Definition at line 33 of file G4HadronicInteractionWrapper.hh.
G4HadFinalState * G4HadronicInteractionWrapper::ApplyInteraction | ( | G4HadProjectile & | thePro, | |
G4Nucleus & | targetNucleus, | |||
G4HadronicInteraction * | theInteraction, | |||
const G4String & | theProcessName, | |||
const G4String & | theModelName | |||
) |
Definition at line 29 of file G4HadronicInteractionWrapper.cc.
References G4HadronicInteraction::ApplyYourself(), G4HadronicWhiteBoard::Instance(), G4HadronicWhiteBoard::SetModelName(), G4HadronicWhiteBoard::SetProcessName(), G4HadronicWhiteBoard::SetProjectile(), and G4HadronicWhiteBoard::SetTargetNucleus().
00034 { 00035 static G4HadronicWhiteBoard & theBoard = G4HadronicWhiteBoard::Instance(); 00036 theBoard.SetProjectile(thePro); 00037 theBoard.SetTargetNucleus(targetNucleus); 00038 theBoard.SetProcessName(theProcessName); 00039 theBoard.SetModelName(theModelName); 00040 return theInteraction->ApplyYourself( thePro, targetNucleus); 00041 }