Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PrecoProtonBuilder Class Reference

#include <G4PrecoProtonBuilder.hh>

Inheritance diagram for G4PrecoProtonBuilder:
Collaboration 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 ()
 

Detailed Description

Definition at line 52 of file G4PrecoProtonBuilder.hh.

Constructor & Destructor Documentation

G4PrecoProtonBuilder::G4PrecoProtonBuilder ( )

Definition at line 49 of file G4PrecoProtonBuilder.cc.

50 {
51  theMin = 0;
52  theMax = 170.*MeV;
53  theModel = new G4PreCompoundModel(new G4ExcitationHandler);
54 }
static constexpr double MeV
Definition: G4SIunits.hh:214
G4PrecoProtonBuilder::~G4PrecoProtonBuilder ( )
virtual

Definition at line 57 of file G4PrecoProtonBuilder.cc.

57 {}

Member Function Documentation

void G4PrecoProtonBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 60 of file G4PrecoProtonBuilder.cc.

61 {
62 }
void G4PrecoProtonBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 65 of file G4PrecoProtonBuilder.cc.

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

Here is the call graph for this function:

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: