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

#include <G4QGSBinaryNeutronBuilder.hh>

Inheritance diagram for G4QGSBinaryNeutronBuilder:
Collaboration diagram for G4QGSBinaryNeutronBuilder:

Public Member Functions

 G4QGSBinaryNeutronBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSBinaryNeutronBuilder ()
 
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 G4QGSBinaryNeutronBuilder.hh.

Constructor & Destructor Documentation

G4QGSBinaryNeutronBuilder::G4QGSBinaryNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 47 of file G4QGSBinaryNeutronBuilder.cc.

48 {
49  theMin = 12*GeV;
50  theModel = new G4TheoFSGenerator("QGSB");
51 
52  theStringModel = new G4QGSModel< G4QGSParticipants >;
53  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
54  theStringModel->SetFragmentationModel(theStringDecay);
55 
56  theCascade = new G4BinaryCascade;
57 
58  theModel->SetTransport(theCascade);
59  theModel->SetHighEnergyGenerator(theStringModel);
60  if (quasiElastic)
61  {
62  theQuasiElastic=new G4QuasiElasticChannel;
63  theModel->SetQuasiElasticChannel(theQuasiElastic);
64  } else
65  { theQuasiElastic=0;}
66 }
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:

G4QGSBinaryNeutronBuilder::~G4QGSBinaryNeutronBuilder ( )
virtual

Definition at line 69 of file G4QGSBinaryNeutronBuilder.cc.

70 {
71  delete theStringDecay;
72  delete theStringModel;
73  if ( theQuasiElastic ) delete theQuasiElastic;
74 }

Member Function Documentation

void G4QGSBinaryNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 77 of file G4QGSBinaryNeutronBuilder.cc.

78 {
79 }
void G4QGSBinaryNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 82 of file G4QGSBinaryNeutronBuilder.cc.

83 {
84 }
void G4QGSBinaryNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 87 of file G4QGSBinaryNeutronBuilder.cc.

88 {
89 }
void G4QGSBinaryNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 92 of file G4QGSBinaryNeutronBuilder.cc.

93 {
94  theModel->SetMinEnergy(theMin);
95  theModel->SetMaxEnergy(100*TeV);
96  aP->RegisterMe(theModel);
98 }
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 G4QGSBinaryNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4QGSBinaryNeutronBuilder.hh.

70 {theMin = aM;}

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