Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4DeuteronPHPBuilder Class Reference

#include <G4DeuteronPHPBuilder.hh>

Inheritance diagram for G4DeuteronPHPBuilder:
Collaboration diagram for G4DeuteronPHPBuilder:

Public Member Functions

 G4DeuteronPHPBuilder ()
 
virtual ~G4DeuteronPHPBuilder ()
 
virtual void Build (G4DeuteronInelasticProcess *aP)
 
virtual void Build (G4HadronElasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VDeuteronBuilder
 G4VDeuteronBuilder ()
 
virtual ~G4VDeuteronBuilder ()
 

Detailed Description

Definition at line 46 of file G4DeuteronPHPBuilder.hh.

Constructor & Destructor Documentation

G4DeuteronPHPBuilder::G4DeuteronPHPBuilder ( )

Definition at line 34 of file G4DeuteronPHPBuilder.cc.

35 {
36  theMin = 0;
37  theMax=200.*MeV;
38  theParticlePHPModel = 0;
39 }
static constexpr double MeV
Definition: G4SIunits.hh:214
G4DeuteronPHPBuilder::~G4DeuteronPHPBuilder ( )
virtual

Definition at line 42 of file G4DeuteronPHPBuilder.cc.

43 {}

Member Function Documentation

void G4DeuteronPHPBuilder::Build ( G4DeuteronInelasticProcess aP)
virtual

Implements G4VDeuteronBuilder.

Definition at line 52 of file G4DeuteronPHPBuilder.cc.

53 {
55  theDeuteronHPInelasticData->SetMinKinEnergy(theMin);
56  theDeuteronHPInelasticData->SetMaxKinEnergy(theMax);
57  aP->AddDataSet(theDeuteronHPInelasticData);
58 
59  theParticlePHPModel = new G4ParticleHPInelastic(G4Deuteron::Deuteron(),"ParticleHPInelastic");
60  theParticlePHPModel->SetMinEnergy(theMin);
61  theParticlePHPModel->SetMaxEnergy(theMax);
62  aP->RegisterMe(theParticlePHPModel);
63 
64 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void SetMinKinEnergy(G4double value)
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
void SetMaxKinEnergy(G4double value)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4DeuteronPHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VDeuteronBuilder.

Definition at line 46 of file G4DeuteronPHPBuilder.cc.

47 {
48  G4cout << "Info - G4DeuteronPHPBuilder::Build() not adding elastic" << G4endl;
49 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void G4DeuteronPHPBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 60 of file G4DeuteronPHPBuilder.hh.

61  {
62  theMax=aM;
63  }
void G4DeuteronPHPBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 56 of file G4DeuteronPHPBuilder.hh.

57  {
58  theMin=aM;
59  }

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