Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VPhysicsConstructor Class Referenceabstract

#include <G4VPhysicsConstructor.hh>

Inherited by G4ChargeExchangePhysics, G4DecayPhysics, G4EmDNAChemistry, G4EmDNAPhysics, G4EmDNAPhysics_option1, G4EmDNAPhysics_option2, G4EmDNAPhysics_option3, G4EmDNAPhysics_option4, G4EmDNAPhysics_option5, G4EmDNAPhysics_option7, G4EmDNAPhysicsActivator, G4EmExtraPhysics, G4EmLEPTSPhysics, G4EmLivermorePhysics, G4EmLivermorePolarizedPhysics, G4EmLowEPPhysics, G4EmPenelopePhysics, G4EmStandardPhysics, G4EmStandardPhysics_option1, G4EmStandardPhysics_option2, G4EmStandardPhysics_option3, G4EmStandardPhysics_option4, G4EmStandardPhysicsGS, G4EmStandardPhysicsSS, G4EmStandardPhysicsWVI, G4FastSimulationPhysics, G4GenericBiasingPhysics, G4HadronDElasticPhysics, G4HadronElasticPhysics, G4HadronElasticPhysicsHP, G4HadronElasticPhysicsLEND, G4HadronElasticPhysicsPHP, G4HadronElasticPhysicsXS, G4HadronHElasticPhysics, G4HadronPhysicsFTF_BIC, G4HadronPhysicsFTFP_BERT, G4HadronPhysicsFTFP_BERT_ATL, G4HadronPhysicsFTFP_BERT_HP, G4HadronPhysicsFTFP_BERT_TRV, G4HadronPhysicsINCLXX, G4HadronPhysicsNuBeam, G4HadronPhysicsQGS_BIC, G4HadronPhysicsQGSP_BERT, G4HadronPhysicsQGSP_BERT_HP, G4HadronPhysicsQGSP_BIC, G4HadronPhysicsQGSP_BIC_AllHP, G4HadronPhysicsQGSP_BIC_HP, G4HadronPhysicsQGSP_FTFP_BERT, G4HadronPhysicsShielding, G4ImportanceBiasing, G4IonBinaryCascadePhysics, G4IonElasticPhysics, G4IonINCLXXPhysics, G4IonPhysics, G4IonPhysicsPHP, G4IonQMDPhysics, G4MuonicAtomDecayPhysics, G4NeutronCrossSectionXS, G4NeutronTrackingCut, G4OpticalPhysics, G4ParallelWorldPhysics, G4RadioactiveDecayPhysics, G4SpinDecayPhysics, G4StepLimiterPhysics, G4StoppingPhysics, G4UnknownDecayPhysics, G4VHadronPhysics, and G4WeightWindowBiasing.

Collaboration diagram for G4VPhysicsConstructor:

Public Member Functions

 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
 

Static Public Member Functions

static const G4VPCManagerGetSubInstanceManager ()
 

Protected Member Functions

G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 

Protected Attributes

G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 

Static Protected Attributes

static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 121 of file G4VPhysicsConstructor.hh.

Constructor & Destructor Documentation

G4VPhysicsConstructor::G4VPhysicsConstructor ( const G4String name = "")

Definition at line 48 of file G4VPhysicsConstructor.cc.

49  : verboseLevel(0), namePhysics(name), typePhysics(0)
50 {
52  // pointer to the particle table
54  //aParticleIterator = theParticleTable->GetIterator();
55 
56  // PhysicsListHelper
57  //aPLHelper = G4PhysicsListHelper::GetPhysicsListHelper();
58 }
G4ParticleTable * theParticleTable
static G4RUN_DLL G4VPCManager subInstanceManager
static G4ParticleTable * GetParticleTable()
G4int CreateSubInstance()

Here is the call graph for this function:

G4VPhysicsConstructor::G4VPhysicsConstructor ( const G4String name,
G4int  physics_type 
)

Definition at line 60 of file G4VPhysicsConstructor.cc.

61  : verboseLevel(0), namePhysics(name), typePhysics(type)
62 {
64  // pointer to the particle table
66  //aParticleIterator = theParticleTable->GetIterator();
67 
68  if (type<0) typePhysics = 0;
69 
70  // PhysicsListHelper
71  //aPLHelper = G4PhysicsListHelper::GetPhysicsListHelper();
72 }
G4ParticleTable * theParticleTable
static G4RUN_DLL G4VPCManager subInstanceManager
static G4ParticleTable * GetParticleTable()
G4int CreateSubInstance()

Here is the call graph for this function:

