Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LXeGeneralPhysics Class Reference

#include <LXeGeneralPhysics.hh>

Inheritance diagram for LXeGeneralPhysics:
Collaboration diagram for LXeGeneralPhysics:

Public Member Functions

 LXeGeneralPhysics (const G4String &name="general")
 
virtual ~LXeGeneralPhysics ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 40 of file LXeGeneralPhysics.hh.

Constructor & Destructor Documentation

LXeGeneralPhysics::LXeGeneralPhysics ( const G4String name = "general")

Definition at line 40 of file LXeGeneralPhysics.cc.

41  : G4VPhysicsConstructor(name) {}
G4VPhysicsConstructor(const G4String &="")
LXeGeneralPhysics::~LXeGeneralPhysics ( )
virtual

Definition at line 45 of file LXeGeneralPhysics.cc.

45  {
46  //fDecayProcess = NULL;
47 }

Member Function Documentation

void LXeGeneralPhysics::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 61 of file LXeGeneralPhysics.cc.

62 {
63  // pseudo-particles
66 
68 }
static G4Geantino * GeantinoDefinition()
Definition: G4Geantino.cc:82
static G4GenericIon * GenericIonDefinition()
Definition: G4GenericIon.cc:88
static G4ChargedGeantino * ChargedGeantinoDefinition()

Here is the call graph for this function:

void LXeGeneralPhysics::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 72 of file LXeGeneralPhysics.cc.

73 {
74  G4Decay* fDecayProcess = new G4Decay();
75 
76  // Add Decay Process
78  particleIterator->reset();
79  while( (*particleIterator)() ){
80  G4ParticleDefinition* particle = particleIterator->value();
81  G4ProcessManager* pmanager = particle->GetProcessManager();
82  if (fDecayProcess->IsApplicable(*particle)) {
83  pmanager ->AddProcess(fDecayProcess);
84  // set ordering for PostStepDoIt and AtRestDoIt
85  pmanager ->SetProcessOrdering(fDecayProcess, idxPostStep);
86  pmanager ->SetProcessOrdering(fDecayProcess, idxAtRest);
87  }
88  }
89 }
virtual G4bool IsApplicable(const G4ParticleDefinition &)
Definition: G4Decay.cc:89
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
void SetProcessOrdering(G4VProcess *aProcess, G4ProcessVectorDoItIndex idDoIt, G4int ordDoIt=ordDefault)
G4ProcessManager * GetProcessManager() const
std::vector< G4InuclElementaryParticle >::iterator particleIterator
Definition: G4BigBanger.cc:65

Here is the call graph for this function:


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