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

#include <G4PrecoProtonBuilder.hh>

+ Inheritance diagram for G4PrecoProtonBuilder:

Public Member Functions

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

Detailed Description

Definition at line 49 of file G4PrecoProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4PrecoProtonBuilder()

G4PrecoProtonBuilder::G4PrecoProtonBuilder ( )

Definition at line 47 of file G4PrecoProtonBuilder.cc.

49{
50 theMin = 0;
51 theMax = 170.*MeV;
52 theModel = new G4PreCompoundModel(new G4ExcitationHandler);
53}

◆ ~G4PrecoProtonBuilder()

virtual G4PrecoProtonBuilder::~G4PrecoProtonBuilder ( )
inlinevirtual

Definition at line 53 of file G4PrecoProtonBuilder.hh.

53{}

Member Function Documentation

◆ Build() [1/2]

virtual void G4PrecoProtonBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 56 of file G4PrecoProtonBuilder.hh.

56{};

◆ Build() [2/2]

void G4PrecoProtonBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VProtonBuilder.

Definition at line 55 of file G4PrecoProtonBuilder.cc.

57{
58 theModel->SetMinEnergy(theMin);
59 theModel->SetMaxEnergy(theMax);
60 aP->RegisterMe(theModel);
62}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Proton * Proton()
Definition G4Proton.cc:90

◆ SetMinEnergy()

virtual void G4PrecoProtonBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 59 of file G4PrecoProtonBuilder.hh.

59{theMin = aM;}

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