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

#include <G4BertiniKaonBuilder.hh>

+ Inheritance diagram for G4BertiniKaonBuilder:

Public Member Functions

 G4BertiniKaonBuilder ()
 
virtual ~G4BertiniKaonBuilder ()
 
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 G4VKaonBuilder
 G4VKaonBuilder ()=default
 
virtual ~G4VKaonBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

Detailed Description

Definition at line 50 of file G4BertiniKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniKaonBuilder()

G4BertiniKaonBuilder::G4BertiniKaonBuilder ( )

Definition at line 49 of file G4BertiniKaonBuilder.cc.

51 {
52 kaonCrossSection = new G4CrossSectionInelastic( new G4ComponentGGHadronNucleusXsc );
53 theMin = 0.0;
55 theModel = new G4CascadeInterface;
56 theModel->SetMinEnergy(theMin);
57 theModel->SetMaxEnergy(theMax);
58 }
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double GetMaxEnergyTransitionFTF_Cascade() const

◆ ~G4BertiniKaonBuilder()

virtual G4BertiniKaonBuilder::~G4BertiniKaonBuilder ( )
inlinevirtual

Definition at line 54 of file G4BertiniKaonBuilder.hh.

54{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4BertiniKaonBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 57 of file G4BertiniKaonBuilder.hh.

57{}

◆ Build() [2/2]

void G4BertiniKaonBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VKaonBuilder.

Definition at line 60 of file G4BertiniKaonBuilder.cc.

62 {
63 aP->RegisterMe(theModel);
64 theModel->SetMinEnergy(theMin);
65 theModel->SetMaxEnergy(theMax);
66 aP->AddDataSet(kaonCrossSection);
67 }
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMaxEnergy()

virtual void G4BertiniKaonBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 61 of file G4BertiniKaonBuilder.hh.

61{theMax = aM;}

◆ SetMinEnergy()

virtual void G4BertiniKaonBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 60 of file G4BertiniKaonBuilder.hh.

60{theMin = aM;}

Referenced by G4HadronPhysicsINCLXX::Kaon().


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