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.2 2006/06/29 19:32:12 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: $ |
---|
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 | |
---|
52 | class G4ParticleDefinition; |
---|
53 | class G4Track; |
---|
54 | class G4Step; |
---|
55 | |
---|
56 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... |
---|
57 | |
---|
58 | class 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 | virtual |
---|
86 | G4double ComputeCrossSectionPerAtom(G4double PositronEnergy, |
---|
87 | G4double AtomicZ); |
---|
88 | // Compute total cross section |
---|
89 | |
---|
90 | G4double GetMeanFreePath(const G4Track& aTrack, |
---|
91 | G4double previousStepSize, |
---|
92 | G4ForceCondition* ); |
---|
93 | // It returns the MeanFreePath of the process for the current track : |
---|
94 | // (energy, material) |
---|
95 | // The previousStepSize and G4ForceCondition* are not used. |
---|
96 | // This function overloads a virtual function of the base class. |
---|
97 | // It is invoked by the ProcessManager of the Particle. |
---|
98 | |
---|
99 | G4VParticleChange* PostStepDoIt(const G4Track& aTrack, |
---|
100 | const G4Step& aStep); |
---|
101 | // It computes the final state of the process (at end of step), |
---|
102 | // returned as a ParticleChange object. |
---|
103 | // This function overloads a virtual function of the base class. |
---|
104 | // It is invoked by the ProcessManager of the Particle. |
---|
105 | |
---|
106 | private: |
---|
107 | |
---|
108 | // hide assignment operator as private |
---|
109 | G4AnnihiToMuPair& operator=(const G4AnnihiToMuPair &right); |
---|
110 | G4AnnihiToMuPair(const G4AnnihiToMuPair& ); |
---|
111 | |
---|
112 | private: |
---|
113 | |
---|
114 | G4double LowestEnergyLimit; // Energy threshold of e+ |
---|
115 | G4double HighestEnergyLimit; // Limit of validity of the model |
---|
116 | |
---|
117 | G4double CrossSecFactor; // factor to artificially increase |
---|
118 | // the cross section, static to make sure |
---|
119 | // to have single value |
---|
120 | }; |
---|
121 | |
---|
122 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... |
---|
123 | |
---|
124 | #endif |
---|
125 | |
---|