Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4AlphaPHPBuilder Class Reference

#include <G4AlphaPHPBuilder.hh>

Inheritance diagram for G4AlphaPHPBuilder:
Collaboration diagram for G4AlphaPHPBuilder:

Public Member Functions

 G4AlphaPHPBuilder ()
 
virtual ~G4AlphaPHPBuilder ()
 
virtual void Build (G4AlphaInelasticProcess *aP)
 
virtual void Build (G4HadronElasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VAlphaBuilder
 G4VAlphaBuilder ()
 
virtual ~G4VAlphaBuilder ()
 

Detailed Description

Definition at line 46 of file G4AlphaPHPBuilder.hh.

Constructor & Destructor Documentation

G4AlphaPHPBuilder::G4AlphaPHPBuilder ( )

Definition at line 34 of file G4AlphaPHPBuilder.cc.

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

Definition at line 42 of file G4AlphaPHPBuilder.cc.

43 {}

Member Function Documentation

void G4AlphaPHPBuilder::Build ( G4AlphaInelasticProcess aP)
virtual

Implements G4VAlphaBuilder.

Definition at line 52 of file G4AlphaPHPBuilder.cc.

53 {
54  G4cout << " G4AlphaPHPBuilder " << G4endl;
56  theAlphaHPInelasticData->SetMinKinEnergy(theMin);
57  theAlphaHPInelasticData->SetMaxKinEnergy(theMax);
58  aP->AddDataSet(theAlphaHPInelasticData);
59 
60  theParticlePHPModel = new G4ParticleHPInelastic(G4Alpha::Alpha(),"ParticleHPInelastic");
61  theParticlePHPModel->SetMinEnergy(theMin);
62  theParticlePHPModel->SetMaxEnergy(theMax);
63  aP->RegisterMe(theParticlePHPModel);
64 
65 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
void SetMinKinEnergy(G4double value)
void SetMaxKinEnergy(G4double value)
void SetMaxEnergy(const G4double anEnergy)
#define G4endl
Definition: G4ios.hh:61
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89

Here is the call graph for this function:

void G4AlphaPHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAlphaBuilder.

Definition at line 46 of file G4AlphaPHPBuilder.cc.

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

Definition at line 60 of file G4AlphaPHPBuilder.hh.

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

Definition at line 56 of file G4AlphaPHPBuilder.hh.

57  {
58  theMin=aM;
59  }

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