Geant4  10.02.p03
G4VHadronModelBuilder Class Referenceabstract

#include <G4VHadronModelBuilder.hh>

Inheritance diagram for G4VHadronModelBuilder:
Collaboration diagram for G4VHadronModelBuilder:

Public Member Functions

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

Protected Member Functions

virtual G4HadronicInteractionBuildModel ()=0
 

Private Member Functions

 G4VHadronModelBuilder (G4VHadronModelBuilder &)
 
G4VHadronModelBuilderoperator= (const G4VHadronModelBuilder &right)
 

Private Attributes

G4HadronicInteractionmodel
 
G4String name
 

Detailed Description

Definition at line 44 of file G4VHadronModelBuilder.hh.

Constructor & Destructor Documentation

◆ G4VHadronModelBuilder() [1/2]

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

Definition at line 41 of file G4VHadronModelBuilder.cc.

42  : model(0),name(aName)
43 {}
G4HadronicInteraction * model

◆ ~G4VHadronModelBuilder()

G4VHadronModelBuilder::~G4VHadronModelBuilder ( )
virtual

Definition at line 45 of file G4VHadronModelBuilder.cc.

46 {}

◆ G4VHadronModelBuilder() [2/2]

G4VHadronModelBuilder::G4VHadronModelBuilder ( G4VHadronModelBuilder )
private

Member Function Documentation

◆ BuildModel()

virtual G4HadronicInteraction* G4VHadronModelBuilder::BuildModel ( )
protectedpure virtual

Implemented in G4QGSBuilder, and G4FTFBuilder.

Here is the caller graph for this function:

◆ GetModel()

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
G4HadronicInteraction * model
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetName()

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

Definition at line 70 of file G4VHadronModelBuilder.hh.

71 {
72  return name;
73 }
Here is the caller graph for this function:

◆ operator=()

G4VHadronModelBuilder& G4VHadronModelBuilder::operator= ( const G4VHadronModelBuilder right)
private

Member Data Documentation

◆ model

G4HadronicInteraction* G4VHadronModelBuilder::model
private

Definition at line 66 of file G4VHadronModelBuilder.hh.

◆ name

G4String G4VHadronModelBuilder::name
private

Definition at line 67 of file G4VHadronModelBuilder.hh.


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