source: trunk/source/processes/electromagnetic/lowenergy/include/G4PenelopeAnnihilation.hh@ 1201

Last change on this file since 1201 was 819, checked in by garnier, 17 years ago

import all except CVS

File size: 3.7 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//
27// Author: Luciano Pandola
28//
29// History:
30// -----------
31// 01 Jul 2003 L. Pandola 1st implementation
32//
33// -------------------------------------------------------------------
34// Class description:
35// Low Energy Electromagnetic Physics, Positron Annihilation
36// Penelope Model
37// -------------------------------------------------------------------
38
39#ifndef G4PenelopeAnnihilation_h
40#define G4PenelopeAnnihilation_h 1
41
42#include "globals.hh"
43#include "G4VRestDiscreteProcess.hh"
44
45class G4PhysicsTableclass;
46class G4ParticleDefinition;
47class G4VParticleChange;
48class G4Track;
49class G4Step;
50class G4Material;
51
52class G4PenelopeAnnihilation : public G4VRestDiscreteProcess
53 {
54 public:
55
56 G4PenelopeAnnihilation(const G4String& processName ="PenAnnih");
57
58 ~G4PenelopeAnnihilation();
59
60 G4bool IsApplicable(const G4ParticleDefinition&);
61
62 void BuildPhysicsTable(const G4ParticleDefinition&);
63
64 void PrintInfoDefinition();
65
66 G4double DumpMeanFreePath(const G4Track& aTrack,
67 G4double previousStepSize,
68 G4ForceCondition* condition)
69 { return GetMeanFreePath(aTrack, previousStepSize, condition); }
70
71 protected:
72 G4double GetMeanFreePath(const G4Track&,G4double,
73 G4ForceCondition*);
74
75 public:
76
77 G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
78 const G4Step& aStep);
79
80 G4double GetMeanLifeTime(const G4Track& aTrack,
81 G4ForceCondition* condition);
82
83 G4VParticleChange* AtRestDoIt(const G4Track& aTrack,
84 const G4Step& aStep);
85
86 private:
87
88 G4double calculateCrossSectionPerElectron(G4double energy);
89
90
91 private:
92
93 // hide assignment operator as private
94 G4PenelopeAnnihilation& operator=(const G4PenelopeAnnihilation& right);
95 G4PenelopeAnnihilation(const G4PenelopeAnnihilation& );
96
97 private:
98 G4PhysicsTable* meanFreePathTable;
99
100 G4double lowEnergyLimit; // low energy limit of the tables
101 G4double highEnergyLimit; // high energy limit of the tables
102 G4int nBins; // number of bins in the tables
103 G4double cutForLowEnergySecondaryPhotons;
104};
105
106#endif
107
Note: See TracBrowser for help on using the repository browser.