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

#include <G4LEPPiKBuilder.hh>

+ Inheritance diagram for G4LEPPiKBuilder:

Public Member Functions

 G4LEPPiKBuilder ()
 
virtual ~G4LEPPiKBuilder ()
 
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 SetMinPionEnergy (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 55 of file G4LEPPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4LEPPiKBuilder()

G4LEPPiKBuilder::G4LEPPiKBuilder ( )

Definition at line 51 of file G4LEPPiKBuilder.cc.

52 :
53 theLEPionPlusModel(0), theLEPionMinusModel(0),
54 theLEKaonPlusModel(0), theLEKaonMinusModel(0),
55 theLEKaonZeroLModel(0), theLEKaonZeroSModel(0)
56{
57 theMin = 0;
58 theMax = 55*GeV;
59 theMinPion = theMin;
60}

◆ ~G4LEPPiKBuilder()

G4LEPPiKBuilder::~G4LEPPiKBuilder ( )
virtual

Definition at line 62 of file G4LEPPiKBuilder.cc.

64{
65 delete theLEPionPlusModel;
66}

Member Function Documentation

◆ Build() [1/7]

void G4LEPPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 68 of file G4LEPPiKBuilder.cc.

70{
71 G4cout << "Info - G4LEPPiKBuilder::Build() not adding elastic" << G4endl;
72}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

◆ Build() [2/7]

void G4LEPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 101 of file G4LEPPiKBuilder.cc.

103{
104 theLEKaonMinusModel = new G4LEKaonMinusInelastic();
105 theLEKaonMinusModel->SetMaxEnergy(theMax);
106 theLEKaonMinusModel->SetMinEnergy(theMin);
107 aP->RegisterMe(theLEKaonMinusModel);
108}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4LEPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 92 of file G4LEPPiKBuilder.cc.

94{
95 theLEKaonPlusModel = new G4LEKaonPlusInelastic();
96 theLEKaonPlusModel->SetMinEnergy(theMin);
97 theLEKaonPlusModel->SetMaxEnergy(theMax);
98 aP->RegisterMe(theLEKaonPlusModel);
99}

◆ Build() [4/7]

void G4LEPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 110 of file G4LEPPiKBuilder.cc.

112{
113 theLEKaonZeroLModel = new G4LEKaonZeroLInelastic();
114 theLEKaonZeroLModel->SetMaxEnergy(theMax);
115 theLEKaonZeroLModel->SetMinEnergy(theMin);
116 aP->RegisterMe(theLEKaonZeroLModel);
117}

◆ Build() [5/7]

void G4LEPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 119 of file G4LEPPiKBuilder.cc.

121{
122 theLEKaonZeroSModel = new G4LEKaonZeroSInelastic();
123 theLEKaonZeroSModel->SetMaxEnergy(theMax);
124 theLEKaonZeroSModel->SetMinEnergy(theMin);
125 aP->RegisterMe(theLEKaonZeroSModel);
126}

◆ Build() [6/7]

void G4LEPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 83 of file G4LEPPiKBuilder.cc.

85{
86 theLEPionMinusModel = new G4LEPionMinusInelastic();
87 theLEPionMinusModel->SetMinEnergy(theMinPion);
88 theLEPionMinusModel->SetMaxEnergy(theMax);
89 aP->RegisterMe(theLEPionMinusModel);
90}

◆ Build() [7/7]

void G4LEPPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 74 of file G4LEPPiKBuilder.cc.

76{
77 theLEPionPlusModel = new G4LEPionPlusInelastic();
78 theLEPionPlusModel->SetMinEnergy(theMinPion);
79 theLEPionPlusModel->SetMaxEnergy(theMax);
80 aP->RegisterMe(theLEPionPlusModel);
81}

◆ SetMaxEnergy()

void G4LEPPiKBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 79 of file G4LEPPiKBuilder.hh.

80 {
81 theMax=aM;
82 }

◆ SetMinEnergy()

void G4LEPPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4LEPPiKBuilder.hh.

71 {
72 theMin=aM;
73 theMinPion=theMin;
74 }

◆ SetMinPionEnergy()

void G4LEPPiKBuilder::SetMinPionEnergy ( G4double  aM)
inline

Definition at line 75 of file G4LEPPiKBuilder.hh.

76 {
77 theMinPion=aM;
78 }

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