#include <G4VPhysicsConstructor.hh>
Inheritance 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 G4String & | GetPhysicsName () const |
void | SetPhysicsType (G4int) |
G4int | GetPhysicsType () const |
void | SetVerboseLevel (G4int value) |
G4int | GetVerboseLevel () const |
Protected Member Functions | |
G4bool | RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle) |
Protected Attributes | |
G4int | verboseLevel |
G4String | namePhysics |
G4int | typePhysics |
G4ParticleTable * | theParticleTable |
G4ParticleTable::G4PTblDicIterator * | theParticleIterator |
G4PhysicsListHelper * | thePLHelper |
Definition at line 68 of file G4VPhysicsConstructor.hh.
G4VPhysicsConstructor::G4VPhysicsConstructor | ( | const G4String & | = "" |
) |
Definition at line 38 of file G4VPhysicsConstructor.cc.
References G4ParticleTable::GetIterator(), G4ParticleTable::GetParticleTable(), G4PhysicsListHelper::GetPhysicsListHelper(), theParticleIterator, theParticleTable, and thePLHelper.
00039 : verboseLevel(0), namePhysics(name), typePhysics(0) 00040 { 00041 // pointer to the particle table 00042 theParticleTable = G4ParticleTable::GetParticleTable(); 00043 theParticleIterator = theParticleTable->GetIterator(); 00044 00045 // PhysicsListHelper 00046 thePLHelper = G4PhysicsListHelper::GetPhysicsListHelper(); 00047 }
Definition at line 49 of file G4VPhysicsConstructor.cc.
References G4ParticleTable::GetIterator(), G4ParticleTable::GetParticleTable(), G4PhysicsListHelper::GetPhysicsListHelper(), theParticleIterator, theParticleTable, thePLHelper, and typePhysics.
00050 : verboseLevel(0), namePhysics(name), typePhysics(type) 00051 { 00052 // pointer to the particle table 00053 theParticleTable = G4ParticleTable::GetParticleTable(); 00054 theParticleIterator = theParticleTable->GetIterator(); 00055 00056 if (type<0) typePhysics = 0; 00057 00058 // PhysicsListHelper 00059 thePLHelper = G4PhysicsListHelper::GetPhysicsListHelper(); 00060 }
G4VPhysicsConstructor::~G4VPhysicsConstructor | ( | ) | [virtual] |
virtual void G4VPhysicsConstructor::ConstructParticle | ( | ) | [pure virtual] |
Implemented in G4ChargeExchangePhysics, G4DecayPhysics, G4EmDNAPhysics, G4EmDNAPhysicsChemistry, G4EmExtraPhysics, G4EmLivermorePhysics, G4EmLivermorePolarizedPhysics, G4EmLowEPPhysics, G4EmPenelopePhysics, G4EmQExtraPhysics, G4EmStandardPhysics, G4EmStandardPhysics_option1, G4EmStandardPhysics_option2, G4EmStandardPhysics_option3, G4EmStandardPhysics_option4, G4HadronDElasticPhysics, G4HadronElasticPhysics, G4HadronElasticPhysicsHP, G4HadronElasticPhysicsLEND, G4HadronElasticPhysicsLHEP, G4HadronElasticPhysicsXS, G4HadronHElasticPhysics, G4HadronQElasticPhysics, G4IonBinaryCascadePhysics, G4IonINCLXXPhysics, G4IonLHEPPhysics, G4IonPhysics, G4IonQMDPhysics, G4LHEPStoppingPhysics, G4NeutronCrossSectionXS, G4NeutronTrackingCut, G4OpticalPhysics, G4QAtomicPhysics, G4QCaptureAtRestPhysics, G4QElasticPhysics, G4QEmExtraPhysics, G4QIonPhysics, G4QNeutrinoPhysics, G4QPhotoNuclearPhysics, G4QStoppingPhysics, G4RadioactiveDecayPhysics, G4StepLimiterBuilder, G4StoppingPhysics, G4VHadronPhysics, HadronPhysicsCHIPS, HadronPhysicsCHIPS_HP, HadronPhysicsFTF_BIC, HadronPhysicsFTFP_BERT, HadronPhysicsFTFP_BERT_HP, HadronPhysicsFTFP_BERT_TRV, HadronPhysicsLHEP, HadronPhysicsLHEP_EMV, HadronPhysicsQGS_BIC, HadronPhysicsQGSC_BERT, HadronPhysicsQGSC_CHIPS, HadronPhysicsQGSP, HadronPhysicsQGSP_BERT, HadronPhysicsQGSP_BERT_95, HadronPhysicsQGSP_BERT_CHIPS, HadronPhysicsQGSP_BERT_HP, HadronPhysicsQGSP_BERT_NOLEP, HadronPhysicsQGSP_BERT_TRV, HadronPhysicsQGSP_BIC, HadronPhysicsQGSP_BIC_HP, HadronPhysicsQGSP_FTFP_BERT, HadronPhysicsQGSP_FTFP_BERT_95, HadronPhysicsQGSP_INCLXX, and HadronPhysicsShielding.
virtual void G4VPhysicsConstructor::ConstructProcess | ( | ) | [pure virtual] |
Implemented in G4ChargeExchangePhysics, G4DecayPhysics, G4EmDNAPhysics, G4EmDNAPhysicsChemistry, G4EmExtraPhysics, G4EmLivermorePhysics, G4EmLivermorePolarizedPhysics, G4EmLowEPPhysics, G4EmPenelopePhysics, G4EmQExtraPhysics, G4EmStandardPhysics, G4EmStandardPhysics_option1, G4EmStandardPhysics_option2, G4EmStandardPhysics_option3, G4EmStandardPhysics_option4, G4HadronDElasticPhysics, G4HadronElasticPhysics, G4HadronElasticPhysicsHP, G4HadronElasticPhysicsLEND, G4HadronElasticPhysicsLHEP, G4HadronElasticPhysicsXS, G4HadronHElasticPhysics, G4HadronQElasticPhysics, G4IonBinaryCascadePhysics, G4IonINCLXXPhysics, G4IonLHEPPhysics, G4IonPhysics, G4IonQMDPhysics, G4LHEPStoppingPhysics, G4NeutronCrossSectionXS, G4NeutronTrackingCut, G4OpticalPhysics, G4QAtomicPhysics, G4QCaptureAtRestPhysics, G4QElasticPhysics, G4QEmExtraPhysics, G4QIonPhysics, G4QNeutrinoPhysics, G4QPhotoNuclearPhysics, G4QStoppingPhysics, G4RadioactiveDecayPhysics, G4StepLimiterBuilder, G4StoppingPhysics, G4HadronInelasticQBBC, HadronPhysicsCHIPS, HadronPhysicsCHIPS_HP, HadronPhysicsFTF_BIC, HadronPhysicsFTFP_BERT, HadronPhysicsFTFP_BERT_HP, HadronPhysicsFTFP_BERT_TRV, HadronPhysicsLHEP, HadronPhysicsLHEP_EMV, HadronPhysicsQGS_BIC, HadronPhysicsQGSC_BERT, HadronPhysicsQGSC_CHIPS, HadronPhysicsQGSP, HadronPhysicsQGSP_BERT, HadronPhysicsQGSP_BERT_95, HadronPhysicsQGSP_BERT_CHIPS, HadronPhysicsQGSP_BERT_HP, HadronPhysicsQGSP_BERT_NOLEP, HadronPhysicsQGSP_BERT_TRV, HadronPhysicsQGSP_BIC, HadronPhysicsQGSP_BIC_HP, HadronPhysicsQGSP_FTFP_BERT, HadronPhysicsQGSP_FTFP_BERT_95, HadronPhysicsQGSP_INCLXX, and HadronPhysicsShielding.
const G4String & G4VPhysicsConstructor::GetPhysicsName | ( | ) | const [inline] |
Definition at line 136 of file G4VPhysicsConstructor.hh.
References namePhysics.
Referenced by G4QAtomicPhysics::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmLivermorePolarizedPhysics::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4HadronDElasticPhysics::G4HadronDElasticPhysics(), G4HadronElasticPhysics::G4HadronElasticPhysics(), G4HadronElasticPhysicsHP::G4HadronElasticPhysicsHP(), G4HadronElasticPhysicsLEND::G4HadronElasticPhysicsLEND(), G4HadronElasticPhysicsLHEP::G4HadronElasticPhysicsLHEP(), G4HadronElasticPhysicsXS::G4HadronElasticPhysicsXS(), G4HadronHElasticPhysics::G4HadronHElasticPhysics(), G4HadronQElasticPhysics::G4HadronQElasticPhysics(), G4VModularPhysicsList::RegisterPhysics(), and G4VModularPhysicsList::ReplacePhysics().
00137 { 00138 return namePhysics; 00139 }
G4int G4VPhysicsConstructor::GetPhysicsType | ( | ) | const [inline] |
Definition at line 146 of file G4VPhysicsConstructor.hh.
References typePhysics.
Referenced by G4VModularPhysicsList::RegisterPhysics(), and G4VModularPhysicsList::ReplacePhysics().
00147 { 00148 return typePhysics; 00149 }
G4int G4VPhysicsConstructor::GetVerboseLevel | ( | ) | const [inline] |
Definition at line 126 of file G4VPhysicsConstructor.hh.
References verboseLevel.
00127 { 00128 return verboseLevel; 00129 }
G4bool G4VPhysicsConstructor::RegisterProcess | ( | G4VProcess * | process, | |
G4ParticleDefinition * | particle | |||
) | [inline, protected] |
Definition at line 152 of file G4VPhysicsConstructor.hh.
References G4PhysicsListHelper::RegisterProcess(), and thePLHelper.
Referenced by G4RadioactiveDecayPhysics::ConstructProcess().
00154 { 00155 return thePLHelper->RegisterProcess(process, particle); 00156 }
void G4VPhysicsConstructor::SetPhysicsName | ( | const G4String & | = "" |
) | [inline] |
Definition at line 131 of file G4VPhysicsConstructor.hh.
References namePhysics.
00132 { 00133 namePhysics = name; 00134 }
void G4VPhysicsConstructor::SetPhysicsType | ( | G4int | ) | [inline] |
Definition at line 141 of file G4VPhysicsConstructor.hh.
References typePhysics.
Referenced by G4EmDNAPhysics::G4EmDNAPhysics(), G4EmDNAPhysicsChemistry::G4EmDNAPhysicsChemistry(), G4EmExtraPhysics::G4EmExtraPhysics(), G4EmLivermorePhysics::G4EmLivermorePhysics(), G4EmLivermorePolarizedPhysics::G4EmLivermorePolarizedPhysics(), G4EmLowEPPhysics::G4EmLowEPPhysics(), G4EmPenelopePhysics::G4EmPenelopePhysics(), G4EmQExtraPhysics::G4EmQExtraPhysics(), G4EmStandardPhysics::G4EmStandardPhysics(), G4EmStandardPhysics_option1::G4EmStandardPhysics_option1(), G4EmStandardPhysics_option2::G4EmStandardPhysics_option2(), G4EmStandardPhysics_option3::G4EmStandardPhysics_option3(), G4EmStandardPhysics_option4::G4EmStandardPhysics_option4(), G4IonBinaryCascadePhysics::G4IonBinaryCascadePhysics(), G4IonINCLXXPhysics::G4IonINCLXXPhysics(), G4IonLHEPPhysics::G4IonLHEPPhysics(), G4IonPhysics::G4IonPhysics(), G4IonQMDPhysics::G4IonQMDPhysics(), G4QAtomicPhysics::G4QAtomicPhysics(), and G4QIonPhysics::G4QIonPhysics().
00142 { 00143 if (val>0) typePhysics = val; 00144 }
void G4VPhysicsConstructor::SetVerboseLevel | ( | G4int | value | ) | [inline] |
Definition at line 121 of file G4VPhysicsConstructor.hh.
References verboseLevel.
Referenced by G4OpticalPhysics::ConstructProcess(), G4EmDNAPhysicsChemistry::ConstructProcess(), and G4VHadronPhysics::G4VHadronPhysics().
00122 { 00123 verboseLevel = value; 00124 }
G4String G4VPhysicsConstructor::namePhysics [protected] |
Definition at line 109 of file G4VPhysicsConstructor.hh.
Referenced by G4OpticalPhysics::ConstructProcess(), GetPhysicsName(), and SetPhysicsName().
Definition at line 113 of file G4VPhysicsConstructor.hh.
Referenced by G4StoppingPhysics::ConstructProcess(), G4StepLimiterBuilder::ConstructProcess(), G4QStoppingPhysics::ConstructProcess(), G4QElasticPhysics::ConstructProcess(), G4QCaptureAtRestPhysics::ConstructProcess(), G4QAtomicPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4HadronQElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronElasticPhysicsLHEP::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmLivermorePolarizedPhysics::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmDNAPhysicsChemistry::ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), G4DecayPhysics::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), and G4VPhysicsConstructor().
G4ParticleTable* G4VPhysicsConstructor::theParticleTable [protected] |
G4PhysicsListHelper* G4VPhysicsConstructor::thePLHelper [protected] |
Definition at line 116 of file G4VPhysicsConstructor.hh.
Referenced by G4VPhysicsConstructor(), and RegisterProcess().
G4int G4VPhysicsConstructor::typePhysics [protected] |
Definition at line 110 of file G4VPhysicsConstructor.hh.
Referenced by G4VPhysicsConstructor(), GetPhysicsType(), and SetPhysicsType().
G4int G4VPhysicsConstructor::verboseLevel [protected] |
Definition at line 108 of file G4VPhysicsConstructor.hh.
Referenced by G4VHadronPhysics::AddCaptureCrossSection(), G4VHadronPhysics::AddElasticCrossSection(), G4VHadronPhysics::AddFissionCrossSection(), G4VHadronPhysics::AddInelasticCrossSection(), G4VHadronPhysics::BuildModel(), G4OpticalPhysics::ConstructProcess(), G4OpticalPhysics::G4OpticalPhysics(), G4VHadronPhysics::G4VHadronPhysics(), GetVerboseLevel(), G4VHadronPhysics::NewModel(), and SetVerboseLevel().