Geant4  10.02.p03
HadronElasticPhysicsHP Class Reference

#include <HadronElasticPhysicsHP.hh>

Inheritance diagram for HadronElasticPhysicsHP:
Collaboration diagram for HadronElasticPhysicsHP:

Public Member Functions

 HadronElasticPhysicsHP (G4int ver=1)
 
 ~HadronElasticPhysicsHP ()
 
virtual void ConstructProcess ()
 
void SetThermalPhysics (G4bool flag)
 
- Public Member Functions inherited from G4HadronElasticPhysics
 G4HadronElasticPhysics (G4int ver=0)
 
virtual ~G4HadronElasticPhysics ()
 
virtual void ConstructParticle ()
 
G4HadronElasticGetNeutronModel ()
 
G4HadronicProcessGetNeutronProcess ()
 
- 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
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Private Attributes

G4bool fThermal
 
NeutronHPMessengerfNeutronMessenger
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- 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 44 of file HadronElasticPhysicsHP.hh.

Constructor & Destructor Documentation

◆ HadronElasticPhysicsHP()

HadronElasticPhysicsHP::HadronElasticPhysicsHP ( G4int  ver = 1)

◆ ~HadronElasticPhysicsHP()

HadronElasticPhysicsHP::~HadronElasticPhysicsHP ( )

Definition at line 59 of file HadronElasticPhysicsHP.cc.

60 {
61  delete fNeutronMessenger;
62 }
NeutronHPMessenger * fNeutronMessenger

Member Function Documentation

◆ ConstructProcess()

void HadronElasticPhysicsHP::ConstructProcess ( void  )
virtual

Reimplemented from G4HadronElasticPhysics.

Definition at line 66 of file HadronElasticPhysicsHP.cc.

67 {
70 
73  process->RegisterMe(model1);
74  process->AddDataSet(new G4ParticleHPElasticData());
75 
76  if (fThermal) {
78  process->RegisterMe(model2);
80  model1->SetMinEnergy(4*eV);
81  }
82 }
static const double MeV
Definition: G4SIunits.hh:211
G4HadronElastic * GetNeutronModel()
G4HadronicProcess * GetNeutronProcess()
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static const double eV
Definition: G4SIunits.hh:212
Here is the call graph for this function:

◆ SetThermalPhysics()

void HadronElasticPhysicsHP::SetThermalPhysics ( G4bool  flag)
inline

Definition at line 54 of file HadronElasticPhysicsHP.hh.

Member Data Documentation

◆ fNeutronMessenger

NeutronHPMessenger* HadronElasticPhysicsHP::fNeutronMessenger
private

Definition at line 58 of file HadronElasticPhysicsHP.hh.

◆ fThermal

G4bool HadronElasticPhysicsHP::fThermal
private

Definition at line 54 of file HadronElasticPhysicsHP.hh.


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