Geant4 10.7.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, const G4String &eval="")
 
virtual ~G4HadronElasticPhysicsLEND ()
 
void ConstructProcess () final
 
- Public Member Functions inherited from G4HadronElasticPhysics
 G4HadronElasticPhysics (G4int ver=0, const G4String &nam="hElasticWEL_CHIPS_XS")
 
virtual ~G4HadronElasticPhysics ()
 
void ConstructParticle () override
 
void ConstructProcess () override
 
G4HadronicProcessGetElasticProcess (const G4ParticleDefinition *part) const
 
G4HadronElasticGetElasticModel (const G4ParticleDefinition *part) const
 
G4HadronicProcessGetNeutronProcess () const
 
G4HadronElasticGetNeutronModel () const
 
void AddXSection (const G4ParticleDefinition *, G4VCrossSectionDataSet *) const
 
- 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
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VPhysicsConstructor
using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
PhysicsBuilder_V GetBuilders () const
 
void AddBuilder (G4PhysicsBuilderInterface *bld)
 
- Protected Attributes inherited from G4HadronElasticPhysics
G4int verbose
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 43 of file G4HadronElasticPhysicsLEND.hh.

Constructor & Destructor Documentation

◆ G4HadronElasticPhysicsLEND()

G4HadronElasticPhysicsLEND::G4HadronElasticPhysicsLEND ( G4int  ver = 1,
const G4String eval = "" 
)
explicit

Definition at line 56 of file G4HadronElasticPhysicsLEND.cc.

57 : G4HadronElasticPhysics(ver, "hElasticWEL_CHIPS_LEND"), evaluation(eva)
58{
59 if(verbose > 1) {
60 G4cout << "### G4HadronElasticPhysicsLEND: " << GetPhysicsName()
61 << G4endl;
62 }
63}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
const G4String & GetPhysicsName() const

◆ ~G4HadronElasticPhysicsLEND()

G4HadronElasticPhysicsLEND::~G4HadronElasticPhysicsLEND ( )
virtual

Definition at line 65 of file G4HadronElasticPhysicsLEND.cc.

66{}

Member Function Documentation

◆ ConstructProcess()

void G4HadronElasticPhysicsLEND::ConstructProcess ( )
finalvirtual

Reimplemented from G4HadronElasticPhysics.

Definition at line 68 of file G4HadronElasticPhysicsLEND.cc.

69{
71
73 G4HadronElastic* he = GetElasticModel(neutron);
75 if(he && hel) {
76 he->SetMinEnergy(19.5*MeV);
77 G4LENDElastic* lend = new G4LENDElastic(neutron);
79 if ( evaluation.size() > 0 ) {
80 lend->ChangeDefaultEvaluation( evaluation );
81 lend_XS->ChangeDefaultEvaluation( evaluation );
82 }
84 //lend->AllowAnyCandidateTarget();
85 lend->DumpLENDTargetInfo(true);
86 hel->RegisterMe(lend);
88 //lend_XS->AllowAnyCandidateTarget();
89 hel->AddDataSet( lend_XS );
90 }
91
92 if(verbose > 1) {
93 G4cout << "### HadronElasticPhysicsLEND is constructed"
94 << G4endl;
95 }
96}
G4HadronElastic * GetElasticModel(const G4ParticleDefinition *part) const
G4HadronicProcess * GetElasticProcess(const G4ParticleDefinition *part) const
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
void ChangeDefaultEvaluation(G4String name_tmp)
void DumpLENDTargetInfo(G4bool force=false)
Definition: G4LENDModel.cc:275
void AllowNaturalAbundanceTarget()
Definition: G4LENDModel.hh:63
void ChangeDefaultEvaluation(G4String name)
Definition: G4LENDModel.hh:62
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103

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