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

#include <G4NeutronLENDBuilder.hh>

Inheritance diagram for G4NeutronLENDBuilder:
Collaboration diagram for G4NeutronLENDBuilder:

Public Member Functions

 G4NeutronLENDBuilder (G4String eva="")
 
virtual ~G4NeutronLENDBuilder ()
 
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 SetMinInelasticEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
void SetMaxInelasticEnergy (G4double aM)
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()
 
virtual ~G4VNeutronBuilder ()
 

Detailed Description

Definition at line 46 of file G4NeutronLENDBuilder.hh.

Constructor & Destructor Documentation

G4NeutronLENDBuilder::G4NeutronLENDBuilder ( G4String  eva = "")

Definition at line 33 of file G4NeutronLENDBuilder.cc.

34 {
35  theLENDElastic = 0;
36  theLENDElasticCrossSection = 0;
37 
38  theLENDFission = 0;
39  theLENDFissionCrossSection = 0;
40 
41  theLENDCapture = 0;
42  theLENDCaptureCrossSection = 0;
43 
44  theLENDInelastic = 0;
45  theLENDInelasticCrossSection = 0;
46 
47  theMin = 0;
48  theIMin = theMin;
49  theMax = 20*MeV;
50  theIMax = theMax;
51  evaluation = eva;
52 
53 }
static constexpr double MeV
Definition: G4SIunits.hh:214
G4NeutronLENDBuilder::~G4NeutronLENDBuilder ( )
virtual

Definition at line 56 of file G4NeutronLENDBuilder.cc.

57 {}

Member Function Documentation

void G4NeutronLENDBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 60 of file G4NeutronLENDBuilder.cc.

61 {
62  if(theLENDElastic==0) theLENDElastic = new G4LENDElastic( G4Neutron::Neutron() );
63  theLENDElastic->SetMinEnergy(theMin);
64  theLENDElastic->SetMaxEnergy(theMax);
65 
66  if ( evaluation != "" ) theLENDElastic->ChangeDefaultEvaluation( evaluation );
67  //theLENDElastic->AllowNaturalAbundanceTarget();
68  theLENDElastic->AllowAnyCandidateTarget();
69  if(theLENDElasticCrossSection == 0) theLENDElasticCrossSection = new G4LENDElasticCrossSection( G4Neutron::Neutron() );
70  if ( evaluation != "" ) theLENDElasticCrossSection->ChangeDefaultEvaluation( evaluation );
71  //theLENDElasticCrossSection->AllowNaturalAbundanceTarget();
72  theLENDElasticCrossSection->AllowAnyCandidateTarget();
73  aP->AddDataSet(theLENDElasticCrossSection);
74  aP->RegisterMe(theLENDElastic);
75 }
void AllowAnyCandidateTarget()
Definition: G4LENDModel.hh:64
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void ChangeDefaultEvaluation(G4String name)
Definition: G4LENDModel.hh:62
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void SetMaxEnergy(const G4double anEnergy)
void ChangeDefaultEvaluation(G4String name_tmp)

Here is the call graph for this function:

void G4NeutronLENDBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 78 of file G4NeutronLENDBuilder.cc.

79 {
80  if(theLENDFission == 0) theLENDFission = new G4LENDFission( G4Neutron::Neutron() );
81  theLENDFission->SetMinEnergy(theMin);
82  theLENDFission->SetMaxEnergy(theMax);
83  if ( evaluation != "" ) theLENDFission->ChangeDefaultEvaluation( evaluation );
84  //theLENDFission->AllowNaturalAbundanceTarget();
85  theLENDFission->AllowAnyCandidateTarget();
86  if(theLENDFissionCrossSection==0) theLENDFissionCrossSection=new G4LENDFissionCrossSection( G4Neutron::Neutron() );
87  if ( evaluation != "" ) theLENDFissionCrossSection->ChangeDefaultEvaluation( evaluation );
88  //theLENDFissionCrossSection->AllowNaturalAbundanceTarget();
89  theLENDFissionCrossSection->AllowAnyCandidateTarget();
90  aP->AddDataSet(theLENDFissionCrossSection);
91  aP->RegisterMe(theLENDFission);
92 }
void AllowAnyCandidateTarget()
Definition: G4LENDModel.hh:64
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void ChangeDefaultEvaluation(G4String name)
Definition: G4LENDModel.hh:62
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void SetMaxEnergy(const G4double anEnergy)
void ChangeDefaultEvaluation(G4String name_tmp)

Here is the call graph for this function:

void G4NeutronLENDBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 95 of file G4NeutronLENDBuilder.cc.

96 {
97  if(theLENDCapture==0) theLENDCapture = new G4LENDCapture( G4Neutron::Neutron() );
98  theLENDCapture->SetMinEnergy(theMin);
99  theLENDCapture->SetMaxEnergy(theMax);
100  if ( evaluation != "" ) theLENDCapture->ChangeDefaultEvaluation( evaluation );
101  //theLENDCapture->AllowNaturalAbundanceTarget();
102  theLENDCapture->AllowAnyCandidateTarget();
103  if(theLENDCaptureCrossSection==0) theLENDCaptureCrossSection = new G4LENDCaptureCrossSection( G4Neutron::Neutron() );
104  if ( evaluation != "" ) theLENDCaptureCrossSection->ChangeDefaultEvaluation( evaluation );
105  //theLENDCaptureCrossSection->AllowNaturalAbundanceTarget();
106  theLENDCaptureCrossSection->AllowAnyCandidateTarget();
107  aP->AddDataSet(theLENDCaptureCrossSection);
108  aP->RegisterMe(theLENDCapture);
109 }
void AllowAnyCandidateTarget()
Definition: G4LENDModel.hh:64
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void ChangeDefaultEvaluation(G4String name)
Definition: G4LENDModel.hh:62
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void SetMaxEnergy(const G4double anEnergy)
void ChangeDefaultEvaluation(G4String name_tmp)

Here is the call graph for this function:

void G4NeutronLENDBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 112 of file G4NeutronLENDBuilder.cc.

113 {
114  if(theLENDInelastic==0) theLENDInelastic = new G4LENDInelastic( G4Neutron::Neutron() );
115  theLENDInelastic->SetMinEnergy(theIMin);
116  theLENDInelastic->SetMaxEnergy(theIMax);
117  if ( evaluation != "" ) theLENDInelastic->ChangeDefaultEvaluation( evaluation );
118  //theLENDInelastic->AllowNaturalAbundanceTarget();
119  theLENDInelastic->AllowAnyCandidateTarget();
120  if(theLENDInelasticCrossSection==0) theLENDInelasticCrossSection = new G4LENDInelasticCrossSection( G4Neutron::Neutron() );
121  if ( evaluation != "" ) theLENDInelasticCrossSection->ChangeDefaultEvaluation( evaluation );
122  //theLENDInelasticCrossSection->AllowNaturalAbundanceTarget();
123  theLENDInelasticCrossSection->AllowAnyCandidateTarget();
124  aP->AddDataSet(theLENDInelasticCrossSection);
125  aP->RegisterMe(theLENDInelastic);
126 }
void AllowAnyCandidateTarget()
Definition: G4LENDModel.hh:64
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void ChangeDefaultEvaluation(G4String name)
Definition: G4LENDModel.hh:62
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void SetMaxEnergy(const G4double anEnergy)
void ChangeDefaultEvaluation(G4String name_tmp)

Here is the call graph for this function:

void G4NeutronLENDBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 67 of file G4NeutronLENDBuilder.hh.

68  {
69  theIMax = aM;
70  theMax=aM;
71  }
void G4NeutronLENDBuilder::SetMaxInelasticEnergy ( G4double  aM)
inline

Definition at line 72 of file G4NeutronLENDBuilder.hh.

73  {
74  theIMax = aM;
75  }
void G4NeutronLENDBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 58 of file G4NeutronLENDBuilder.hh.

59  {
60  theMin=aM;
61  theIMin = theMin;
62  }
void G4NeutronLENDBuilder::SetMinInelasticEnergy ( G4double  aM)
inline

Definition at line 63 of file G4NeutronLENDBuilder.hh.

64  {
65  theIMin=aM;
66  }

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