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