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

#include <LXeEMPhysics.hh>

Inheritance diagram for LXeEMPhysics:
Collaboration diagram for LXeEMPhysics:

Public Member Functions

 LXeEMPhysics (const G4String &name="EM")
 
virtual ~LXeEMPhysics ()
 
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 48 of file LXeEMPhysics.hh.

Constructor & Destructor Documentation

LXeEMPhysics::LXeEMPhysics ( const G4String name = "EM")

Definition at line 40 of file LXeEMPhysics.cc.

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

Definition at line 46 of file LXeEMPhysics.cc.

46 {}

Member Function Documentation

void LXeEMPhysics::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 61 of file LXeEMPhysics.cc.

62 {
63  // gamma
65 
66  // electron
71 }
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4NeutrinoE * NeutrinoEDefinition()
Definition: G4NeutrinoE.cc:80
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89
static G4AntiNeutrinoE * AntiNeutrinoEDefinition()
static G4Gamma * GammaDefinition()
Definition: G4Gamma.cc:81

Here is the call graph for this function:

void LXeEMPhysics::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 77 of file LXeEMPhysics.cc.

78 {
79  G4PhotoElectricEffect* fPhotoEffect =
81  G4ComptonScattering* fComptonEffect =
82  new G4ComptonScattering();
83  G4GammaConversion* fPairProduction =
84  new G4GammaConversion();
85 
86  // Electron physics
87  G4eMultipleScattering* fElectronMultipleScattering =
89  G4eIonisation* fElectronIonisation =
90  new G4eIonisation();
91  G4eBremsstrahlung* fElectronBremsStrahlung =
92  new G4eBremsstrahlung();
93 
94  //Positron physics
95  G4eMultipleScattering* fPositronMultipleScattering =
97  G4eIonisation* fPositronIonisation =
98  new G4eIonisation();
99  G4eBremsstrahlung* fPositronBremsStrahlung =
100  new G4eBremsstrahlung();
102  new G4eplusAnnihilation();
103 
104  G4ProcessManager* pManager = 0;
105 
106  // Gamma Physics
107  pManager = G4Gamma::Gamma()->GetProcessManager();
108  pManager->AddDiscreteProcess(fPhotoEffect);
109  pManager->AddDiscreteProcess(fComptonEffect);
110  pManager->AddDiscreteProcess(fPairProduction);
111 
112  // Electron Physics
113  pManager = G4Electron::Electron()->GetProcessManager();
114 
115  pManager->AddProcess(fElectronMultipleScattering, -1, 1, 1);
116  pManager->AddProcess(fElectronIonisation, -1, 2, 2);
117  pManager->AddProcess(fElectronBremsStrahlung, -1, 3, 3);
118 
119  //Positron Physics
120  pManager = G4Positron::Positron()->GetProcessManager();
121 
122  pManager->AddProcess(fPositronMultipleScattering, -1, 1, 1);
123  pManager->AddProcess(fPositronIonisation, -1, 2, 2);
124  pManager->AddProcess(fPositronBremsStrahlung, -1, 3, 3);
125  pManager->AddProcess(fAnnihilation, 0,-1, 4);
126 
127 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
static G4Positron * Positron()
Definition: G4Positron.cc:94
G4ProcessManager * GetProcessManager() const
static G4Electron * Electron()
Definition: G4Electron.cc:94

Here is the call graph for this function:


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