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

#include <G4He3PHPBuilder.hh>

Inheritance diagram for G4He3PHPBuilder:
Collaboration diagram for G4He3PHPBuilder:

Public Member Functions

 G4He3PHPBuilder ()
 
virtual ~G4He3PHPBuilder ()
 
virtual void Build (G4He3InelasticProcess *aP)
 
virtual void Build (G4HadronElasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VHe3Builder
 G4VHe3Builder ()
 
virtual ~G4VHe3Builder ()
 

Detailed Description

Definition at line 46 of file G4He3PHPBuilder.hh.

Constructor & Destructor Documentation

G4He3PHPBuilder::G4He3PHPBuilder ( )

Definition at line 34 of file G4He3PHPBuilder.cc.

35 {
36  theMin = 0;
37  theMax=200.*MeV;
38  theParticlePHPModel = 0;
39 }
static constexpr double MeV
Definition: G4SIunits.hh:214
G4He3PHPBuilder::~G4He3PHPBuilder ( )
virtual

Definition at line 42 of file G4He3PHPBuilder.cc.

43 {}

Member Function Documentation

void G4He3PHPBuilder::Build ( G4He3InelasticProcess aP)
virtual

Implements G4VHe3Builder.

Definition at line 52 of file G4He3PHPBuilder.cc.

53 {
55  theHe3HPInelasticData->SetMinKinEnergy(theMin);
56  theHe3HPInelasticData->SetMaxKinEnergy(theMax);
57  aP->AddDataSet(theHe3HPInelasticData);
58 
59  theParticlePHPModel = new G4ParticleHPInelastic(G4He3::He3(),"ParticleHPInelastic");
60  theParticlePHPModel->SetMinEnergy(theMin);
61  theParticlePHPModel->SetMaxEnergy(theMax);
62  aP->RegisterMe(theParticlePHPModel);
63 
64 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMinKinEnergy(G4double value)
void SetMaxKinEnergy(G4double value)
void SetMaxEnergy(const G4double anEnergy)
static G4He3 * He3()
Definition: G4He3.cc:94

Here is the call graph for this function:

void G4He3PHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VHe3Builder.

Definition at line 46 of file G4He3PHPBuilder.cc.

47 {
48  G4cout << "Info - G4He3PHPBuilder::Build() not adding elastic" << G4endl;
49 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void G4He3PHPBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 60 of file G4He3PHPBuilder.hh.

61  {
62  theMax=aM;
63  }
void G4He3PHPBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 56 of file G4He3PHPBuilder.hh.

57  {
58  theMin=aM;
59  }

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