G4VPhysicsConstructor::~G4VPhysicsConstructor ( )
virtual

Definition at line 74 of file G4VPhysicsConstructor.cc.

75 {
76 }

Member Function Documentation

virtual void G4VPhysicsConstructor::ConstructParticle ( )
pure virtual

Implemented in G4GenericBiasingPhysics, G4HadronPhysicsINCLXX, G4HadronPhysicsQGS_BIC, G4HadronPhysicsQGSP_BIC_HP, G4HadronPhysicsQGSP_BERT, G4HadronPhysicsFTFP_BERT, G4HadronPhysicsQGSP_BERT_HP, G4HadronPhysicsQGSP_BIC, G4HadronPhysicsShielding, G4HadronPhysicsFTFP_BERT_HP, G4StoppingPhysics, G4HadronPhysicsFTFP_BERT_TRV, G4HadronPhysicsQGSP_FTFP_BERT, G4HadronPhysicsFTF_BIC, G4HadronPhysicsNuBeam, G4HadronPhysicsFTFP_BERT_ATL, G4HadronPhysicsQGSP_BIC_AllHP, G4OpticalPhysics, G4IonPhysicsPHP, G4EmExtraPhysics, G4IonQMDPhysics, G4FastSimulationPhysics, G4IonPhysics, G4EmStandardPhysics_option2, G4IonBinaryCascadePhysics, G4IonINCLXXPhysics, G4EmStandardPhysics_option1, G4HadronElasticPhysics, G4EmStandardPhysics_option4, G4EmStandardPhysicsWVI, G4EmStandardPhysics, G4EmStandardPhysics_option3, G4EmStandardPhysicsGS, G4VHadronPhysics, G4DecayPhysics, G4SpinDecayPhysics, G4HadronElasticPhysicsXS, G4EmStandardPhysicsSS, G4HadronElasticPhysicsHP, G4HadronElasticPhysicsLEND, G4HadronHElasticPhysics, G4ChargeExchangePhysics, G4IonElasticPhysics, G4UnknownDecayPhysics, G4HadronDElasticPhysics, G4HadronElasticPhysicsPHP, G4NeutronTrackingCut, G4EmLEPTSPhysics, G4StepLimiterPhysics, G4WeightWindowBiasing, G4NeutronCrossSectionXS, G4ImportanceBiasing, G4ParallelWorldPhysics, G4EmDNAPhysicsActivator, G4RadioactiveDecayPhysics, G4MuonicAtomDecayPhysics, G4EmDNAPhysics, G4EmDNAPhysics_option1, G4EmDNAPhysics_option2, G4EmDNAPhysics_option4, G4EmDNAPhysics_option5, G4EmDNAPhysics_option7, G4EmDNAChemistry, G4EmLivermorePhysics, G4EmLivermorePolarizedPhysics, G4EmPenelopePhysics, G4EmLowEPPhysics, and G4EmDNAPhysics_option3.

virtual void G4VPhysicsConstructor::ConstructProcess ( )
pure virtual

Implemented in G4GenericBiasingPhysics, G4HadronPhysicsINCLXX, G4HadronPhysicsQGS_BIC, G4HadronPhysicsQGSP_BIC_HP, G4StoppingPhysics, G4HadronPhysicsQGSP_BERT, G4HadronPhysicsFTFP_BERT, G4HadronPhysicsQGSP_BERT_HP, G4HadronPhysicsQGSP_BIC, G4HadronPhysicsShielding, G4HadronPhysicsFTFP_BERT_HP, G4HadronPhysicsFTFP_BERT_TRV, G4HadronPhysicsQGSP_FTFP_BERT, G4HadronPhysicsFTF_BIC, G4HadronPhysicsNuBeam, G4HadronPhysicsFTFP_BERT_ATL, G4HadronPhysicsQGSP_BIC_AllHP, G4OpticalPhysics, G4IonQMDPhysics, G4FastSimulationPhysics, G4IonPhysicsPHP, G4EmExtraPhysics, G4IonBinaryCascadePhysics, G4IonINCLXXPhysics, G4HadronElasticPhysics, G4SpinDecayPhysics, G4HadronInelasticQBBC, G4IonPhysics, G4DecayPhysics, G4EmStandardPhysics_option2, G4HadronElasticPhysicsXS, G4EmStandardPhysics_option1, G4EmStandardPhysics_option4, G4EmStandardPhysicsWVI, G4HadronElasticPhysicsHP, G4HadronElasticPhysicsLEND, G4HadronHElasticPhysics, G4EmStandardPhysics, G4EmStandardPhysics_option3, G4EmStandardPhysicsGS, G4ChargeExchangePhysics, G4IonElasticPhysics, G4UnknownDecayPhysics, G4HadronDElasticPhysics, G4HadronElasticPhysicsPHP, G4NeutronTrackingCut, G4EmStandardPhysicsSS, G4StepLimiterPhysics, G4WeightWindowBiasing, G4ImportanceBiasing, G4ParallelWorldPhysics, G4EmLEPTSPhysics, G4NeutronCrossSectionXS, G4RadioactiveDecayPhysics, G4MuonicAtomDecayPhysics, G4EmDNAPhysicsActivator, G4EmDNAChemistry, G4EmDNAPhysics, G4EmDNAPhysics_option1, G4EmDNAPhysics_option2, G4EmDNAPhysics_option4, G4EmDNAPhysics_option5, G4EmDNAPhysics_option7, G4EmLivermorePhysics, G4EmLivermorePolarizedPhysics, G4EmPenelopePhysics, G4EmLowEPPhysics, and G4EmDNAPhysics_option3.

