Geant4  10.02.p03
G4FTFBuilder Class Reference

#include <G4FTFBuilder.hh>

Inheritance diagram for G4FTFBuilder:
Collaboration diagram for G4FTFBuilder:

Public Member Functions

 G4FTFBuilder (const G4String &name="FTF", G4PreCompoundModel *p=0)
 
virtual ~G4FTFBuilder ()
 
- Public Member Functions inherited from G4VHadronModelBuilder
 G4VHadronModelBuilder (const G4String &name="")
 
virtual ~G4VHadronModelBuilder ()
 
G4HadronicInteractionGetModel ()
 
const G4StringGetName () const
 

Protected Member Functions

virtual G4HadronicInteractionBuildModel ()
 

Private Member Functions

 G4FTFBuilder (G4FTFBuilder &)
 
G4FTFBuilderoperator= (const G4FTFBuilder &right)
 

Private Attributes

G4FTFModelfStringModel
 
G4ExcitedStringDecayfStringDecay
 
G4PreCompoundModelfPreCompound
 
G4GeneratorPrecompoundInterfacefPrecoInterface
 
G4LundStringFragmentationfLund
 

Detailed Description

Definition at line 50 of file G4FTFBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBuilder() [1/2]

G4FTFBuilder::G4FTFBuilder ( const G4String name = "FTF",
G4PreCompoundModel p = 0 
)

Definition at line 49 of file G4FTFBuilder.cc.

50  : G4VHadronModelBuilder(aName),
53 {}
G4FTFModel * fStringModel
Definition: G4FTFBuilder.hh:69
G4GeneratorPrecompoundInterface * fPrecoInterface
Definition: G4FTFBuilder.hh:73
G4PreCompoundModel * fPreCompound
Definition: G4FTFBuilder.hh:71
G4LundStringFragmentation * fLund
Definition: G4FTFBuilder.hh:74
G4VHadronModelBuilder(const G4String &name="")
G4ExcitedStringDecay * fStringDecay
Definition: G4FTFBuilder.hh:70

◆ ~G4FTFBuilder()

G4FTFBuilder::~G4FTFBuilder ( )
virtual

Definition at line 55 of file G4FTFBuilder.cc.

56 {
57  delete fStringDecay;
58  delete fStringModel;
59  delete fLund;
60 }
G4FTFModel * fStringModel
Definition: G4FTFBuilder.hh:69
G4LundStringFragmentation * fLund
Definition: G4FTFBuilder.hh:74
G4ExcitedStringDecay * fStringDecay
Definition: G4FTFBuilder.hh:70

◆ G4FTFBuilder() [2/2]

G4FTFBuilder::G4FTFBuilder ( G4FTFBuilder )
private

Member Function Documentation

◆ BuildModel()

G4HadronicInteraction * G4FTFBuilder::BuildModel ( )
protectedvirtual

Implements G4VHadronModelBuilder.

Definition at line 62 of file G4FTFBuilder.cc.

63 {
64  G4TheoFSGenerator* theFTFModel = new G4TheoFSGenerator(GetName());
65  fStringModel = new G4FTFModel();
70 
71  if(!fPreCompound) {
73  }
74 
75  if(GetName() == "FTFB") {
77  theFTFModel->SetTransport(bic);
78 
79  } else {
81  theFTFModel->SetTransport(fPrecoInterface);
82  }
83 
84  return theFTFModel;
85 }
G4FTFModel * fStringModel
Definition: G4FTFBuilder.hh:69
G4GeneratorPrecompoundInterface * fPrecoInterface
Definition: G4FTFBuilder.hh:73
void SetFragmentationModel(G4VStringFragmentation *aModel)
G4PreCompoundModel * fPreCompound
Definition: G4FTFBuilder.hh:71
const G4String & GetName() const
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4LundStringFragmentation * fLund
Definition: G4FTFBuilder.hh:74
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4ExcitedStringDecay * fStringDecay
Definition: G4FTFBuilder.hh:70
Here is the call graph for this function:

◆ operator=()

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

Member Data Documentation

◆ fLund

G4LundStringFragmentation* G4FTFBuilder::fLund
private

Definition at line 74 of file G4FTFBuilder.hh.

◆ fPrecoInterface

G4GeneratorPrecompoundInterface* G4FTFBuilder::fPrecoInterface
private

Definition at line 73 of file G4FTFBuilder.hh.

◆ fPreCompound

G4PreCompoundModel* G4FTFBuilder::fPreCompound
private

Definition at line 71 of file G4FTFBuilder.hh.

◆ fStringDecay

G4ExcitedStringDecay* G4FTFBuilder::fStringDecay
private

Definition at line 70 of file G4FTFBuilder.hh.

◆ fStringModel

G4FTFModel* G4FTFBuilder::fStringModel
private

Definition at line 69 of file G4FTFBuilder.hh.


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