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

#include <G4BinaryDeuteronBuilder.hh>

+ Inheritance diagram for G4BinaryDeuteronBuilder:

Public Member Functions

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

Detailed Description

Definition at line 50 of file G4BinaryDeuteronBuilder.hh.

Constructor & Destructor Documentation

◆ G4BinaryDeuteronBuilder()

G4BinaryDeuteronBuilder::G4BinaryDeuteronBuilder ( )

Definition at line 46 of file G4BinaryDeuteronBuilder.cc.

48{
49 theModel = new G4BinaryCascade();
50 theMin = 0.0;
52}
static G4HadronicParameters * Instance()
G4double GetMaxEnergyTransitionFTF_Cascade() const

◆ ~G4BinaryDeuteronBuilder()

virtual G4BinaryDeuteronBuilder::~G4BinaryDeuteronBuilder ( )
inlinevirtual

Definition at line 54 of file G4BinaryDeuteronBuilder.hh.

54{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4BinaryDeuteronBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VDeuteronBuilder.

Definition at line 56 of file G4BinaryDeuteronBuilder.hh.

56{}

◆ Build() [2/2]

void G4BinaryDeuteronBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VDeuteronBuilder.

Definition at line 54 of file G4BinaryDeuteronBuilder.cc.

56{
57 theModel->SetMinEnergy(theMin);
58 theModel->SetMaxEnergy(theMax);
59 aP->RegisterMe(theModel);
60}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMaxEnergy()

virtual void G4BinaryDeuteronBuilder::SetMaxEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 60 of file G4BinaryDeuteronBuilder.hh.

60{theMax = aM;}

◆ SetMinEnergy()

virtual void G4BinaryDeuteronBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4BinaryDeuteronBuilder.hh.

59{theMin = aM;}

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