G4int G4VPhysicsConstructor::GetInstanceID ( ) const
inline
G4ParticleTable::G4PTblDicIterator * G4VPhysicsConstructor::GetParticleIterator ( ) const
protected

Definition at line 78 of file G4VPhysicsConstructor.cc.

79 {
80  return (subInstanceManager.offset[g4vpcInstanceID])._aParticleIterator;
81 }
G4RUN_DLL G4ThreadLocalStatic T * offset
static G4RUN_DLL G4VPCManager subInstanceManager

Here is the caller graph for this function:

const G4String & G4VPhysicsConstructor::GetPhysicsName ( ) const
inline

Definition at line 195 of file G4VPhysicsConstructor.hh.

196 {
197  return namePhysics;
198 }

Here is the caller graph for this function:

G4int G4VPhysicsConstructor::GetPhysicsType ( ) const
inline

Definition at line 205 of file G4VPhysicsConstructor.hh.

206 {
207  return typePhysics;
208 }

Here is the caller graph for this function:

const G4VPCManager & G4VPhysicsConstructor::GetSubInstanceManager ( )
inlinestatic

Definition at line 219 of file G4VPhysicsConstructor.hh.

220 {
221  return subInstanceManager;
222 }
static G4RUN_DLL G4VPCManager subInstanceManager

Here is the caller graph for this function:

G4int G4VPhysicsConstructor::GetVerboseLevel ( ) const
inline

Definition at line 185 of file G4VPhysicsConstructor.hh.

186 {
187  return verboseLevel;
188 }
G4bool G4VPhysicsConstructor::RegisterProcess ( G4VProcess process,
G4ParticleDefinition particle 
)
inlineprotected

Definition at line 211 of file G4VPhysicsConstructor.hh.

213 {
215  //return aPLHelper->RegisterProcess(process, particle);
216 }
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()

Here is the call graph for this function:

Here is the caller graph for this function:

void G4VPhysicsConstructor::SetPhysicsName ( const G4String name = "")
inline

Definition at line 190 of file G4VPhysicsConstructor.hh.

191 {
192  namePhysics = name;
193 }
const XML_Char * name
Definition: expat.h:151
void G4VPhysicsConstructor::SetPhysicsType ( G4int  val)
inline

Definition at line 200 of file G4VPhysicsConstructor.hh.

201 {
202  if (val>0) typePhysics = val;
203 }

Here is the caller graph for this function:

void G4VPhysicsConstructor::SetVerboseLevel ( G4int  value)
inline

Definition at line 180 of file G4VPhysicsConstructor.hh.

181 {
183 }
const XML_Char int const XML_Char * value
Definition: expat.h:331

Here is the caller graph for this function:

Member Data Documentation

G4int G4VPhysicsConstructor::g4vpcInstanceID
protected

Definition at line 166 of file G4VPhysicsConstructor.hh.

G4String G4VPhysicsConstructor::namePhysics
protected

Definition at line 162 of file G4VPhysicsConstructor.hh.

G4VPCManager G4VPhysicsConstructor::subInstanceManager
staticprotected

Definition at line 167 of file G4VPhysicsConstructor.hh.

G4ParticleTable* G4VPhysicsConstructor::theParticleTable
protected

Definition at line 165 of file G4VPhysicsConstructor.hh.

G4int G4VPhysicsConstructor::typePhysics
protected

Definition at line 163 of file G4VPhysicsConstructor.hh.

G4int G4VPhysicsConstructor::verboseLevel
protected

Definition at line 161 of file G4VPhysicsConstructor.hh.


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