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

#include <G4TritonPHPBuilder.hh>

+ Inheritance diagram for G4TritonPHPBuilder:

Public Member Functions

 G4TritonPHPBuilder ()
 
virtual ~G4TritonPHPBuilder ()
 
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
 
- Public Member Functions inherited from G4VTritonBuilder
 G4VTritonBuilder ()=default
 
virtual ~G4VTritonBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 

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}

◆ ~G4TritonPHPBuilder()

virtual G4TritonPHPBuilder::~G4TritonPHPBuilder ( )
inlinevirtual

Definition at line 53 of file G4TritonPHPBuilder.hh.

53{}

Member Function Documentation

◆ Build() [1/2]

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:67
G4GLOB_DLL std::ostream G4cout

◆ Build() [2/2]

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:90
void SetMaxKinEnergy(G4double value)
void SetMinKinEnergy(G4double value)

◆ SetMaxEnergy()

virtual void G4TritonPHPBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 63 of file G4TritonPHPBuilder.hh.

64 {
65 theMax=aM;
66 }

◆ SetMinEnergy()

virtual void G4TritonPHPBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4TritonPHPBuilder.hh.

60 {
61 theMin=aM;
62 }

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