G4LHEPPiKBuilder Class Reference

#include <G4LHEPPiKBuilder.hh>

Inheritance diagram for G4LHEPPiKBuilder:

G4VPiKBuilder

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)

Detailed Description

Definition at line 48 of file G4LHEPPiKBuilder.hh.


Constructor & Destructor Documentation

G4LHEPPiKBuilder::G4LHEPPiKBuilder (  ) 

Definition at line 38 of file G4LHEPPiKBuilder.cc.

00038                    :
00039   theLEPionPlusModel(0),theHEPionPlusModel(0),
00040   theLEPionMinusModel(0), theHEPionMinusModel(0),
00041   theLEKaonPlusModel(0),theHEKaonPlusModel(0),
00042   theLEKaonMinusModel(0), theHEKaonMinusModel(0),
00043   theLEKaonZeroLModel(0),theHEKaonZeroLModel(0),
00044   theLEKaonZeroSModel(0),theHEKaonZeroSModel(0)
00045 {
00046   theM = 0;
00047   theMinPion = theM;
00048 }

G4LHEPPiKBuilder::~G4LHEPPiKBuilder (  )  [virtual]

Definition at line 51 of file G4LHEPPiKBuilder.cc.

00052 {
00053   delete theLEPionPlusModel;
00054   delete theHEPionPlusModel;
00055 }


Member Function Documentation

void G4LHEPPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 117 of file G4LHEPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().

00118 {
00119   theLEKaonZeroSModel = new G4LEKaonZeroSInelastic();
00120   theHEKaonZeroSModel = new G4HEKaonZeroInelastic();
00121   theLEKaonZeroSModel->SetMinEnergy(theM);
00122   aP->RegisterMe(theLEKaonZeroSModel);
00123   aP->RegisterMe(theHEKaonZeroSModel);
00124 }

void G4LHEPPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 107 of file G4LHEPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().

00108 {
00109   theLEKaonZeroLModel = new G4LEKaonZeroLInelastic();
00110   theHEKaonZeroLModel = new G4HEKaonZeroInelastic();
00111   theLEKaonZeroLModel->SetMinEnergy(theM);
00112   aP->RegisterMe(theLEKaonZeroLModel);
00113   aP->RegisterMe(theHEKaonZeroLModel);
00114 }

void G4LHEPPiKBuilder::Build ( G4KaonMinusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 97 of file G4LHEPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().

00098 {
00099   theLEKaonMinusModel = new G4LEKaonMinusInelastic();
00100   theHEKaonMinusModel = new G4HEKaonMinusInelastic();
00101   theLEKaonMinusModel->SetMinEnergy(theM);
00102   aP->RegisterMe(theLEKaonMinusModel);
00103   aP->RegisterMe(theHEKaonMinusModel);
00104 }

void G4LHEPPiKBuilder::Build ( G4KaonPlusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 87 of file G4LHEPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().

00088 {
00089   theLEKaonPlusModel = new G4LEKaonPlusInelastic();
00090   theHEKaonPlusModel = new G4HEKaonPlusInelastic();
00091   theLEKaonPlusModel->SetMinEnergy(theM);
00092   aP->RegisterMe(theLEKaonPlusModel);
00093   aP->RegisterMe(theHEKaonPlusModel);
00094 }

void G4LHEPPiKBuilder::Build ( G4PionMinusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 75 of file G4LHEPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

00076 {
00077   theLEPionMinusModel = new G4LEPionMinusInelastic();
00078   theHEPionMinusModel = new G4HEPionMinusInelastic();
00079   theLEPionMinusModel->SetMinEnergy(theMinPion);
00080   theLEPionMinusModel->SetMaxEnergy(55*GeV);
00081   theHEPionMinusModel->SetMinEnergy(25*GeV);
00082   aP->RegisterMe(theLEPionMinusModel);
00083   aP->RegisterMe(theHEPionMinusModel);
00084 }

void G4LHEPPiKBuilder::Build ( G4PionPlusInelasticProcess aP  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 63 of file G4LHEPPiKBuilder.cc.

References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

00064 {
00065   theLEPionPlusModel = new G4LEPionPlusInelastic();
00066   theHEPionPlusModel = new G4HEPionPlusInelastic();
00067   theLEPionPlusModel->SetMinEnergy(theMinPion);
00068   theLEPionPlusModel->SetMaxEnergy(55*GeV);
00069   theHEPionPlusModel->SetMinEnergy(25*GeV);
00070   aP->RegisterMe(theLEPionPlusModel);
00071   aP->RegisterMe(theHEPionPlusModel);
00072 }

void G4LHEPPiKBuilder::Build ( G4HadronElasticProcess  )  [virtual]

Implements G4VPiKBuilder.

Definition at line 58 of file G4LHEPPiKBuilder.cc.

00059 {
00060 }

void G4LHEPPiKBuilder::SetMinEnergy ( G4double  aM  )  [inline]

Definition at line 63 of file G4LHEPPiKBuilder.hh.

00064     {
00065       theM=aM;
00066       theMinPion=theM;
00067     }

void G4LHEPPiKBuilder::SetMinPionEnergy ( G4double  aM  )  [inline]

Definition at line 68 of file G4LHEPPiKBuilder.hh.

00069     {
00070       theMinPion = aM;
00071     }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:24 2013 for Geant4 by  doxygen 1.4.7