Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ExN04GeneralPhysics Class Reference

#include <ExN04GeneralPhysics.hh>

List of all members.

Public Member Functions

virtual void ConstructParticle ()
virtual void ConstructProcess ()
 ExN04GeneralPhysics (const G4String &name="general")
virtual ~ExN04GeneralPhysics ()

Protected Attributes

G4Decay fDecayProcess


Constructor & Destructor Documentation

ExN04GeneralPhysics::ExN04GeneralPhysics const G4String &  name = "general"  ) 
 

00035                      :  G4VPhysicsConstructor(name)
00036 {
00037 }

ExN04GeneralPhysics::~ExN04GeneralPhysics  )  [virtual]
 

00040 {
00041 }


Member Function Documentation

void ExN04GeneralPhysics::ConstructParticle  )  [virtual]
 

00050 {
00051   // pseudo-particles
00052   G4Geantino::GeantinoDefinition();
00053   G4ChargedGeantino::ChargedGeantinoDefinition();  
00054 }

void ExN04GeneralPhysics::ConstructProcess  )  [virtual]
 

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 }


Member Data Documentation

G4Decay ExN04GeneralPhysics::fDecayProcess [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:13:49 2011 for BOSS6.5.5 by  doxygen 1.3.9.1