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

#include <G4AlphaPHPBuilder.hh>

+ Inheritance diagram for G4AlphaPHPBuilder:

Public Member Functions

 G4AlphaPHPBuilder ()
 
virtual ~G4AlphaPHPBuilder ()
 
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 G4VAlphaBuilder
 G4VAlphaBuilder ()=default
 
virtual ~G4VAlphaBuilder ()
 
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 46 of file G4AlphaPHPBuilder.hh.

Constructor & Destructor Documentation

◆ G4AlphaPHPBuilder()

G4AlphaPHPBuilder::G4AlphaPHPBuilder ( )

Definition at line 33 of file G4AlphaPHPBuilder.cc.

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

◆ ~G4AlphaPHPBuilder()

virtual G4AlphaPHPBuilder::~G4AlphaPHPBuilder ( )
inlinevirtual

Definition at line 50 of file G4AlphaPHPBuilder.hh.

50{}

Member Function Documentation

◆ Build() [1/4]

void G4AlphaPHPBuilder::Build ( G4HadronElasticProcess aP)
finaloverridevirtual

Implements G4VAlphaBuilder.

Definition at line 41 of file G4AlphaPHPBuilder.cc.

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

◆ Build() [2/4]

virtual void G4VAlphaBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAlphaBuilder.

◆ Build() [3/4]

void G4AlphaPHPBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VAlphaBuilder.

Definition at line 47 of file G4AlphaPHPBuilder.cc.

49{
50 G4cout << " G4AlphaPHPBuilder " << G4endl;
52 theAlphaHPInelasticData->SetMinKinEnergy(theMin);
53 theAlphaHPInelasticData->SetMaxKinEnergy(theMax);
54 aP->AddDataSet(theAlphaHPInelasticData);
55
56 theParticlePHPModel = new G4ParticleHPInelastic(G4Alpha::Alpha(),"ParticleHPInelastic");
57 theParticlePHPModel->SetMinEnergy(theMin);
58 theParticlePHPModel->SetMaxEnergy(theMax);
59 aP->RegisterMe(theParticlePHPModel);
60
61}
static G4Alpha * Alpha()
Definition: G4Alpha.cc:88
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
void SetMaxKinEnergy(G4double value)
void SetMinKinEnergy(G4double value)

◆ Build() [4/4]

virtual void G4VAlphaBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VAlphaBuilder.

◆ SetMaxEnergy()

virtual void G4AlphaPHPBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4AlphaPHPBuilder.hh.

60 {
61 theMax=aM;
62 }

◆ SetMinEnergy()

virtual void G4AlphaPHPBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 55 of file G4AlphaPHPBuilder.hh.

56 {
57 theMin=aM;
58 }

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