Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VHadronModelBuilder Class Referenceabstract

#include <G4VHadronModelBuilder.hh>

Inheritance diagram for G4VHadronModelBuilder:

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.

42  : model(0),name(aName)
43 {}
const XML_Char XML_Content * model
Definition: expat.h:151
G4VHadronModelBuilder::~G4VHadronModelBuilder ( )
virtual

Definition at line 45 of file G4VHadronModelBuilder.cc.

46 {}

Member Function Documentation

virtual G4HadronicInteraction* G4VHadronModelBuilder::BuildModel ( )
protectedpure virtual

Implemented in G4QGSBuilder, and G4FTFBuilder.

Here is the caller graph for this function:

G4HadronicInteraction * G4VHadronModelBuilder::GetModel ( )

Definition at line 48 of file G4VHadronModelBuilder.cc.

49 {
50  if(!model) model = BuildModel();
51  return model;
52 }
virtual G4HadronicInteraction * BuildModel()=0
const XML_Char XML_Content * model
Definition: expat.h:151

Here is the call graph for this function:

Here is the caller graph for this function:

const G4String & G4VHadronModelBuilder::GetName ( void  ) const
inline

Definition at line 70 of file G4VHadronModelBuilder.hh.

71 {
72  return name;
73 }
const XML_Char * name
Definition: expat.h:151

Here is the caller graph for this function:


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