Geant4 11.1.1
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
 
 G4HadronElasticPhysicsLEND (G4HadronElasticPhysicsLEND &)=delete
 
G4HadronElasticPhysicsLENDoperator= (const G4HadronElasticPhysicsLEND &right)=delete
 
- Public Member Functions inherited from G4HadronElasticPhysics
 G4HadronElasticPhysics (G4int ver=1, 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
 
 G4HadronElasticPhysics (G4HadronElasticPhysics &)=delete
 
G4HadronElasticPhysicsoperator= (const G4HadronElasticPhysics &right)=delete
 
- 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
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

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 G4VPhysicsConstructor
G4int verboseLevel = 0
 
G4String namePhysics = ""
 
G4int typePhysics = 0
 
G4ParticleTabletheParticleTable = nullptr
 
G4int g4vpcInstanceID = 0
 
- 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() [1/2]

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

Definition at line 57 of file G4HadronElasticPhysicsLEND.cc.

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

◆ ~G4HadronElasticPhysicsLEND()

G4HadronElasticPhysicsLEND::~G4HadronElasticPhysicsLEND ( )
virtual

Definition at line 66 of file G4HadronElasticPhysicsLEND.cc.

67{}

◆ G4HadronElasticPhysicsLEND() [2/2]

G4HadronElasticPhysicsLEND::G4HadronElasticPhysicsLEND ( G4HadronElasticPhysicsLEND )
delete

Member Function Documentation

◆ ConstructProcess()

void G4HadronElasticPhysicsLEND::ConstructProcess ( )
finalvirtual

Reimplemented from G4HadronElasticPhysics.

Definition at line 69 of file G4HadronElasticPhysicsLEND.cc.

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

◆ operator=()

G4HadronElasticPhysicsLEND & G4HadronElasticPhysicsLEND::operator= ( const G4HadronElasticPhysicsLEND right)
delete

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