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

#include <G4NeutronPHPBuilder.hh>

Inheritance diagram for G4NeutronPHPBuilder:
Collaboration diagram for G4NeutronPHPBuilder:

Public Member Functions

 G4NeutronPHPBuilder ()
 
virtual ~G4NeutronPHPBuilder ()
 
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 G4NeutronPHPBuilder.hh.

Constructor & Destructor Documentation

G4NeutronPHPBuilder::G4NeutronPHPBuilder ( )

Definition at line 33 of file G4NeutronPHPBuilder.cc.

34 {
35  theHPElastic = 0;
36  theHPElasticData = 0;
37 
38  theHPFission = 0;
39  theHPFissionData = 0;
40 
41  theHPCapture = 0;
42  theHPCaptureData = 0;
43 
44  theHPInelastic = 0;
45  theHPInelasticData = 0;
46 
47  theMin = 0;
48  theIMin = theMin;
49  theMax = 20*MeV;
50  theIMax = theMax;
51 
52 }
static constexpr double MeV
Definition: G4SIunits.hh:214
G4NeutronPHPBuilder::~G4NeutronPHPBuilder ( )
virtual

Definition at line 55 of file G4NeutronPHPBuilder.cc.

56 {}

Member Function Documentation

void G4NeutronPHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 59 of file G4NeutronPHPBuilder.cc.

60 {
61  if(theHPElastic==0) theHPElastic = new G4ParticleHPElastic;
62  theHPElastic->SetMinEnergy(theMin);
63  theHPElastic->SetMaxEnergy(theMax);
64  if(theHPElasticData == 0) theHPElasticData = new G4ParticleHPElasticData;
65  aP->AddDataSet(theHPElasticData);
66  aP->RegisterMe(theHPElastic);
67 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4NeutronPHPBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 70 of file G4NeutronPHPBuilder.cc.

71 {
72  if(theHPFission == 0) theHPFission = new G4ParticleHPFission;
73  theHPFission->SetMinEnergy(theMin);
74  theHPFission->SetMaxEnergy(theMax);
75  if(theHPFissionData==0) theHPFissionData=new G4ParticleHPFissionData;
76  aP->AddDataSet(theHPFissionData);
77  aP->RegisterMe(theHPFission);
78 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4NeutronPHPBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 81 of file G4NeutronPHPBuilder.cc.

82 {
83  if(theHPCapture==0) theHPCapture = new G4ParticleHPCapture;
84  theHPCapture->SetMinEnergy(theMin);
85  theHPCapture->SetMaxEnergy(theMax);
86  if(theHPCaptureData==0) theHPCaptureData = new G4ParticleHPCaptureData;
87  aP->AddDataSet(theHPCaptureData);
88  aP->RegisterMe(theHPCapture);
89 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4NeutronPHPBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 92 of file G4NeutronPHPBuilder.cc.

93 {
94  if(theHPInelastic==0) theHPInelastic = new G4ParticleHPInelastic(G4Neutron::Neutron(),"NeutronHPInelastic");
95  theHPInelastic->SetMinEnergy(theIMin);
96  theHPInelastic->SetMaxEnergy(theIMax);
97  if(theHPInelasticData==0) theHPInelasticData = new G4ParticleHPInelasticData(G4Neutron::Neutron());
98  aP->AddDataSet(theHPInelasticData);
99  aP->RegisterMe(theHPInelastic);
100 }
void RegisterMe(G4HadronicInteraction *a)
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 G4NeutronPHPBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 67 of file G4NeutronPHPBuilder.hh.

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

Definition at line 72 of file G4NeutronPHPBuilder.hh.

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

Definition at line 58 of file G4NeutronPHPBuilder.hh.

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

Definition at line 63 of file G4NeutronPHPBuilder.hh.

64  {
65  theIMin=aM;
66  }

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