Geant4  10.02.p03
G4ProtonPHPBuilder Class Reference

#include <G4ProtonPHPBuilder.hh>

Inheritance diagram for G4ProtonPHPBuilder:
Collaboration diagram for G4ProtonPHPBuilder:

Public Member Functions

 G4ProtonPHPBuilder ()
 
virtual ~G4ProtonPHPBuilder ()
 
virtual void Build (G4ProtonInelasticProcess *aP)
 
virtual void Build (G4HadronElasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VProtonBuilder
 G4VProtonBuilder ()
 
virtual ~G4VProtonBuilder ()
 

Private Attributes

G4double theMin
 
G4double theMax
 
G4ParticleHPInelastictheParticlePHPModel
 

Detailed Description

Definition at line 46 of file G4ProtonPHPBuilder.hh.

Constructor & Destructor Documentation

◆ G4ProtonPHPBuilder()

G4ProtonPHPBuilder::G4ProtonPHPBuilder ( )

Definition at line 33 of file G4ProtonPHPBuilder.cc.

34 {
35  theMin = 0;
36  theMax=200.*MeV;
38 }
static const double MeV
Definition: G4SIunits.hh:211
G4ParticleHPInelastic * theParticlePHPModel
Here is the call graph for this function:

◆ ~G4ProtonPHPBuilder()

G4ProtonPHPBuilder::~G4ProtonPHPBuilder ( )
virtual

Definition at line 41 of file G4ProtonPHPBuilder.cc.

42 {}
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ Build() [1/2]

void G4ProtonPHPBuilder::Build ( G4ProtonInelasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 51 of file G4ProtonPHPBuilder.cc.

52 {
54  theProtonHPInelasticData->SetMinKinEnergy(theMin);
55  theProtonHPInelasticData->SetMaxKinEnergy(theMax);
56  aP->AddDataSet(theProtonHPInelasticData);
57 
58  theParticlePHPModel = new G4ParticleHPInelastic(G4Proton::Proton(),"ParticleHPInelastic");
62  // theParticleModel->DumpInfo();
63 
64 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4ParticleHPInelastic * theParticlePHPModel
void SetMinKinEnergy(G4double value)
static G4Proton * Proton()
Definition: G4Proton.cc:93
void SetMaxKinEnergy(G4double value)
void SetMaxEnergy(const G4double anEnergy)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Build() [2/2]

void G4ProtonPHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VProtonBuilder.

Definition at line 45 of file G4ProtonPHPBuilder.cc.

46 {
47  G4cout << "Info - G4ProtonPHPBuilder::Build() not adding elastic" << G4endl;
48 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ SetMaxEnergy()

void G4ProtonPHPBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 60 of file G4ProtonPHPBuilder.hh.

61  {
62  theMax=aM;
63  }
Here is the caller graph for this function:

◆ SetMinEnergy()

void G4ProtonPHPBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 56 of file G4ProtonPHPBuilder.hh.

57  {
58  theMin=aM;
59  }
Here is the caller graph for this function:

Member Data Documentation

◆ theMax

G4double G4ProtonPHPBuilder::theMax
private

Definition at line 67 of file G4ProtonPHPBuilder.hh.

◆ theMin

G4double G4ProtonPHPBuilder::theMin
private

Definition at line 66 of file G4ProtonPHPBuilder.hh.

◆ theParticlePHPModel

G4ParticleHPInelastic* G4ProtonPHPBuilder::theParticlePHPModel
private

Definition at line 68 of file G4ProtonPHPBuilder.hh.


The documentation for this class was generated from the following files: