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

#include <G4BinaryPiKBuilder.hh>

+ Inheritance diagram for G4BinaryPiKBuilder:

Public Member Functions

 G4BinaryPiKBuilder ()
 
virtual ~G4BinaryPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4PionPlusInelasticProcess *aP)
 
virtual void Build (G4PionMinusInelasticProcess *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 G4VPiKBuilder
 G4VPiKBuilder ()
 
virtual ~G4VPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4PionPlusInelasticProcess *aP)=0
 
virtual void Build (G4PionMinusInelasticProcess *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 53 of file G4BinaryPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4BinaryPiKBuilder()

G4BinaryPiKBuilder::G4BinaryPiKBuilder ( )

Definition at line 45 of file G4BinaryPiKBuilder.cc.

47{
48 thePiData = new G4PiNuclearCrossSection;
49 theMin = 0*GeV;
50 theMax = 1.3*GeV;
51 theModel = new G4BinaryCascade();
52 theModel->SetMinEnergy(theMin);
53 theModel->SetMaxEnergy(theMax);
54}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

◆ ~G4BinaryPiKBuilder()

G4BinaryPiKBuilder::~G4BinaryPiKBuilder ( )
virtual

Definition at line 56 of file G4BinaryPiKBuilder.cc.

58{
59}

Member Function Documentation

◆ Build() [1/7]

void G4BinaryPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 61 of file G4BinaryPiKBuilder.cc.

62{}

◆ Build() [2/7]

void G4BinaryPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 85 of file G4BinaryPiKBuilder.cc.

87{
88}

◆ Build() [3/7]

void G4BinaryPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 80 of file G4BinaryPiKBuilder.cc.

82{
83}

◆ Build() [4/7]

void G4BinaryPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 90 of file G4BinaryPiKBuilder.cc.

92{
93}

◆ Build() [5/7]

void G4BinaryPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 95 of file G4BinaryPiKBuilder.cc.

97{
98}

◆ Build() [6/7]

void G4BinaryPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 72 of file G4BinaryPiKBuilder.cc.

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

◆ Build() [7/7]

void G4BinaryPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 64 of file G4BinaryPiKBuilder.cc.

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

◆ SetMaxEnergy()

void G4BinaryPiKBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 69 of file G4BinaryPiKBuilder.hh.

69{theMax = aM;}

◆ SetMinEnergy()

void G4BinaryPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 68 of file G4BinaryPiKBuilder.hh.

68{theMin = aM;}

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