source: trunk/source/processes/electromagnetic/highenergy/include/G4AnnihiToMuPair.hh@ 1330

Last change on this file since 1330 was 1228, checked in by garnier, 16 years ago

update geant4.9.3 tag

File size: 5.2 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// $Id: G4AnnihiToMuPair.hh,v 1.3 2009/11/09 18:24:07 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-03 $
29//
30// ------------ G4AnnihiToMuPair physics process ------
31// by H.Burkhardt, S. Kelner and R. Kokoulin, November 2002
32// -----------------------------------------------------------------------------
33
34// class description
35//
36// (high energy) e+ (atomic) e- ---> mu+ mu-
37// inherit from G4VDiscreteProcess
38//
39//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......//
40//
41// 04.02.03 : cosmetic simplifications (mma)
42// 27.01.03 : first implementation (hbu)
43//
44//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45
46#ifndef G4AnnihiToMuPair_h
47#define G4AnnihiToMuPair_h 1
48
49#include "G4VDiscreteProcess.hh"
50#include "globals.hh"
51
52class G4ParticleDefinition;
53class G4Track;
54class G4Step;
55
56//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
57
58class G4AnnihiToMuPair : public G4VDiscreteProcess
59{
60 public: // with description
61
62 G4AnnihiToMuPair(const G4String& processName ="AnnihiToMuPair",
63 G4ProcessType type = fElectromagnetic);
64
65 ~G4AnnihiToMuPair();
66
67 G4bool IsApplicable(const G4ParticleDefinition&);
68 // true for positron only.
69
70 void BuildPhysicsTable(const G4ParticleDefinition&);
71 // here dummy, just calling PrintInfoDefinition
72 // the total cross section is calculated analytically
73
74 void PrintInfoDefinition();
75 // Print few lines of informations about the process: validity range,
76 // origine ..etc..
77 // Invoked by BuildPhysicsTable().
78
79 void SetCrossSecFactor(G4double fac);
80 // Set the factor to artificially increase the crossSection (default 1)
81
82 G4double GetCrossSecFactor() {return CrossSecFactor;};
83 // Get the factor to artificially increase the cross section
84
85 G4double CrossSectionPerVolume(G4double PositronEnergy,
86 const G4Material*);
87 // Compute total cross section
88
89 G4double ComputeCrossSectionPerAtom(G4double PositronEnergy,
90 G4double AtomicZ);
91 // Compute total cross section
92
93 G4double GetMeanFreePath(const G4Track& aTrack,
94 G4double previousStepSize,
95 G4ForceCondition* );
96 // It returns the MeanFreePath of the process for the current track :
97 // (energy, material)
98 // The previousStepSize and G4ForceCondition* are not used.
99 // This function overloads a virtual function of the base class.
100 // It is invoked by the ProcessManager of the Particle.
101
102 G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
103 const G4Step& aStep);
104 // It computes the final state of the process (at end of step),
105 // returned as a ParticleChange object.
106 // This function overloads a virtual function of the base class.
107 // It is invoked by the ProcessManager of the Particle.
108
109 private:
110
111 // hide assignment operator as private
112 G4AnnihiToMuPair& operator=(const G4AnnihiToMuPair &right);
113 G4AnnihiToMuPair(const G4AnnihiToMuPair& );
114
115 G4double LowestEnergyLimit; // Energy threshold of e+
116 G4double HighestEnergyLimit; // Limit of validity of the model
117
118 G4double CurrentSigma; // the last value of cross section per volume
119
120 G4double CrossSecFactor; // factor to artificially increase
121 // the cross section, static to make sure
122 // to have single value
123};
124
125//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
126
127#endif
128
Note: See TracBrowser for help on using the repository browser.