#include <G4FTFPProtonBuilder.hh>
Definition at line 54 of file G4FTFPProtonBuilder.hh.
◆ G4FTFPProtonBuilder()
G4FTFPProtonBuilder::G4FTFPProtonBuilder |
( |
G4bool | quasiElastic = false | ) |
|
Definition at line 49 of file G4FTFPProtonBuilder.cc.
51{
54 theModel = new G4TheoFSGenerator("FTFP");
55
56 G4FTFModel* theStringModel = new G4FTFModel();
58
59 G4GeneratorPrecompoundInterface* theCascade =
60 new G4GeneratorPrecompoundInterface();
61
62 theModel->SetHighEnergyGenerator(theStringModel);
63 if (quasiElastic) {
64 theModel->SetQuasiElasticChannel(new G4QuasiElasticChannel());
65 }
66
67 theModel->SetTransport(theCascade);
68 theModel->SetMinEnergy(theMin);
69 theModel->SetMaxEnergy(theMax);
70}
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionFTF_Cascade() const
G4double GetMaxEnergy() const
void SetFragmentationModel(G4VStringFragmentation *aModel)
◆ ~G4FTFPProtonBuilder()
G4FTFPProtonBuilder::~G4FTFPProtonBuilder |
( |
| ) |
|
|
virtual |
◆ Build() [1/2]
|
inlinefinaloverridevirtual |
◆ Build() [2/2]
Implements G4VProtonBuilder.
Definition at line 72 of file G4FTFPProtonBuilder.cc.
74{
75 theModel->SetMinEnergy(theMin);
76 theModel->SetMaxEnergy(theMax);
78
80}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
◆ SetMaxEnergy()
virtual void G4FTFPProtonBuilder::SetMaxEnergy |
( |
G4double | aM | ) |
|
|
inlinefinaloverridevirtual |
◆ SetMinEnergy()
virtual void G4FTFPProtonBuilder::SetMinEnergy |
( |
G4double | aM | ) |
|
|
inlinefinaloverridevirtual |
The documentation for this class was generated from the following files: