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

#include <G4HadronElasticPhysicsHP.hh>

+ Inheritance diagram for G4HadronElasticPhysicsHP:

Public Member Functions

 G4HadronElasticPhysicsHP (G4int ver=1)
 
 ~G4HadronElasticPhysicsHP () override=default
 
void ConstructProcess () override
 
 G4HadronElasticPhysicsHP (G4HadronElasticPhysicsHP &)=delete
 
G4HadronElasticPhysicsHPoperator= (const G4HadronElasticPhysicsHP &right)=delete
 
- Public Member Functions inherited from G4HadronElasticPhysics
 G4HadronElasticPhysics (G4int ver=1, const G4String &nam="hElasticWEL_CHIPS_XS")
 
 ~G4HadronElasticPhysics () override=default
 
void ConstructParticle () 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 ()
 
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 G4HadronElasticPhysicsHP.hh.

Constructor & Destructor Documentation

◆ G4HadronElasticPhysicsHP() [1/2]

G4HadronElasticPhysicsHP::G4HadronElasticPhysicsHP ( G4int ver = 1)
explicit

Definition at line 55 of file G4HadronElasticPhysicsHP.cc.

56 : G4HadronElasticPhysics(ver, "hElasticWEL_CHIPS_HP")
57{
58 if ( ver > 1 ) {
59 G4cout << "### G4HadronElasticPhysicsHP: " << GetPhysicsName()
60 << G4endl;
61 }
62 auto param = G4HadronicParameters::Instance();
63 // HP is inconsistent with the neutron general process
64 param->SetEnableNeutronGeneralProcess(false);
65}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
G4HadronElasticPhysics(G4int ver=1, const G4String &nam="hElasticWEL_CHIPS_XS")
static G4HadronicParameters * Instance()
const G4String & GetPhysicsName() const

◆ ~G4HadronElasticPhysicsHP()

G4HadronElasticPhysicsHP::~G4HadronElasticPhysicsHP ( )
overridedefault

◆ G4HadronElasticPhysicsHP() [2/2]

G4HadronElasticPhysicsHP::G4HadronElasticPhysicsHP ( G4HadronElasticPhysicsHP & )
delete

Member Function Documentation

◆ ConstructProcess()

void G4HadronElasticPhysicsHP::ConstructProcess ( )
overridevirtual

Reimplemented from G4HadronElasticPhysics.

Reimplemented in G4HadronElasticPhysicsHPT.

Definition at line 67 of file G4HadronElasticPhysicsHP.cc.

68{
70
72 G4HadronElastic* he = GetElasticModel(neutron);
74 if ( nullptr != he && nullptr != hel ) {
75 he->SetMinEnergy(19.5*CLHEP::MeV);
78 }
79
81 G4cout << "### HadronElasticPhysicsHP is constructed "
82 << G4endl;
83 }
84}
G4HadronElastic * GetElasticModel(const G4ParticleDefinition *part) const
G4HadronicProcess * GetElasticProcess(const G4ParticleDefinition *part) const
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition G4Neutron.cc:101

Referenced by G4HadronElasticPhysicsHPT::ConstructProcess().

◆ operator=()

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

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