Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4QGSBinaryNeutronBuilder Class Reference

#include <G4QGSBinaryNeutronBuilder.hh>

Inheritance diagram for G4QGSBinaryNeutronBuilder:
G4VNeutronBuilder

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 60 of file G4QGSBinaryNeutronBuilder.hh.

Constructor & Destructor Documentation

G4QGSBinaryNeutronBuilder::G4QGSBinaryNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 48 of file G4QGSBinaryNeutronBuilder.cc.

References python.hepunit::GeV, G4VIntraNuclearTransportModel::SetDeExcitation(), G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4TheoFSGenerator::SetQuasiElasticChannel(), and G4TheoFSGenerator::SetTransport().

49 {
50  theMin = 12*GeV;
51  theModel = new G4TheoFSGenerator("QGSB");
52 
53  theStringModel = new G4QGSModel< G4QGSParticipants >;
54  theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
55  theStringModel->SetFragmentationModel(theStringDecay);
56 
57  theCascade = new G4BinaryCascade;
58  thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
59  theCascade->SetDeExcitation(thePreEquilib);
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)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4QGSBinaryNeutronBuilder::~G4QGSBinaryNeutronBuilder ( )
virtual

Definition at line 72 of file G4QGSBinaryNeutronBuilder.cc.

73 {
74  delete theStringDecay;
75  delete theStringModel;
76  delete thePreEquilib;
77  delete theCascade;
78  if ( theQuasiElastic ) delete theQuasiElastic;
79  delete theModel;
80 }

Member Function Documentation

void G4QGSBinaryNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 83 of file G4QGSBinaryNeutronBuilder.cc.

84 {
85 }
void G4QGSBinaryNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 88 of file G4QGSBinaryNeutronBuilder.cc.

89 {
90 }
void G4QGSBinaryNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 93 of file G4QGSBinaryNeutronBuilder.cc.

94 {
95 }
void G4QGSBinaryNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 98 of file G4QGSBinaryNeutronBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), and python.hepunit::TeV.

99 {
100  theModel->SetMinEnergy(theMin);
101  theModel->SetMaxEnergy(100*TeV);
102  aP->RegisterMe(theModel);
104 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void SetMaxEnergy(const G4double anEnergy)
void G4QGSBinaryNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 72 of file G4QGSBinaryNeutronBuilder.hh.

72 {theMin = aM;}

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