Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HadronElasticPhysicsLEND Class Reference

#include <G4HadronElasticPhysicsLEND.hh>

+ Inheritance diagram for G4HadronElasticPhysicsLEND:

Public Member Functions

 G4HadronElasticPhysicsLEND (G4int ver=1, G4String evaluation="")
 
virtual ~G4HadronElasticPhysicsLEND ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
virtual void ConstructParticle ()=0
 
virtual void ConstructProcess ()=0
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4ParticleTable::G4PTblDicIteratortheParticleIterator
 
G4PhysicsListHelperthePLHelper
 

Detailed Description

Definition at line 47 of file G4HadronElasticPhysicsLEND.hh.

Constructor & Destructor Documentation

◆ G4HadronElasticPhysicsLEND()

G4HadronElasticPhysicsLEND::G4HadronElasticPhysicsLEND ( G4int  ver = 1,
G4String  evaluation = "" 
)

Definition at line 59 of file G4HadronElasticPhysicsLEND.cc.

60 : G4VPhysicsConstructor("hElasticWEL_CHIPS_LEND"), verbose(ver),
61 wasActivated(false),
62 evaluation(eva)
63{
64 if(verbose > 1) {
65 G4cout << "### G4HadronElasticPhysicsLEND: " << GetPhysicsName()
66 << G4endl;
67 }
68 mainElasticBuilder = new G4HadronElasticPhysics(verbose);
69}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
const G4String & GetPhysicsName() const

◆ ~G4HadronElasticPhysicsLEND()

G4HadronElasticPhysicsLEND::~G4HadronElasticPhysicsLEND ( )
virtual

Definition at line 71 of file G4HadronElasticPhysicsLEND.cc.

72{
73 delete mainElasticBuilder;
74}

Member Function Documentation

◆ ConstructParticle()

void G4HadronElasticPhysicsLEND::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 76 of file G4HadronElasticPhysicsLEND.cc.

77{
78 // G4cout << "G4HadronElasticPhysics::ConstructParticle" << G4endl;
79 mainElasticBuilder->ConstructParticle();
80}

◆ ConstructProcess()

void G4HadronElasticPhysicsLEND::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 82 of file G4HadronElasticPhysicsLEND.cc.

83{
84 if(wasActivated) return;
85 wasActivated = true;
86
87 mainElasticBuilder->ConstructProcess();
88
89 mainElasticBuilder->GetNeutronModel()->SetMinEnergy(19.5*MeV);
90
91 G4HadronicProcess* hel = mainElasticBuilder->GetNeutronProcess();
92
94 if ( evaluation.size() > 0 ) lend->ChangeDefaultEvaluation( evaluation );
95 //lend->AllowNaturalAbundanceTarget();
96 lend->AllowAnyCandidateTarget();
97 hel->RegisterMe(lend);
99 if ( evaluation.size() > 0 ) lend_XS->ChangeDefaultEvaluation( evaluation );
100 //lend_XS->AllowNaturalAbundanceTarget();
101 lend_XS->AllowAnyCandidateTarget();
102 hel->AddDataSet( lend_XS );
103
104 if(verbose > 1) {
105 G4cout << "### HadronElasticPhysicsLEND is constructed"
106 << G4endl;
107 }
108}
G4HadronicProcess * GetNeutronProcess()
G4HadronElastic * GetNeutronModel()
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
void ChangeDefaultEvaluation(G4String name_tmp)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104

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