G4HadronicInteractionWrapper Class Reference

#include <G4HadronicInteractionWrapper.hh>


Public Member Functions

G4HadFinalStateApplyInteraction (G4HadProjectile &thePro, G4Nucleus &targetNucleus, G4HadronicInteraction *theInteraction, const G4String &theProcessName, const G4String &theModelName)


Detailed Description

Definition at line 33 of file G4HadronicInteractionWrapper.hh.


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:08 2013 for Geant4 by  doxygen 1.4.7