#include <G4LHEPProtonBuilder.hh>
Inheritance diagram for G4LHEPProtonBuilder:
Public Member Functions | |
G4LHEPProtonBuilder () | |
virtual | ~G4LHEPProtonBuilder () |
virtual void | Build (G4ProtonInelasticProcess *aP) |
virtual void | Build (G4HadronElasticProcess *) |
void | SetMinEnergy (G4double aM) |
Definition at line 38 of file G4LHEPProtonBuilder.hh.
G4LHEPProtonBuilder::G4LHEPProtonBuilder | ( | ) |
G4LHEPProtonBuilder::~G4LHEPProtonBuilder | ( | ) | [virtual] |
void G4LHEPProtonBuilder::Build | ( | G4HadronElasticProcess * | ) | [virtual] |
void G4LHEPProtonBuilder::Build | ( | G4ProtonInelasticProcess * | aP | ) | [virtual] |
Implements G4VProtonBuilder.
Definition at line 52 of file G4LHEPProtonBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00053 { 00054 theLEProtonModel = new G4LEProtonInelastic(); 00055 theHEProtonModel = new G4HEProtonInelastic(); 00056 theLEProtonModel->SetMinEnergy(theMin); 00057 theLEProtonModel->SetMaxEnergy(55*GeV); 00058 theHEProtonModel->SetMinEnergy(25*GeV); 00059 aP->RegisterMe(theLEProtonModel); 00060 aP->RegisterMe(theHEProtonModel); 00061 }
void G4LHEPProtonBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |