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

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/4]

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/4]

virtual void G4VProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ Build() [3/4]

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:92

◆ Build() [4/4]

virtual void G4VProtonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ 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: