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

#include <G4INCLXXPionBuilder.hh>

+ Inheritance diagram for G4INCLXXPionBuilder:

Public Member Functions

 G4INCLXXPionBuilder ()
 
virtual ~G4INCLXXPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *) final override
 
virtual void Build (G4PionPlusInelasticProcess *aP) final override
 
virtual void Build (G4PionMinusInelasticProcess *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 (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()=default
 
virtual ~G4VPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *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 pion processes using the INCL++ intra-nuclear cascade model.

By default the INCL++ model is used for projectile energies 0 - 20 GeV.

The builder uses INCL++ cascade model with G4ExcitationHandler de-excitation. This is implemented in interface G4INCLXXInterface.

See also
G4INCLXXInterface
G4INCLXXProtonBuilder
G4INCLXXNeutronBuilder

Definition at line 56 of file G4INCLXXPionBuilder.hh.

Constructor & Destructor Documentation

◆ G4INCLXXPionBuilder()

G4INCLXXPionBuilder::G4INCLXXPionBuilder ( )

Definition at line 34 of file G4INCLXXPionBuilder.cc.

36 {
37 theMin = 0*GeV;
38 theMax = 20.0*GeV;
39 theModel = new G4INCLXXInterface();
40 theModel->SetMinEnergy(theMin);
41 theModel->SetMaxEnergy(theMax);
42 }
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
INCL++ intra-nuclear cascade.

◆ ~G4INCLXXPionBuilder()

virtual G4INCLXXPionBuilder::~G4INCLXXPionBuilder ( )
inlinevirtual

Definition at line 60 of file G4INCLXXPionBuilder.hh.

60{}

Member Function Documentation

◆ Build() [1/6]

virtual void G4INCLXXPionBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 62 of file G4INCLXXPionBuilder.hh.

62{}

◆ Build() [2/6]

virtual void G4VPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [3/6]

void G4INCLXXPionBuilder::Build ( G4PionMinusInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 53 of file G4INCLXXPionBuilder.cc.

55 {
56 theModel->SetMinEnergy(theMin);
57 theModel->SetMaxEnergy(theMax);
59 aP->RegisterMe(theModel);
60 }
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
Definition: G4PionMinus.cc:51

◆ Build() [4/6]

virtual void G4VPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ Build() [5/6]

void G4INCLXXPionBuilder::Build ( G4PionPlusInelasticProcess aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 44 of file G4INCLXXPionBuilder.cc.

46 {
47 theModel->SetMinEnergy(theMin);
48 theModel->SetMaxEnergy(theMax);
50 aP->RegisterMe(theModel);
51 }
static G4PionPlus * Definition()
Definition: G4PionPlus.cc:51

◆ Build() [6/6]

virtual void G4VPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

◆ SetMaxEnergy()

virtual void G4INCLXXPionBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 67 of file G4INCLXXPionBuilder.hh.

67{theMax = aM;}

◆ SetMinEnergy()

virtual void G4INCLXXPionBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 66 of file G4INCLXXPionBuilder.hh.

66{theMin = aM;}

Referenced by G4HadronPhysicsINCLXX::Pion().


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