#include <BesGeneralPhysics.hh>
Public Member Functions | |
BesGeneralPhysics (const G4String &name="general") | |
BesGeneralPhysics (const G4String &name="general") | |
virtual void | ConstructParticle () |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
virtual void | ConstructProcess () |
virtual | ~BesGeneralPhysics () |
virtual | ~BesGeneralPhysics () |
Protected Attributes | |
G4Decay | fDecayProcess |
|
00008 : G4VPhysicsConstructor(name) 00009 { 00010 }
|
|
00013 { 00014 }
|
|
|
|
|
|
|
|
00023 {
00024 // pseudo-particles
00025 G4Geantino::GeantinoDefinition();
00026 G4ChargedGeantino::ChargedGeantinoDefinition();
00027 }
|
|
|
|
00030 { 00031 theParticleIterator->reset(); 00032 while( (*theParticleIterator)() ){ 00033 G4ParticleDefinition* particle = theParticleIterator->value(); 00034 G4ProcessManager* pmanager = particle->GetProcessManager(); 00035 if (fDecayProcess.IsApplicable(*particle)) { 00036 pmanager ->AddProcess(&fDecayProcess); 00037 // set ordering for PostStepDoIt and AtRestDoIt 00038 pmanager ->SetProcessOrdering(&fDecayProcess, idxPostStep); 00039 pmanager ->SetProcessOrdering(&fDecayProcess, idxAtRest); 00040 } 00041 } 00042 }
|
|
|