#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) |
Definition at line 52 of file G4PrecoProtonBuilder.hh.
G4PrecoProtonBuilder::G4PrecoProtonBuilder | ( | ) |
Definition at line 49 of file G4PrecoProtonBuilder.cc.
00050 { 00051 theMin = 0; 00052 theMax = 170.*MeV; 00053 theModel = new G4PreCompoundModel(new G4ExcitationHandler); 00054 }
G4PrecoProtonBuilder::~G4PrecoProtonBuilder | ( | ) | [virtual] |
void G4PrecoProtonBuilder::Build | ( | G4ProtonInelasticProcess * | aP | ) | [virtual] |
Implements G4VProtonBuilder.
Definition at line 65 of file G4PrecoProtonBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00066 { 00067 theModel->SetMinEnergy(theMin); 00068 theModel->SetMaxEnergy(theMax); 00069 aP->RegisterMe(theModel); 00070 aP->AddDataSet(new G4ProtonInelasticCrossSection); 00071 }
void G4PrecoProtonBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
void G4PrecoProtonBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |