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

#include <G4BertiniProtonBuilder.hh>

+ Inheritance diagram for G4BertiniProtonBuilder:

Public Member Functions

 G4BertiniProtonBuilder ()
 
virtual ~G4BertiniProtonBuilder ()
 
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
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronInelasticProcess *aP)=0
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()=default
 
virtual ~G4VProtonBuilder ()
 
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 50 of file G4BertiniProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniProtonBuilder()

G4BertiniProtonBuilder::G4BertiniProtonBuilder ( )

Definition at line 47 of file G4BertiniProtonBuilder.cc.

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

◆ ~G4BertiniProtonBuilder()

virtual G4BertiniProtonBuilder::~G4BertiniProtonBuilder ( )
inlinevirtual

Definition at line 54 of file G4BertiniProtonBuilder.hh.

54{}

Member Function Documentation

◆ Build() [1/4]

virtual void G4BertiniProtonBuilder::Build ( G4HadronElasticProcess )
inlinefinaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 56 of file G4BertiniProtonBuilder.hh.

56{};

◆ Build() [2/4]

virtual void G4VProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ Build() [3/4]

void G4BertiniProtonBuilder::Build ( G4HadronInelasticProcess aP)
finaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 55 of file G4BertiniProtonBuilder.cc.

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

◆ Build() [4/4]

virtual void G4VProtonBuilder::Build ( G4HadronInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

◆ SetMaxEnergy()

virtual void G4BertiniProtonBuilder::SetMaxEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 60 of file G4BertiniProtonBuilder.hh.

60{theMax = aM;}

◆ SetMinEnergy()

virtual void G4BertiniProtonBuilder::SetMinEnergy ( G4double  aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4BertiniProtonBuilder.hh.

59{theMin = aM;}

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