G4BertiniNeutronBuilder Class Reference

#include <G4BertiniNeutronBuilder.hh>

Inheritance diagram for G4BertiniNeutronBuilder:

G4VNeutronBuilder

Public Member Functions

 G4BertiniNeutronBuilder ()
virtual ~G4BertiniNeutronBuilder ()
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)

Detailed Description

Definition at line 52 of file G4BertiniNeutronBuilder.hh.


Constructor & Destructor Documentation

G4BertiniNeutronBuilder::G4BertiniNeutronBuilder (  ) 

Definition at line 46 of file G4BertiniNeutronBuilder.cc.

00047 {
00048   theMin = 0;
00049   theMax = 9.9*GeV;
00050   theModel = new G4CascadeInterface;
00051 }

G4BertiniNeutronBuilder::~G4BertiniNeutronBuilder (  )  [virtual]

Definition at line 62 of file G4BertiniNeutronBuilder.cc.

00063 {
00064 }


Member Function Documentation

void G4BertiniNeutronBuilder::Build ( G4NeutronInelasticProcess aP  )  [virtual]

Implements G4VNeutronBuilder.

Definition at line 54 of file G4BertiniNeutronBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

00055 {
00056   theModel->SetMinEnergy(theMin);
00057   theModel->SetMaxEnergy(theMax);
00058   aP->RegisterMe(theModel);
00059 }

void G4BertiniNeutronBuilder::Build ( G4HadronCaptureProcess aP  )  [virtual]

Implements G4VNeutronBuilder.

Definition at line 77 of file G4BertiniNeutronBuilder.cc.

00078 {
00079 }

void G4BertiniNeutronBuilder::Build ( G4HadronFissionProcess aP  )  [virtual]

Implements G4VNeutronBuilder.

Definition at line 72 of file G4BertiniNeutronBuilder.cc.

00073 {
00074 }

void G4BertiniNeutronBuilder::Build ( G4HadronElasticProcess aP  )  [virtual]

Implements G4VNeutronBuilder.

Definition at line 67 of file G4BertiniNeutronBuilder.cc.

00068 {
00069 }

void G4BertiniNeutronBuilder::SetMaxEnergy ( G4double  aM  )  [inline]

Definition at line 65 of file G4BertiniNeutronBuilder.hh.

00065 {theMax = aM;}

void G4BertiniNeutronBuilder::SetMinEnergy ( G4double  aM  )  [inline]

Definition at line 64 of file G4BertiniNeutronBuilder.hh.

00064 {theMin = aM;}


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:31 2013 for Geant4 by  doxygen 1.4.7