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

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 54 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 58 of file G4INCLXXPionBuilder.hh.

58{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4INCLXXPionBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VPionBuilder.

Definition at line 60 of file G4INCLXXPionBuilder.hh.

60{}

◆ Build() [2/2]

void G4INCLXXPionBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VPionBuilder.

Definition at line 44 of file G4INCLXXPionBuilder.cc.

46 {
47 theModel->SetMinEnergy(theMin);
48 theModel->SetMaxEnergy(theMax);
51 } else if ( aP->GetParticleDefinition() == G4PionMinus::Definition() ) {
53 }
54 aP->RegisterMe(theModel);
55 }
const G4ParticleDefinition * GetParticleDefinition() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4PionMinus * Definition()
static G4PionPlus * Definition()
Definition G4PionPlus.cc:46

◆ SetMaxEnergy()

virtual void G4INCLXXPionBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 64 of file G4INCLXXPionBuilder.hh.

64{theMax = aM;}

◆ SetMinEnergy()

virtual void G4INCLXXPionBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 63 of file G4INCLXXPionBuilder.hh.

63{theMin = aM;}

Referenced by G4HadronPhysicsINCLXX::Pion().


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