G4PrecoProtonBuilder Class Reference

#include <G4PrecoProtonBuilder.hh>

Inheritance diagram for G4PrecoProtonBuilder:

G4VProtonBuilder

Public Member Functions

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

Detailed Description

Definition at line 52 of file G4PrecoProtonBuilder.hh.


Constructor & Destructor Documentation

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]

Definition at line 57 of file G4PrecoProtonBuilder.cc.

00057 {}


Member Function Documentation

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]

Implements G4VProtonBuilder.

Definition at line 60 of file G4PrecoProtonBuilder.cc.

00061 {
00062 }

void G4PrecoProtonBuilder::SetMinEnergy ( G4double  aM  )  [inline]

Definition at line 62 of file G4PrecoProtonBuilder.hh.

00062 {theMin = aM;}


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