G4LHEPProtonBuilder Class Reference

#include <G4LHEPProtonBuilder.hh>

Inheritance diagram for G4LHEPProtonBuilder:

G4VProtonBuilder

Public Member Functions

 G4LHEPProtonBuilder ()
virtual ~G4LHEPProtonBuilder ()
virtual void Build (G4ProtonInelasticProcess *aP)
virtual void Build (G4HadronElasticProcess *)
void SetMinEnergy (G4double aM)

Detailed Description

Definition at line 38 of file G4LHEPProtonBuilder.hh.


Constructor & Destructor Documentation

G4LHEPProtonBuilder::G4LHEPProtonBuilder (  ) 

Definition at line 33 of file G4LHEPProtonBuilder.cc.

00033                       :
00034  theLEProtonModel(0), theHEProtonModel(0) 
00035 {
00036   theMin = 0;
00037 }

G4LHEPProtonBuilder::~G4LHEPProtonBuilder (  )  [virtual]

Definition at line 40 of file G4LHEPProtonBuilder.cc.

00041 {
00042   delete theLEProtonModel;
00043   delete theHEProtonModel;
00044 }


Member Function Documentation

void G4LHEPProtonBuilder::Build ( G4HadronElasticProcess  )  [virtual]

Implements G4VProtonBuilder.

Definition at line 47 of file G4LHEPProtonBuilder.cc.

00048 {
00049 }

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]

Definition at line 48 of file G4LHEPProtonBuilder.hh.

00049     {
00050       theMin = aM;
00051     }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:24 2013 for Geant4 by  doxygen 1.4.7