Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCLXXProtonBuilder Class Reference

#include <G4INCLXXProtonBuilder.hh>

+ Inheritance diagram for G4INCLXXProtonBuilder:

Public Member Functions

 G4INCLXXProtonBuilder ()
 
virtual ~G4INCLXXProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()
 
virtual ~G4VProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4ProtonInelasticProcess *aP)=0
 

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::G4INCLXXProtonBuilder ( )

Definition at line 33 of file G4INCLXXProtonBuilder.cc.

35{
36 theMin = 0;
37 theMax=3.0*GeV;
38 theModel = new G4INCLXXInterface();
39}
INCL++ intra-nuclear cascade with G4ExcitationHandler for de-excitation.

◆ ~G4INCLXXProtonBuilder()

G4INCLXXProtonBuilder::~G4INCLXXProtonBuilder ( )
virtual

Definition at line 41 of file G4INCLXXProtonBuilder.cc.

43{
44 delete theModel;
45}

Member Function Documentation

◆ Build() [1/2]

void G4INCLXXProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Build elastic process.

No elastic process is built.

Implements G4VProtonBuilder.

Definition at line 47 of file G4INCLXXProtonBuilder.cc.

49{
50}

◆ Build() [2/2]

void G4INCLXXProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Build inelastic process.

Implements G4VProtonBuilder.

Definition at line 52 of file G4INCLXXProtonBuilder.cc.

54{
55 theModel->SetMinEnergy(theMin);
56 theModel->SetMaxEnergy(theMax);
57 aP->RegisterMe(theModel);
59}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
Definition: G4Proton.cc:93

◆ SetMaxEnergy()

void G4INCLXXProtonBuilder::SetMaxEnergy ( G4double  aM)
inline

Set the maximum energy limit for the model.

Definition at line 81 of file G4INCLXXProtonBuilder.hh.

81{theMax = aM;}

◆ SetMinEnergy()

void G4INCLXXProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Set the minimum energy limit for the model.

Definition at line 76 of file G4INCLXXProtonBuilder.hh.

76{theMin = aM;}

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