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

#include <PhysListEmPolarized.hh>

Inheritance diagram for PhysListEmPolarized:
Collaboration diagram for PhysListEmPolarized:

Public Member Functions

 PhysListEmPolarized (const G4String &name="polarized")
 
 ~PhysListEmPolarized ()
 
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 43 of file PhysListEmPolarized.hh.

Constructor & Destructor Documentation

PhysListEmPolarized::PhysListEmPolarized ( const G4String name = "polarized")

Definition at line 50 of file PhysListEmPolarized.cc.

51  : G4VPhysicsConstructor(name)
52 {}
G4VPhysicsConstructor(const G4String &="")
PhysListEmPolarized::~PhysListEmPolarized ( )

Definition at line 56 of file PhysListEmPolarized.cc.

57 {}

Member Function Documentation

virtual void PhysListEmPolarized::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 51 of file PhysListEmPolarized.hh.

51 {};
void PhysListEmPolarized::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 61 of file PhysListEmPolarized.cc.

62 {
63  // Add standard EM Processes
64 
66  particleIterator->reset();
67  while( (*particleIterator)() ){
68  G4ParticleDefinition* particle = particleIterator->value();
69  G4ProcessManager* pmanager = particle->GetProcessManager();
70  G4String particleName = particle->GetParticleName();
71 
72  if (particleName == "gamma") {
76 
77  } else if (particleName == "e-") {
78  pmanager->AddProcess(new G4eMultipleScattering, -1,1,1);
79  pmanager->AddProcess(new G4ePolarizedIonisation, -1,2,2);
80  pmanager->AddProcess(new G4ePolarizedBremsstrahlung, -1,3,3);
81 
82  } else if (particleName == "e+") {
83  pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1);
84  pmanager->AddProcess(new G4ePolarizedIonisation, -1, 2,2);
85  pmanager->AddProcess(new G4ePolarizedBremsstrahlung, -1, 3,3);
86  pmanager->AddProcess(new G4eplusPolarizedAnnihilation, 0,-1,4);
87  }
88  }
89 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
const G4String & GetParticleName() const
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
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: