Geant4 9.6.0
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 *aP)
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()
 
virtual ~G4VProtonBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4ProtonInelasticProcess *aP)=0
 

Detailed Description

Definition at line 52 of file G4PrecoProtonBuilder.hh.

Constructor & Destructor Documentation

◆ G4PrecoProtonBuilder()

G4PrecoProtonBuilder::G4PrecoProtonBuilder ( )

Definition at line 48 of file G4PrecoProtonBuilder.cc.

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

◆ ~G4PrecoProtonBuilder()

G4PrecoProtonBuilder::~G4PrecoProtonBuilder ( )
virtual

Definition at line 56 of file G4PrecoProtonBuilder.cc.

57{}

Member Function Documentation

◆ Build() [1/2]

void G4PrecoProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 59 of file G4PrecoProtonBuilder.cc.

61{
62}

◆ Build() [2/2]

void G4PrecoProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 64 of file G4PrecoProtonBuilder.cc.

66{
67 theModel->SetMinEnergy(theMin);
68 theModel->SetMaxEnergy(theMax);
69 aP->RegisterMe(theModel);
71}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMinEnergy()

void G4PrecoProtonBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 62 of file G4PrecoProtonBuilder.hh.

62{theMin = aM;}

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