Geant4 9.6.0
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 *aP)
 
virtual void Build (G4KaonPlusInelasticProcess *aP)
 
virtual void Build (G4KaonMinusInelasticProcess *aP)
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)
 
virtual void Build (G4KaonZeroSInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VKaonBuilder
 G4VKaonBuilder ()
 
virtual ~G4VKaonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4KaonPlusInelasticProcess *aP)=0
 
virtual void Build (G4KaonMinusInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroLInelasticProcess *aP)=0
 
virtual void Build (G4KaonZeroSInelasticProcess *aP)=0
 

Detailed Description

Definition at line 54 of file G4BertiniKaonBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniKaonBuilder()

G4BertiniKaonBuilder::G4BertiniKaonBuilder ( )

Definition at line 46 of file G4BertiniKaonBuilder.cc.

48 {
49 theKaonData = new G4QHadronInelasticDataSet;
50 theMin = 0*GeV;
51 theMax = 9.9*GeV;
52 theModel = new G4CascadeInterface;
53 theModel->SetMinEnergy(theMin);
54 theModel->SetMaxEnergy(theMax);
55 }
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

◆ ~G4BertiniKaonBuilder()

G4BertiniKaonBuilder::~G4BertiniKaonBuilder ( )
virtual

Definition at line 57 of file G4BertiniKaonBuilder.cc.

58{
59 delete theKaonData;
60}

Member Function Documentation

◆ Build() [1/5]

void G4BertiniKaonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 94 of file G4BertiniKaonBuilder.cc.

95{}

◆ Build() [2/5]

void G4BertiniKaonBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 70 of file G4BertiniKaonBuilder.cc.

72 {
73 aP->RegisterMe(theModel);
74 theModel->SetMinEnergy(theMin);
75 theModel->SetMaxEnergy(theMax);
76 }
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/5]

void G4BertiniKaonBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 62 of file G4BertiniKaonBuilder.cc.

64 {
65 aP->RegisterMe(theModel);
66 theModel->SetMinEnergy(theMin);
67 theModel->SetMaxEnergy(theMax);
68 }

◆ Build() [4/5]

void G4BertiniKaonBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 78 of file G4BertiniKaonBuilder.cc.

80 {
81 aP->RegisterMe(theModel);
82 theModel->SetMinEnergy(theMin);
83 theModel->SetMaxEnergy(theMax);
84 }

◆ Build() [5/5]

void G4BertiniKaonBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VKaonBuilder.

Definition at line 86 of file G4BertiniKaonBuilder.cc.

88 {
89 aP->RegisterMe(theModel);
90 theModel->SetMinEnergy(theMin);
91 theModel->SetMaxEnergy(theMax);
92 }

◆ SetMaxEnergy()

void G4BertiniKaonBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 68 of file G4BertiniKaonBuilder.hh.

68{theMax = aM;}

◆ SetMinEnergy()

void G4BertiniKaonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 67 of file G4BertiniKaonBuilder.hh.

67{theMin = aM;}

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