Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FTFBinaryProtonBuilder Class Reference

#include <G4FTFBinaryProtonBuilder.hh>

+ Inheritance diagram for G4FTFBinaryProtonBuilder:

Public Member Functions

 G4FTFBinaryProtonBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFBinaryProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()
 
virtual ~G4VProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4ProtonInelasticProcess *aP)=0
 

Detailed Description

Definition at line 59 of file G4FTFBinaryProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFBinaryProtonBuilder()

G4FTFBinaryProtonBuilder::G4FTFBinaryProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFBinaryProtonBuilder.cc.

51{
52 theMin = 4*GeV;
53 theModel = new G4TheoFSGenerator("FTFB");
54
55 theStringModel = new G4FTFModel;
56 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
57 theStringModel->SetFragmentationModel(theStringDecay);
58
59 theCascade = new G4BinaryCascade;
60 thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
61 theCascade->SetDeExcitation(thePreEquilib);
62 theModel->SetTransport(theCascade);
63
64 theModel->SetHighEnergyGenerator(theStringModel);
65 theModel->SetMinEnergy(theMin);
66 theModel->SetMaxEnergy(100*TeV);
67
68 if (quasiElastic)
69 {
70 theQuasiElastic=new G4QuasiElasticChannel;
71 theModel->SetQuasiElasticChannel(theQuasiElastic);
72 } else
73 { theQuasiElastic=0;}
74
75}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFBinaryProtonBuilder()

G4FTFBinaryProtonBuilder::~G4FTFBinaryProtonBuilder ( )
virtual

Definition at line 85 of file G4FTFBinaryProtonBuilder.cc.

87{
88 delete theStringDecay;
89 delete theStringModel;
90 delete theModel;
91 delete theCascade;
92 if ( theQuasiElastic ) delete theQuasiElastic;
93}

Member Function Documentation

◆ Build() [1/2]

void G4FTFBinaryProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 95 of file G4FTFBinaryProtonBuilder.cc.

97{
98}

◆ Build() [2/2]

void G4FTFBinaryProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 77 of file G4FTFBinaryProtonBuilder.cc.

79{
80 theModel->SetMinEnergy(theMin);
81 aP->RegisterMe(theModel);
83}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
Definition: G4Proton.cc:93

◆ SetMinEnergy()

void G4FTFBinaryProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4FTFBinaryProtonBuilder.hh.

69{theMin = aM;}

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