Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4BinaryPionBuilder Class Reference

#include <G4BinaryPionBuilder.hh>

Inheritance diagram for G4BinaryPionBuilder:
Collaboration diagram for G4BinaryPionBuilder:

Public Member Functions

 G4BinaryPionBuilder ()
 
virtual ~G4BinaryPionBuilder ()
 
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 51 of file G4BinaryPionBuilder.hh.

Constructor & Destructor Documentation

G4BinaryPionBuilder::G4BinaryPionBuilder ( )

Definition at line 49 of file G4BinaryPionBuilder.cc.

50 {
52  theMin = 0*GeV;
53  theMax = 1.3*GeV;
54  theModel = new G4BinaryCascade;
55  theModel->SetMinEnergy(theMin);
56  theModel->SetMaxEnergy(theMax);
57 }
static const char * Default_Name()
void SetMinEnergy(G4double anEnergy)
static G4CrossSectionDataSetRegistry * Instance()
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

G4BinaryPionBuilder::~G4BinaryPionBuilder ( )
virtual

Definition at line 60 of file G4BinaryPionBuilder.cc.

61 {
62 }

Member Function Documentation

void G4BinaryPionBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 65 of file G4BinaryPionBuilder.cc.

65 {}
void G4BinaryPionBuilder::Build ( G4PionPlusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 68 of file G4BinaryPionBuilder.cc.

69 {
70  theModel->SetMinEnergy(theMin);
71  theModel->SetMaxEnergy(theMax);
72  aP->AddDataSet(thePiData);
73  aP->RegisterMe(theModel);
74 }
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 G4BinaryPionBuilder::Build ( G4PionMinusInelasticProcess aP)
virtual

Implements G4VPionBuilder.

Definition at line 77 of file G4BinaryPionBuilder.cc.

78 {
79  theModel->SetMinEnergy(theMin);
80  theModel->SetMaxEnergy(theMax);
81  aP->AddDataSet(thePiData);
82  aP->RegisterMe(theModel);
83 }
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 G4BinaryPionBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 63 of file G4BinaryPionBuilder.hh.

63 {theMax = aM;}
void G4BinaryPionBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 62 of file G4BinaryPionBuilder.hh.

62 {theMin = aM;}

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