Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4INCLXXPionBuilder Class Reference

#include <G4INCLXXPionBuilder.hh>

Inheritance diagram for G4INCLXXPionBuilder:
Collaboration diagram for G4INCLXXPionBuilder:

Public Member Functions

 G4INCLXXPionBuilder ()
 
virtual ~G4INCLXXPionBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4PionPlusInelasticProcess *aP)
 
virtual void Build (G4PionMinusInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VPionBuilder
 G4VPionBuilder ()
 
virtual ~G4VPionBuilder ()
 

Detailed Description

Definition at line 57 of file G4INCLXXPionBuilder.hh.

Constructor & Destructor Documentation

G4INCLXXPionBuilder::G4INCLXXPionBuilder ( )

Definition at line 34 of file G4INCLXXPionBuilder.cc.

35  {
36  theMin = 0*GeV;
37  theMax = 20.0*GeV;
38  theModel = new G4INCLXXInterface();
39  theModel->SetMinEnergy(theMin);
40  theModel->SetMaxEnergy(theMax);
41  thePiData = new G4PiNuclearCrossSection();
42  }
INCL++ intra-nuclear cascade.
void SetMinEnergy(G4double anEnergy)
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

G4INCLXXPionBuilder::~G4INCLXXPionBuilder ( )
virtual

Definition at line 45 of file G4INCLXXPionBuilder.cc.

46 {
47  //delete theModel;
48 }

Member Function Documentation

void G4INCLXXPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 69 of file G4INCLXXPionBuilder.cc.

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

Implements G4VPionBuilder.

Definition at line 51 of file G4INCLXXPionBuilder.cc.

52  {
53  aP->RegisterMe(theModel);
54  aP->AddDataSet(thePiData);
55  theModel->SetMinEnergy(theMin);
56  theModel->SetMaxEnergy(theMax);
57  }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4INCLXXPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 60 of file G4INCLXXPionBuilder.cc.

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)

Here is the call graph for this function:

void G4INCLXXPionBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 69 of file G4INCLXXPionBuilder.hh.

69 {theMax = aM;}
void G4INCLXXPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 68 of file G4INCLXXPionBuilder.hh.

68 {theMin = aM;}

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