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

#include <G4LHEPPiKBuilder.hh>

+ Inheritance diagram for G4LHEPPiKBuilder:

Public Member Functions

 G4LHEPPiKBuilder ()
 
virtual ~G4LHEPPiKBuilder ()
 
virtual void Build (G4HadronElasticProcess *)
 
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)
 
- 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 48 of file G4LHEPPiKBuilder.hh.

Constructor & Destructor Documentation

◆ G4LHEPPiKBuilder()

G4LHEPPiKBuilder::G4LHEPPiKBuilder ( )

Definition at line 37 of file G4LHEPPiKBuilder.cc.

38 :
39 theLEPionPlusModel(0),theHEPionPlusModel(0),
40 theLEPionMinusModel(0), theHEPionMinusModel(0),
41 theLEKaonPlusModel(0),theHEKaonPlusModel(0),
42 theLEKaonMinusModel(0), theHEKaonMinusModel(0),
43 theLEKaonZeroLModel(0),theHEKaonZeroLModel(0),
44 theLEKaonZeroSModel(0),theHEKaonZeroSModel(0)
45{
46 theM = 0;
47 theMinPion = theM;
48}

◆ ~G4LHEPPiKBuilder()

G4LHEPPiKBuilder::~G4LHEPPiKBuilder ( )
virtual

Definition at line 50 of file G4LHEPPiKBuilder.cc.

52{
53 delete theLEPionPlusModel;
54 delete theHEPionPlusModel;
55}

Member Function Documentation

◆ Build() [1/7]

void G4LHEPPiKBuilder::Build ( G4HadronElasticProcess )
virtual

Implements G4VPiKBuilder.

Definition at line 57 of file G4LHEPPiKBuilder.cc.

59{
60}

◆ Build() [2/7]

void G4LHEPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 96 of file G4LHEPPiKBuilder.cc.

98{
99 theLEKaonMinusModel = new G4LEKaonMinusInelastic();
100 theHEKaonMinusModel = new G4HEKaonMinusInelastic();
101 theLEKaonMinusModel->SetMinEnergy(theM);
102 aP->RegisterMe(theLEKaonMinusModel);
103 aP->RegisterMe(theHEKaonMinusModel);
104}
void SetMinEnergy(G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/7]

void G4LHEPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 86 of file G4LHEPPiKBuilder.cc.

88{
89 theLEKaonPlusModel = new G4LEKaonPlusInelastic();
90 theHEKaonPlusModel = new G4HEKaonPlusInelastic();
91 theLEKaonPlusModel->SetMinEnergy(theM);
92 aP->RegisterMe(theLEKaonPlusModel);
93 aP->RegisterMe(theHEKaonPlusModel);
94}

◆ Build() [4/7]

void G4LHEPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 106 of file G4LHEPPiKBuilder.cc.

108{
109 theLEKaonZeroLModel = new G4LEKaonZeroLInelastic();
110 theHEKaonZeroLModel = new G4HEKaonZeroInelastic();
111 theLEKaonZeroLModel->SetMinEnergy(theM);
112 aP->RegisterMe(theLEKaonZeroLModel);
113 aP->RegisterMe(theHEKaonZeroLModel);
114}

◆ Build() [5/7]

void G4LHEPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 116 of file G4LHEPPiKBuilder.cc.

118{
119 theLEKaonZeroSModel = new G4LEKaonZeroSInelastic();
120 theHEKaonZeroSModel = new G4HEKaonZeroInelastic();
121 theLEKaonZeroSModel->SetMinEnergy(theM);
122 aP->RegisterMe(theLEKaonZeroSModel);
123 aP->RegisterMe(theHEKaonZeroSModel);
124}

◆ Build() [6/7]

void G4LHEPPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 74 of file G4LHEPPiKBuilder.cc.

76{
77 theLEPionMinusModel = new G4LEPionMinusInelastic();
78 theHEPionMinusModel = new G4HEPionMinusInelastic();
79 theLEPionMinusModel->SetMinEnergy(theMinPion);
80 theLEPionMinusModel->SetMaxEnergy(55*GeV);
81 theHEPionMinusModel->SetMinEnergy(25*GeV);
82 aP->RegisterMe(theLEPionMinusModel);
83 aP->RegisterMe(theHEPionMinusModel);
84}
void SetMaxEnergy(const G4double anEnergy)

◆ Build() [7/7]

void G4LHEPPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 62 of file G4LHEPPiKBuilder.cc.

64{
65 theLEPionPlusModel = new G4LEPionPlusInelastic();
66 theHEPionPlusModel = new G4HEPionPlusInelastic();
67 theLEPionPlusModel->SetMinEnergy(theMinPion);
68 theLEPionPlusModel->SetMaxEnergy(55*GeV);
69 theHEPionPlusModel->SetMinEnergy(25*GeV);
70 aP->RegisterMe(theLEPionPlusModel);
71 aP->RegisterMe(theHEPionPlusModel);
72}

◆ SetMinEnergy()

void G4LHEPPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 63 of file G4LHEPPiKBuilder.hh.

64 {
65 theM=aM;
66 theMinPion=theM;
67 }

◆ SetMinPionEnergy()

void G4LHEPPiKBuilder::SetMinPionEnergy ( G4double  aM)
inline

Definition at line 68 of file G4LHEPPiKBuilder.hh.

69 {
70 theMinPion = aM;
71 }

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