Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4He3PHPBuilder Class Reference

#include <G4He3PHPBuilder.hh>

+ Inheritance diagram for G4He3PHPBuilder:

Public Member Functions

 G4He3PHPBuilder ()
 
virtual ~G4He3PHPBuilder ()
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void Build (G4HadronElasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual void SetMaxEnergy (G4double aM) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VHe3Builder
 G4VHe3Builder ()=default
 
virtual ~G4VHe3Builder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()
 
virtual void Build ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMinEnergy (G4double)
 
virtual void SetMaxEnergy (G4double)
 

Detailed Description

Definition at line 49 of file G4He3PHPBuilder.hh.

Constructor & Destructor Documentation

◆ G4He3PHPBuilder()

G4He3PHPBuilder::G4He3PHPBuilder ( )

Definition at line 33 of file G4He3PHPBuilder.cc.

35{
36 theMin = 0;
37 theMax=200.*MeV;
38 theParticlePHPModel = 0;
39}

◆ ~G4He3PHPBuilder()

virtual G4He3PHPBuilder::~G4He3PHPBuilder ( )
inlinevirtual

Definition at line 53 of file G4He3PHPBuilder.hh.

53{}

Member Function Documentation

◆ Build() [1/4]

void G4He3PHPBuilder::Build ( G4HadronElasticProcess aP)
finaloverridevirtual

Implements G4VHe3Builder.

Definition at line 41 of file G4He3PHPBuilder.cc.

43{
44 G4cout << "Info - G4He3PHPBuilder::Build() not adding elastic" << G4endl;
45}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ Build() [2/4]

virtual void G4VHe3Builder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VHe3Builder.

◆ Build() [3/4]

void G4He3PHPBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VHe3Builder.

Definition at line 47 of file G4He3PHPBuilder.cc.

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

◆ Build() [4/4]

virtual void G4VHe3Builder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VHe3Builder.

◆ SetMaxEnergy()

virtual void G4He3PHPBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 62 of file G4He3PHPBuilder.hh.

63 {
64 theMax=aM;
65 }

◆ SetMinEnergy()

virtual void G4He3PHPBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 58 of file G4He3PHPBuilder.hh.

59 {
60 theMin=aM;
61 }

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