#include <G4LEPProtonBuilder.hh>
Inheritance diagram for G4LEPProtonBuilder:
Public Member Functions | |
G4LEPProtonBuilder () | |
virtual | ~G4LEPProtonBuilder () |
virtual void | Build (G4ProtonInelasticProcess *aP) |
virtual void | Build (G4HadronElasticProcess *aP) |
void | SetMinEnergy (G4double aM) |
void | SetMaxEnergy (G4double aM) |
Definition at line 50 of file G4LEPProtonBuilder.hh.
G4LEPProtonBuilder::G4LEPProtonBuilder | ( | ) |
G4LEPProtonBuilder::~G4LEPProtonBuilder | ( | ) | [virtual] |
void G4LEPProtonBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
Implements G4VProtonBuilder.
Definition at line 59 of file G4LEPProtonBuilder.cc.
References G4cout, and G4endl.
void G4LEPProtonBuilder::Build | ( | G4ProtonInelasticProcess * | aP | ) | [virtual] |
Implements G4VProtonBuilder.
Definition at line 65 of file G4LEPProtonBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00066 { 00067 // G4cout << "adding inelastic Proton in LHEP" << G4endl; 00068 theLEProtonModel = new G4LEProtonInelastic(); 00069 theLEProtonModel->SetMinEnergy(theMin); 00070 theLEProtonModel->SetMaxEnergy(theMax); 00071 aP->RegisterMe(theLEProtonModel); 00072 }
void G4LEPProtonBuilder::SetMaxEnergy | ( | G4double | aM | ) | [inline] |
void G4LEPProtonBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |