Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FTFPProtonBuilder Class Reference

#include <G4FTFPProtonBuilder.hh>

Inheritance diagram for G4FTFPProtonBuilder:
Collaboration diagram for G4FTFPProtonBuilder:

Public Member Functions

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

Detailed Description

Definition at line 57 of file G4FTFPProtonBuilder.hh.

Constructor & Destructor Documentation

G4FTFPProtonBuilder::G4FTFPProtonBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFPProtonBuilder.cc.

50 {
51  theMin = 4*GeV;
52  theMax = 100.*TeV;
53  theModel = new G4TheoFSGenerator("FTFP");
54 
55  theStringModel = new G4FTFModel;
56  theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
57  theStringModel->SetFragmentationModel(theStringDecay);
58 
59  theCascade = new G4GeneratorPrecompoundInterface();
60 
61  theModel->SetHighEnergyGenerator(theStringModel);
62  if (quasiElastic)
63  {
64  theQuasiElastic=new G4QuasiElasticChannel;
65  theModel->SetQuasiElasticChannel(theQuasiElastic);
66  } else
67  { theQuasiElastic=0;}
68 
69  theModel->SetTransport(theCascade);
70  theModel->SetMinEnergy(theMin);
71  theModel->SetMaxEnergy(100*TeV);
72 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4FTFPProtonBuilder::~G4FTFPProtonBuilder ( )
virtual

Definition at line 85 of file G4FTFPProtonBuilder.cc.

86 {
87  delete theStringDecay;
88  delete theStringModel;
89  if ( theQuasiElastic ) delete theQuasiElastic;
90  delete theLund;
91 }

Member Function Documentation

void G4FTFPProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 94 of file G4FTFPProtonBuilder.cc.

95 {
96 }
void G4FTFPProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 75 of file G4FTFPProtonBuilder.cc.

76 {
77  theModel->SetMinEnergy(theMin);
78  theModel->SetMaxEnergy(theMax);
79  aP->RegisterMe(theModel);
80 
82 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4Proton * Proton()
Definition: G4Proton.cc:93
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4FTFPProtonBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 68 of file G4FTFPProtonBuilder.hh.

68 {theMax = aM;}
void G4FTFPProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 67 of file G4FTFPProtonBuilder.hh.

67 {theMin = aM;}

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