G4VHadronModelBuilder Class Reference

#include <G4VHadronModelBuilder.hh>

Inheritance diagram for G4VHadronModelBuilder:

G4FTFBuilder G4QGSBuilder

Public Member Functions

 G4VHadronModelBuilder (const G4String &name="")
virtual ~G4VHadronModelBuilder ()
G4HadronicInteractionGetModel ()
const G4StringGetName () const

Protected Member Functions

virtual G4HadronicInteractionBuildModel ()=0

Detailed Description

Definition at line 44 of file G4VHadronModelBuilder.hh.


Constructor & Destructor Documentation

G4VHadronModelBuilder::G4VHadronModelBuilder ( const G4String name = ""  ) 

Definition at line 41 of file G4VHadronModelBuilder.cc.

00042   : model(0),name(aName)
00043 {}

G4VHadronModelBuilder::~G4VHadronModelBuilder (  )  [virtual]

Definition at line 45 of file G4VHadronModelBuilder.cc.

00046 {}                                     


Member Function Documentation

virtual G4HadronicInteraction* G4VHadronModelBuilder::BuildModel (  )  [protected, pure virtual]

Implemented in G4FTFBuilder, and G4QGSBuilder.

Referenced by GetModel().

G4HadronicInteraction * G4VHadronModelBuilder::GetModel (  ) 

Definition at line 48 of file G4VHadronModelBuilder.cc.

References BuildModel().

Referenced by G4VHadronPhysics::BuildModel(), and G4IonPhysics::ConstructProcess().

00049 {
00050   if(!model) model = BuildModel();
00051   return model;
00052 }

const G4String & G4VHadronModelBuilder::GetName (  )  const [inline]

Definition at line 70 of file G4VHadronModelBuilder.hh.

Referenced by G4QGSBuilder::BuildModel(), and G4FTFBuilder::BuildModel().

00071 {
00072   return name;
00073 }


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