Geant4 11.2.2
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 *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void SetMaxEnergy (G4double aM) final override
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()=default
 
virtual ~G4VProtonBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

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 52 of file G4INCLXXProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4INCLXXProtonBuilder()

G4INCLXXProtonBuilder::G4INCLXXProtonBuilder ( )

Definition at line 36 of file G4INCLXXProtonBuilder.cc.

38{
39 thePreCompoundMin = 0;
40 thePreCompoundMax = 2*MeV;
41 theMin = 1.0*MeV;
42 theMax = 3.0*GeV;
45 thePreCompoundModel = static_cast<G4VPreCompoundModel*>(p);
46 if(!thePreCompoundModel) { thePreCompoundModel = new G4PreCompoundModel(); }
47 theModel = new G4INCLXXInterface(thePreCompoundModel);
48}
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
INCL++ intra-nuclear cascade.

◆ ~G4INCLXXProtonBuilder()

virtual G4INCLXXProtonBuilder::~G4INCLXXProtonBuilder ( )
inlinevirtual

Definition at line 56 of file G4INCLXXProtonBuilder.hh.

56{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4INCLXXProtonBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Build elastic process.

No elastic process is built.

Implements G4VProtonBuilder.

Definition at line 63 of file G4INCLXXProtonBuilder.hh.

63{};

◆ Build() [2/2]

void G4INCLXXProtonBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Build inelastic process.

Implements G4VProtonBuilder.

Definition at line 50 of file G4INCLXXProtonBuilder.cc.

52{
53 thePreCompoundModel->SetMinEnergy(thePreCompoundMin);
54 thePreCompoundModel->SetMaxEnergy(thePreCompoundMax);
55 aP->RegisterMe(thePreCompoundModel);
56 theModel->SetMinEnergy(theMin);
57 theModel->SetMaxEnergy(theMax);
58 aP->RegisterMe(theModel);
60}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
Definition G4Proton.cc:90

◆ SetMaxEnergy()

virtual void G4INCLXXProtonBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Set the maximum energy limit for the model.

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 78 of file G4INCLXXProtonBuilder.hh.

78{theMax = aM;}

◆ SetMinEnergy()

virtual void G4INCLXXProtonBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Set the minimum energy limit for the model.

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 73 of file G4INCLXXProtonBuilder.hh.

73{theMin = aM;}

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