Geant4-11
Public Member Functions | Private Attributes
G4AlphaPHPBuilder Class Reference

#include <G4AlphaPHPBuilder.hh>

Inheritance diagram for G4AlphaPHPBuilder:
G4VAlphaBuilder G4PhysicsBuilderInterface

Public Member Functions

virtual void Build ()
 
virtual void Build (G4HadronElasticProcess *aP) final override
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
 G4AlphaPHPBuilder ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double aM) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual ~G4AlphaPHPBuilder ()
 

Private Attributes

G4double theMax
 
G4double theMin
 
G4ParticleHPInelastictheParticlePHPModel
 

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;
39}
static constexpr double MeV
Definition: G4SIunits.hh:200
G4ParticleHPInelastic * theParticlePHPModel

References MeV, theMax, theMin, and theParticlePHPModel.

◆ ~G4AlphaPHPBuilder()

virtual G4AlphaPHPBuilder::~G4AlphaPHPBuilder ( )
inlinevirtual

Definition at line 50 of file G4AlphaPHPBuilder.hh.

50{}

Member Function Documentation

◆ Build() [1/5]

virtual void G4PhysicsBuilderInterface::Build ( )
inlinevirtualinherited

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 46 of file G4PhysicsBuilderInterface.hh.

47 {
48 G4Exception("G4PhysicsBuilderInterface::Build", "PHYSBLD001",
50 "Called based class method. Should be implemented in"
51 " inherited class");
52 }
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

◆ Build() [2/5]

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

References G4cout, and G4endl.

◆ Build() [3/5]

virtual void G4VAlphaBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAlphaBuilder.

◆ Build() [4/5]

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");
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)

References G4HadronicProcess::AddDataSet(), G4Alpha::Alpha(), G4cout, G4endl, G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4VCrossSectionDataSet::SetMaxKinEnergy(), G4HadronicInteraction::SetMinEnergy(), G4VCrossSectionDataSet::SetMinKinEnergy(), theMax, theMin, and theParticlePHPModel.

◆ Build() [5/5]

virtual void G4VAlphaBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VAlphaBuilder.

◆ RegisterMe()

virtual void G4PhysicsBuilderInterface::RegisterMe ( G4PhysicsBuilderInterface )
inlinevirtualinherited

◆ SetMaxEnergy()

virtual void G4AlphaPHPBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4AlphaPHPBuilder.hh.

60 {
61 theMax=aM;
62 }

References theMax.

◆ SetMinEnergy()

virtual void G4AlphaPHPBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 55 of file G4AlphaPHPBuilder.hh.

56 {
57 theMin=aM;
58 }

References theMin.

Field Documentation

◆ theMax

G4double G4AlphaPHPBuilder::theMax
private

Definition at line 68 of file G4AlphaPHPBuilder.hh.

Referenced by Build(), G4AlphaPHPBuilder(), and SetMaxEnergy().

◆ theMin

G4double G4AlphaPHPBuilder::theMin
private

Definition at line 67 of file G4AlphaPHPBuilder.hh.

Referenced by Build(), G4AlphaPHPBuilder(), and SetMinEnergy().

◆ theParticlePHPModel

G4ParticleHPInelastic* G4AlphaPHPBuilder::theParticlePHPModel
private

Definition at line 69 of file G4AlphaPHPBuilder.hh.

Referenced by Build(), and G4AlphaPHPBuilder().


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