Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4QGSPNeutronBuilder Class Reference

#include <G4QGSPNeutronBuilder.hh>

Inheritance diagram for G4QGSPNeutronBuilder:
Collaboration diagram for G4QGSPNeutronBuilder:

Public Member Functions

 G4QGSPNeutronBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4HadronFissionProcess *aP)
 
virtual void Build (G4HadronCaptureProcess *aP)
 
virtual void Build (G4NeutronInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()
 
virtual ~G4VNeutronBuilder ()
 

Detailed Description

Definition at line 58 of file G4QGSPNeutronBuilder.hh.

Constructor & Destructor Documentation

G4QGSPNeutronBuilder::G4QGSPNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4QGSPNeutronBuilder.cc.

51 {
52  theMin = 12*GeV;
53  theModel = new G4TheoFSGenerator("QGSP");
54 
55  theStringModel = new G4QGSModel< G4QGSParticipants >;
56  theStringDecay = new G4ExcitedStringDecay(theQGSM = new G4QGSMFragmentation);
57  theStringModel->SetFragmentationModel(theStringDecay);
58 
59  theCascade = new G4GeneratorPrecompoundInterface();
60 
61  theModel->SetTransport(theCascade);
62  theModel->SetHighEnergyGenerator(theStringModel);
63  if (quasiElastic)
64  {
65  theQuasiElastic=new G4QuasiElasticChannel;
66  theModel->SetQuasiElasticChannel(theQuasiElastic);
67  } else
68  { theQuasiElastic=0;}
69 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4QGSPNeutronBuilder::~G4QGSPNeutronBuilder ( )
virtual

Definition at line 71 of file G4QGSPNeutronBuilder.cc.

72 {
73  delete theStringDecay;
74  if ( theQuasiElastic ) delete theQuasiElastic;
75  delete theQGSM;
76 }

Member Function Documentation

void G4QGSPNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 79 of file G4QGSPNeutronBuilder.cc.

80 {
81 }
void G4QGSPNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 84 of file G4QGSPNeutronBuilder.cc.

85 {
86 }
void G4QGSPNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 89 of file G4QGSPNeutronBuilder.cc.

90 {
91 }
void G4QGSPNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 94 of file G4QGSPNeutronBuilder.cc.

95 {
96  theModel->SetMinEnergy(theMin);
97  theModel->SetMaxEnergy(100*TeV);
98  aP->RegisterMe(theModel);
100 }
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4QGSPNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4QGSPNeutronBuilder.hh.

70 {theMin = aM;}

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