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

#include <G4TritonPHPBuilder.hh>

Inheritance diagram for G4TritonPHPBuilder:
Collaboration diagram for G4TritonPHPBuilder:

Public Member Functions

 G4TritonPHPBuilder ()
 
virtual ~G4TritonPHPBuilder ()
 
virtual void Build (G4TritonInelasticProcess *aP)
 
virtual void Build (G4HadronElasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VTritonBuilder
 G4VTritonBuilder ()
 
virtual ~G4VTritonBuilder ()
 

Detailed Description

Definition at line 46 of file G4TritonPHPBuilder.hh.

Constructor & Destructor Documentation

G4TritonPHPBuilder::G4TritonPHPBuilder ( )

Definition at line 34 of file G4TritonPHPBuilder.cc.

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

Definition at line 42 of file G4TritonPHPBuilder.cc.

43 {}

Member Function Documentation

void G4TritonPHPBuilder::Build ( G4TritonInelasticProcess aP)
virtual

Implements G4VTritonBuilder.

Definition at line 52 of file G4TritonPHPBuilder.cc.

53 {
55  theTritonHPInelasticData->SetMinKinEnergy(theMin);
56  theTritonHPInelasticData->SetMaxKinEnergy(theMax);
57  aP->AddDataSet(theTritonHPInelasticData);
58 
59  theParticlePHPModel = new G4ParticleHPInelastic(G4Triton::Triton(),"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 G4Triton * Triton()
Definition: G4Triton.cc:95
void SetMaxKinEnergy(G4double value)
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:

void G4TritonPHPBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VTritonBuilder.

Definition at line 46 of file G4TritonPHPBuilder.cc.

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

Definition at line 60 of file G4TritonPHPBuilder.hh.

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

Definition at line 56 of file G4TritonPHPBuilder.hh.

57  {
58  theMin=aM;
59  }

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