Geant4  10.02.p03
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 ()
 

Private Attributes

G4double theMin
 
G4double theMax
 
G4ParticleHPInelastictheParticlePHPModel
 

Detailed Description

Definition at line 46 of file G4AlphaPHPBuilder.hh.

Constructor & Destructor Documentation

◆ G4AlphaPHPBuilder()

G4AlphaPHPBuilder::G4AlphaPHPBuilder ( )

Definition at line 33 of file G4AlphaPHPBuilder.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:

◆ ~G4AlphaPHPBuilder()

G4AlphaPHPBuilder::~G4AlphaPHPBuilder ( )
virtual

Definition at line 41 of file G4AlphaPHPBuilder.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 G4AlphaPHPBuilder::Build ( G4AlphaInelasticProcess aP)
virtual

Implements G4VAlphaBuilder.

Definition at line 51 of file G4AlphaPHPBuilder.cc.

52 {
53  G4cout << " G4AlphaPHPBuilder " << G4endl;
55  theAlphaHPInelasticData->SetMinKinEnergy(theMin);
56  theAlphaHPInelasticData->SetMaxKinEnergy(theMax);
57  aP->AddDataSet(theAlphaHPInelasticData);
58 
59  theParticlePHPModel = new G4ParticleHPInelastic(G4Alpha::Alpha(),"ParticleHPInelastic");
63 
64 }
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
void SetMinKinEnergy(G4double value)
G4ParticleHPInelastic * theParticlePHPModel
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:
Here is the caller graph for this function:

◆ Build() [2/2]

void G4AlphaPHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VAlphaBuilder.

Definition at line 45 of file G4AlphaPHPBuilder.cc.

46 {
47  G4cout << "Info - G4AlphaPHPBuilder::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 G4AlphaPHPBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 60 of file G4AlphaPHPBuilder.hh.

61  {
62  theMax=aM;
63  }

◆ SetMinEnergy()

void G4AlphaPHPBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 56 of file G4AlphaPHPBuilder.hh.

57  {
58  theMin=aM;
59  }

Member Data Documentation

◆ theMax

G4double G4AlphaPHPBuilder::theMax
private

Definition at line 67 of file G4AlphaPHPBuilder.hh.

◆ theMin

G4double G4AlphaPHPBuilder::theMin
private

Definition at line 66 of file G4AlphaPHPBuilder.hh.

◆ theParticlePHPModel

G4ParticleHPInelastic* G4AlphaPHPBuilder::theParticlePHPModel
private

Definition at line 68 of file G4AlphaPHPBuilder.hh.


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