G4INCLXXProtonBuilder Class Reference

#include <G4INCLXXProtonBuilder.hh>

Inheritance diagram for G4INCLXXProtonBuilder:

G4VProtonBuilder

Public Member Functions

 G4INCLXXProtonBuilder ()
virtual ~G4INCLXXProtonBuilder ()
virtual void Build (G4HadronElasticProcess *aP)
virtual void Build (G4ProtonInelasticProcess *aP)
void SetMinEnergy (G4double aM)
void SetMaxEnergy (G4double aM)

Detailed Description

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

By default the INCL++ 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

G4INCLXXNeutronBuilder

G4INCLXXPiKBuilder

Definition at line 54 of file G4INCLXXProtonBuilder.hh.


Constructor & Destructor Documentation

G4INCLXXProtonBuilder::G4INCLXXProtonBuilder (  ) 

Definition at line 34 of file G4INCLXXProtonBuilder.cc.

00035 {
00036   theMin = 0;
00037   theMax=3.0*GeV;
00038   theModel = new G4INCLXXInterface();
00039 }

G4INCLXXProtonBuilder::~G4INCLXXProtonBuilder (  )  [virtual]

Definition at line 42 of file G4INCLXXProtonBuilder.cc.

00043 {
00044   delete theModel;
00045 }


Member Function Documentation

void G4INCLXXProtonBuilder::Build ( G4ProtonInelasticProcess aP  )  [virtual]

Build inelastic process.

Implements G4VProtonBuilder.

Definition at line 53 of file G4INCLXXProtonBuilder.cc.

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

00054 {
00055   theModel->SetMinEnergy(theMin);
00056   theModel->SetMaxEnergy(theMax);
00057   aP->RegisterMe(theModel);
00058   aP->AddDataSet(new G4BGGNucleonInelasticXS(G4Proton::Proton()));
00059 }

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

Build elastic process.

No elastic process is built.

Implements G4VProtonBuilder.

Definition at line 48 of file G4INCLXXProtonBuilder.cc.

00049 {
00050 }

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

Set the maximum energy limit for the model.

Definition at line 81 of file G4INCLXXProtonBuilder.hh.

00081 {theMax = aM;}

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

Set the minimum energy limit for the model.

Definition at line 76 of file G4INCLXXProtonBuilder.hh.

00076 {theMin = aM;}


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