#include <ExN04GeneralPhysics.hh>
Public Member Functions | |
virtual void | ConstructParticle () |
virtual void | ConstructProcess () |
ExN04GeneralPhysics (const G4String &name="general") | |
virtual | ~ExN04GeneralPhysics () |
Protected Attributes | |
G4Decay | fDecayProcess |
|
00035 : G4VPhysicsConstructor(name) 00036 { 00037 }
|
|
00040 { 00041 }
|
|
00050 {
00051 // pseudo-particles
00052 G4Geantino::GeantinoDefinition();
00053 G4ChargedGeantino::ChargedGeantinoDefinition();
00054 }
|
|
00057 { 00058 // Add Decay Process 00059 theParticleIterator->reset(); 00060 while( (*theParticleIterator)() ){ 00061 G4ParticleDefinition* particle = theParticleIterator->value(); 00062 G4ProcessManager* pmanager = particle->GetProcessManager(); 00063 if (fDecayProcess.IsApplicable(*particle)) { 00064 pmanager ->AddProcess(&fDecayProcess); 00065 // set ordering for PostStepDoIt and AtRestDoIt 00066 pmanager ->SetProcessOrdering(&fDecayProcess, idxPostStep); 00067 pmanager ->SetProcessOrdering(&fDecayProcess, idxAtRest); 00068 } 00069 } 00070 }
|
|
|