Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4INCLXXPiKBuilder Class Reference

#include <G4INCLXXPiKBuilder.hh>

Inheritance diagram for G4INCLXXPiKBuilder:
G4VPiKBuilder

Public Member Functions

 G4INCLXXPiKBuilder ()
 
virtual ~G4INCLXXPiKBuilder ()
 
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 ()
 

Detailed Description

Builder for pion processes using the INCL++ intra-nuclear cascade model.

By default the INCL++ model is used for projectile energies 0 - 3 GeV.

The builder uses INCL++ cascade model with G4ExcitationHandler de-excitation. This is implemented in interface G4INCLXXInterface.

See also
G4INCLXXInterface
G4INCLXXProtonBuilder
G4INCLXXNeutronBuilder

Definition at line 55 of file G4INCLXXPiKBuilder.hh.

Constructor & Destructor Documentation

G4INCLXXPiKBuilder::G4INCLXXPiKBuilder ( )

Definition at line 33 of file G4INCLXXPiKBuilder.cc.

References python.hepunit::GeV, G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

34  {
35  theMin = 0*GeV;
36  theMax = 3.0*GeV;
37  theModel = new G4INCLXXInterface();
38  theModel->SetMinEnergy(theMin);
39  theModel->SetMaxEnergy(theMax);
40  theBertiniModel = new G4CascadeInterface;
41  theBertiniModel->SetMinEnergy(theMin);
42  theBertiniModel->SetMaxEnergy(theMax);
43  }
INCL++ intra-nuclear cascade.
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
G4INCLXXPiKBuilder::~G4INCLXXPiKBuilder ( )
virtual

Definition at line 46 of file G4INCLXXPiKBuilder.cc.

47 {
48  delete theModel;
49 }

Member Function Documentation

void G4INCLXXPiKBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 69 of file G4INCLXXPiKBuilder.cc.

69 {}
void G4INCLXXPiKBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 52 of file G4INCLXXPiKBuilder.cc.

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

53  {
54  aP->RegisterMe(theModel);
55  theModel->SetMinEnergy(theMin);
56  theModel->SetMaxEnergy(theMax);
57  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4INCLXXPiKBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 60 of file G4INCLXXPiKBuilder.cc.

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

61  {
62  aP->RegisterMe(theModel);
63  aP->AddDataSet(&thePiData);
64  theModel->SetMinEnergy(theMin);
65  theModel->SetMaxEnergy(theMax);
66  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)
void G4INCLXXPiKBuilder::Build ( G4KaonPlusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 72 of file G4INCLXXPiKBuilder.cc.

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

73  {
74  aP->RegisterMe(theBertiniModel);
75  theBertiniModel->SetMinEnergy(theMin);
76  theBertiniModel->SetMaxEnergy(theMax);
77  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4INCLXXPiKBuilder::Build ( G4KaonMinusInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 80 of file G4INCLXXPiKBuilder.cc.

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

81  {
82  aP->RegisterMe(theBertiniModel);
83  theBertiniModel->SetMinEnergy(theMin);
84  theBertiniModel->SetMaxEnergy(theMax);
85  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4INCLXXPiKBuilder::Build ( G4KaonZeroLInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 88 of file G4INCLXXPiKBuilder.cc.

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

89  {
90  aP->RegisterMe(theBertiniModel);
91  theBertiniModel->SetMinEnergy(theMin);
92  theBertiniModel->SetMaxEnergy(theMax);
93  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4INCLXXPiKBuilder::Build ( G4KaonZeroSInelasticProcess aP)
virtual

Implements G4VPiKBuilder.

Definition at line 96 of file G4INCLXXPiKBuilder.cc.

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

97  {
98  aP->RegisterMe(theBertiniModel);
99  theBertiniModel->SetMinEnergy(theMin);
100  theBertiniModel->SetMaxEnergy(theMax);
101  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void G4INCLXXPiKBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 71 of file G4INCLXXPiKBuilder.hh.

71 {theMax = aM;}
void G4INCLXXPiKBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 70 of file G4INCLXXPiKBuilder.hh.

70 {theMin = aM;}

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