ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NeutronHPphysics Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/hadronic/Hadr04/include/NeutronHPphysics.hh>

+ Inheritance diagram for NeutronHPphysics:
+ Collaboration diagram for NeutronHPphysics:

Public Member Functions

 NeutronHPphysics (const G4String &name="neutron")
 
 ~NeutronHPphysics ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
void SetThermalPhysics (G4bool flag)
 
- 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
 
virtual void TerminateWorker ()
 

Private Attributes

G4bool fThermal
 
NeutronHPMessengerfNeutronMessenger
 

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
 
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 NeutronHPphysics.hh.

View newest version in sPHENIX GitHub at line 43 of file NeutronHPphysics.hh

Constructor & Destructor Documentation

NeutronHPphysics::NeutronHPphysics ( const G4String name = "neutron")

Definition at line 65 of file NeutronHPphysics.cc.

View newest version in sPHENIX GitHub at line 65 of file NeutronHPphysics.cc

References fNeutronMessenger.

NeutronHPphysics::~NeutronHPphysics ( )

Definition at line 73 of file NeutronHPphysics.cc.

View newest version in sPHENIX GitHub at line 73 of file NeutronHPphysics.cc

References fNeutronMessenger.

Member Function Documentation

virtual void NeutronHPphysics::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 50 of file NeutronHPphysics.hh.

View newest version in sPHENIX GitHub at line 50 of file NeutronHPphysics.hh

void NeutronHPphysics::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 80 of file NeutronHPphysics.cc.

View newest version in sPHENIX GitHub at line 80 of file NeutronHPphysics.cc

References G4HadronicProcess::AddDataSet(), G4ProcessManager::AddDiscreteProcess(), eV, fThermal, G4ProcessManager::GetProcess(), G4ParticleDefinition::GetProcessManager(), G4InuclParticleNames::neutron, G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4ProcessManager::RemoveProcess(), and G4HadronicInteraction::SetMinEnergy().

+ Here is the call graph for this function:

void NeutronHPphysics::SetThermalPhysics ( G4bool  flag)
inline

Definition at line 54 of file NeutronHPphysics.hh.

View newest version in sPHENIX GitHub at line 54 of file NeutronHPphysics.hh

References fThermal.

Referenced by NeutronHPMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

NeutronHPMessenger* NeutronHPphysics::fNeutronMessenger
private

Definition at line 58 of file NeutronHPphysics.hh.

View newest version in sPHENIX GitHub at line 58 of file NeutronHPphysics.hh

Referenced by NeutronHPphysics(), and ~NeutronHPphysics().

G4bool NeutronHPphysics::fThermal
private

Definition at line 54 of file NeutronHPphysics.hh.

View newest version in sPHENIX GitHub at line 54 of file NeutronHPphysics.hh

Referenced by ConstructProcess(), and SetThermalPhysics().


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