source: trunk/environments/g4py/site-modules/physics_lists/EMLowEpl/PhysicsListEMlowE.cc @ 1337

Last change on this file since 1337 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 5.0 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26// $Id: PhysicsListEMlowE.cc,v 1.2 2010/06/21 12:29:42 kmura Exp $
27// $Name: geant4-09-04-beta-01 $
28// ====================================================================
29//   PhysicsListEMlowE.cc
30//
31//                                         2006 Q
32// ====================================================================
33#include "PhysicsListEMlowE.hh"
34
35#include "G4ProcessManager.hh"
36#include "G4ParticleDefinition.hh"
37
38#include "G4Gamma.hh"
39#include "G4Electron.hh"
40#include "G4Positron.hh"
41
42#include "G4LowEnergyCompton.hh"
43#include "G4LowEnergyGammaConversion.hh"
44#include "G4LowEnergyPhotoElectric.hh"
45#include "G4LowEnergyRayleigh.hh"
46#include "G4LowEnergyIonisation.hh"
47#include "G4LowEnergyBremsstrahlung.hh"
48#include "G4eplusAnnihilation.hh"
49#include "G4eMultipleScattering.hh"
50
51// ====================================================================
52//
53// class description
54//
55// ====================================================================
56
57//////////////////////////////////////
58PhysicsListEMlowE::PhysicsListEMlowE()
59//////////////////////////////////////
60{
61  SetVerboseLevel(1);
62  defaultCutValue = 1.*mm;   // default cut value  (1.0mm)
63}
64
65
66///////////////////////////////////////
67PhysicsListEMlowE::~PhysicsListEMlowE()
68///////////////////////////////////////
69{
70}
71
72
73///////////////////////////////////////////
74void PhysicsListEMlowE::ConstructParticle()
75///////////////////////////////////////////
76{
77  G4Gamma::GammaDefinition();
78  G4Electron::ElectronDefinition();
79  G4Positron::PositronDefinition();
80}
81
82
83//////////////////////////////////////////
84void PhysicsListEMlowE::ConstructProcess()
85//////////////////////////////////////////
86{
87  AddTransportation();
88
89  G4ProcessManager* pm;
90
91  // ----------------------------------------------------------
92  // gamma physics
93  // ----------------------------------------------------------
94  pm= G4Gamma::Gamma()-> GetProcessManager();
95  pm-> AddDiscreteProcess(new G4LowEnergyPhotoElectric);
96  pm-> AddDiscreteProcess(new G4LowEnergyCompton);
97  pm-> AddDiscreteProcess(new G4LowEnergyGammaConversion);
98  pm-> AddDiscreteProcess(new G4LowEnergyRayleigh);
99
100  // ----------------------------------------------------------
101  // electron physics
102  // ----------------------------------------------------------
103  G4LowEnergyIonisation* eion=       new G4LowEnergyIonisation;
104  G4LowEnergyBremsstrahlung* ebrems= new G4LowEnergyBremsstrahlung;
105  G4eMultipleScattering* msc=        new G4eMultipleScattering;
106
107  pm= G4Electron::Electron()-> GetProcessManager();
108  pm-> AddProcess(msc,    ordInActive,           1, 1);
109  pm-> AddProcess(eion,   ordInActive,           2, 2);
110  pm-> AddProcess(ebrems, ordInActive, ordInActive, 3);
111
112  // ----------------------------------------------------------
113  // positron physics
114  // ----------------------------------------------------------
115  eion=   new G4LowEnergyIonisation;
116  ebrems= new G4LowEnergyBremsstrahlung;
117  msc=    new G4eMultipleScattering;
118  G4eplusAnnihilation* annihilation= new G4eplusAnnihilation;
119
120  pm= G4Positron::Positron()-> GetProcessManager();
121  pm-> AddProcess(msc,          ordInActive, 1,           1);
122  pm-> AddProcess(eion,         ordInActive, 2,           2);
123  pm-> AddProcess(ebrems,       ordInActive, ordInActive, 3);
124  pm-> AddProcess(annihilation, 0,           ordInActive, 4);
125
126}
127
128
129/////////////////////////////////
130void PhysicsListEMlowE::SetCuts()
131/////////////////////////////////
132{
133  SetCutsWithDefault();
134}
135
Note: See TracBrowser for help on using the repository browser.