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

#include <G4INCLXXNeutronBuilder.hh>

Inheritance diagram for G4INCLXXNeutronBuilder:
Collaboration diagram for G4INCLXXNeutronBuilder:

Public Member Functions

 G4INCLXXNeutronBuilder ()
 
virtual ~G4INCLXXNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4HadronFissionProcess *aP)
 
virtual void Build (G4HadronCaptureProcess *aP)
 
virtual void Build (G4NeutronInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
void SetMinPreCompoundEnergy (G4double aM)
 
void SetMaxPreCompoundEnergy (G4double aM)
 
void UsePreCompound (const G4bool w)
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()
 
virtual ~G4VNeutronBuilder ()
 

Detailed Description

Builder for neutron processes using the INCL++ intra-nuclear cascade model.

By default the INCL++ model is used for projectile energies 0 - 3 GeV.

The builder uses INCL++ cascade model with G4ExcitationHandler de-excitation. This is implemented in interface G4INCLXXInterface.

See Also
G4INCLXXInterface
G4INCLXXProtonBuilder
G4INCLXXPiKBuilder

Definition at line 54 of file G4INCLXXNeutronBuilder.hh.

Constructor & Destructor Documentation

G4INCLXXNeutronBuilder::G4INCLXXNeutronBuilder ( )

Definition at line 39 of file G4INCLXXNeutronBuilder.cc.

40 {
41  withPreCompound = true;
42  thePreCompoundMin = 0;
43  thePreCompoundMax = 2*MeV;
44  theMin = 1.0*MeV;
45  theMax = 3.0*GeV;
48  thePreCompoundModel = static_cast<G4VPreCompoundModel*>(p);
49  if(!thePreCompoundModel) { thePreCompoundModel = new G4PreCompoundModel(); }
50  theModel = new G4INCLXXInterface(thePreCompoundModel);
51 }
const char * p
Definition: xmltok.h:285
INCL++ intra-nuclear cascade.
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
static constexpr double GeV
Definition: G4SIunits.hh:217
static constexpr double MeV
Definition: G4SIunits.hh:214

Here is the call graph for this function:

G4INCLXXNeutronBuilder::~G4INCLXXNeutronBuilder ( )
virtual

Definition at line 68 of file G4INCLXXNeutronBuilder.cc.

69 {
70  //delete theModel;
71 }

Member Function Documentation

void G4INCLXXNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 74 of file G4INCLXXNeutronBuilder.cc.

75 {
76 }
void G4INCLXXNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 79 of file G4INCLXXNeutronBuilder.cc.

80 {
81 }
void G4INCLXXNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 84 of file G4INCLXXNeutronBuilder.cc.

85 {
86 }
void G4INCLXXNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 54 of file G4INCLXXNeutronBuilder.cc.

55 {
56  if(withPreCompound) {
57  thePreCompoundModel->SetMinEnergy(thePreCompoundMin);
58  thePreCompoundModel->SetMaxEnergy(thePreCompoundMax);
59  aP->RegisterMe(thePreCompoundModel);
60  }
61  theModel->SetMinEnergy(theMin);
62  theModel->SetMaxEnergy(theMax);
63  aP->RegisterMe(theModel);
65 }
static const char * Default_Name()
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4CrossSectionDataSetRegistry * Instance()
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4INCLXXNeutronBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 67 of file G4INCLXXNeutronBuilder.hh.

67 {theMax = aM;}
void G4INCLXXNeutronBuilder::SetMaxPreCompoundEnergy ( G4double  aM)
inline

Definition at line 70 of file G4INCLXXNeutronBuilder.hh.

70 {thePreCompoundMax = aM;}
void G4INCLXXNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 66 of file G4INCLXXNeutronBuilder.hh.

66 {theMin = aM;}
void G4INCLXXNeutronBuilder::SetMinPreCompoundEnergy ( G4double  aM)
inline

Definition at line 69 of file G4INCLXXNeutronBuilder.hh.

69 {thePreCompoundMin = aM;}
void G4INCLXXNeutronBuilder::UsePreCompound ( const G4bool  w)
inline

Definition at line 72 of file G4INCLXXNeutronBuilder.hh.

72 { withPreCompound = w;}

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