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

#include <G4TritonPHPBuilder.hh>

Inheritance diagram for G4TritonPHPBuilder:
G4VTritonBuilder 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
 
 G4TritonPHPBuilder ()
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double aM) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
virtual ~G4TritonPHPBuilder ()
 

Private Attributes

G4double theMax
 
G4double theMin
 

Detailed Description

Definition at line 49 of file G4TritonPHPBuilder.hh.

Constructor & Destructor Documentation

◆ G4TritonPHPBuilder()

G4TritonPHPBuilder::G4TritonPHPBuilder ( )

Definition at line 33 of file G4TritonPHPBuilder.cc.

35{
36 theMin = 0;
37 theMax=200.*MeV;
38}
static constexpr double MeV
Definition: G4SIunits.hh:200

References MeV, theMax, and theMin.

◆ ~G4TritonPHPBuilder()

virtual G4TritonPHPBuilder::~G4TritonPHPBuilder ( )
inlinevirtual

Definition at line 53 of file G4TritonPHPBuilder.hh.

53{}

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 G4TritonPHPBuilder::Build ( G4HadronElasticProcess aP)
finaloverridevirtual

Implements G4VTritonBuilder.

Definition at line 40 of file G4TritonPHPBuilder.cc.

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

References G4cout, and G4endl.

◆ Build() [3/5]

virtual void G4VTritonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VTritonBuilder.

◆ Build() [4/5]

void G4TritonPHPBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VTritonBuilder.

Definition at line 46 of file G4TritonPHPBuilder.cc.

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

References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), G4VCrossSectionDataSet::SetMaxKinEnergy(), G4HadronicInteraction::SetMinEnergy(), G4VCrossSectionDataSet::SetMinKinEnergy(), theMax, theMin, and G4Triton::Triton().

◆ Build() [5/5]

virtual void G4VTritonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VTritonBuilder.

◆ RegisterMe()

virtual void G4PhysicsBuilderInterface::RegisterMe ( G4PhysicsBuilderInterface )
inlinevirtualinherited

◆ SetMaxEnergy()

virtual void G4TritonPHPBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 63 of file G4TritonPHPBuilder.hh.

64 {
65 theMax=aM;
66 }

References theMax.

◆ SetMinEnergy()

virtual void G4TritonPHPBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4TritonPHPBuilder.hh.

60 {
61 theMin=aM;
62 }

References theMin.

Field Documentation

◆ theMax

G4double G4TritonPHPBuilder::theMax
private

Definition at line 72 of file G4TritonPHPBuilder.hh.

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

◆ theMin

G4double G4TritonPHPBuilder::theMin
private

Definition at line 71 of file G4TritonPHPBuilder.hh.

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


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