Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.

34 {
35  static G4ThreadLocal G4HadronicWhiteBoard *theBoard_G4MT_TLS_ = 0 ; if (!theBoard_G4MT_TLS_) theBoard_G4MT_TLS_ = & G4HadronicWhiteBoard::Instance();G4HadronicWhiteBoard &theBoard = *theBoard_G4MT_TLS_;
36  theBoard.SetProjectile(thePro);
37  theBoard.SetTargetNucleus(targetNucleus);
38  theBoard.SetProcessName(theProcessName);
39  theBoard.SetModelName(theModelName);
40  return theInteraction->ApplyYourself( thePro, targetNucleus);
41 }
void SetProcessName(const G4String &aProcessName)
void SetTargetNucleus(const G4Nucleus &aTarget)
void SetModelName(const G4String &aModelName)
#define G4ThreadLocal
Definition: tls.hh:89
static G4HadronicWhiteBoard & Instance()
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
void SetProjectile(const G4HadProjectile &aProjectile)

Here is the call graph for this function:


The documentation for this class was generated from the following files: