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: G4QAtomicElectronScattering.hh,v 1.1 2009/11/17 10:36:54 mkossov Exp $ |
---|
27 | // GEANT4 tag $Name: hadr-chips-V09-03-08 $ |
---|
28 | // |
---|
29 | // ---------------- G4QAtomicElectronScattering header ---------------- |
---|
30 | // by Mikhail Kossov, December 2003. |
---|
31 | // Header of G4QAtomicElectronScattering class of the CHIPS Simulation Branch in GEANT4 |
---|
32 | // ------------------------------------------------------------------------------- |
---|
33 | // This is a unique CHIPS class for the Nuclear Interactions with Atomic electrons. |
---|
34 | // ------------------------------------------------------------------------------- |
---|
35 | // **************************************************************************************** |
---|
36 | // ********* This HEADER is temporary moved from the photolepton_hadron directory ********* |
---|
37 | // ******* DO NOT MAKE ANY CHANGE! With time it'll move back to photolepton...(M.K.) ****** |
---|
38 | // **************************************************************************************** |
---|
39 | // Short description: CHIPS is re3sponsible for photo- and lepto-nuclear |
---|
40 | // reactions. In particular for thr electron-nuclear reactions. At High |
---|
41 | // Energies the nucleons (including neutrons) and nuclear fragments can |
---|
42 | // interact with atomic electrons (reversed electro-nuclear reaction - |
---|
43 | // antilab), while they are missing the nucler-nuclear (ion-ion) reac- |
---|
44 | // tions. This nucleo-electron process comes "for-free" in CHIPS, as the |
---|
45 | // cross-sections of the interaction is known from the electro-nuclear |
---|
46 | // reactions. The only problem is to move the output from the antilab to |
---|
47 | // lab system. This is what this process is aiming to do. It can be used |
---|
48 | // for the ion transport in Geant4. |
---|
49 | // --------------------------------------------------------------------- |
---|
50 | |
---|
51 | #ifndef G4QAtomicElectronScattering_hh |
---|
52 | #define G4QAtomicElectronScattering_hh |
---|
53 | |
---|
54 | // GEANT4 Headers |
---|
55 | #include "globals.hh" |
---|
56 | #include "G4ios.hh" |
---|
57 | #include "Randomize.hh" |
---|
58 | #include "G4VDiscreteProcess.hh" |
---|
59 | #include "G4Track.hh" |
---|
60 | #include "G4Step.hh" |
---|
61 | #include "G4ParticleTypes.hh" |
---|
62 | #include "G4VParticleChange.hh" |
---|
63 | #include "G4ParticleDefinition.hh" |
---|
64 | #include "G4DynamicParticle.hh" |
---|
65 | #include "G4ThreeVector.hh" |
---|
66 | #include "G4LorentzVector.hh" |
---|
67 | |
---|
68 | // CHIPS Headers |
---|
69 | #include "G4QEnvironment.hh" |
---|
70 | #include "G4VQCrossSection.hh" |
---|
71 | #include "G4QIsotope.hh" |
---|
72 | #include "G4QElectronNuclearCrossSection.hh" |
---|
73 | #include "G4QPhotonNuclearCrossSection.hh" |
---|
74 | #include "G4QMuonNuclearCrossSection.hh" |
---|
75 | #include "G4QTauNuclearCrossSection.hh" |
---|
76 | #include "G4QPDGToG4Particle.hh" |
---|
77 | |
---|
78 | class G4QAtomicElectronScattering : public G4VDiscreteProcess |
---|
79 | { |
---|
80 | public: |
---|
81 | |
---|
82 | // Constructor |
---|
83 | G4QAtomicElectronScattering(const G4String& processName ="CHIPSNuclearCollision"); |
---|
84 | |
---|
85 | // Destructor |
---|
86 | ~G4QAtomicElectronScattering(); |
---|
87 | |
---|
88 | G4bool IsApplicable(const G4ParticleDefinition& particle); |
---|
89 | |
---|
90 | G4double GetMeanFreePath(const G4Track& aTrack, G4double previousStepSize, |
---|
91 | G4ForceCondition* condition); |
---|
92 | // It returns the MeanFreePath of the process for the current track : |
---|
93 | // (energy, material) |
---|
94 | // The previousStepSize and G4ForceCondition* are not used. |
---|
95 | // This function overloads a virtual function of the base class. |
---|
96 | // It is invoked by the ProcessManager of the Particle. |
---|
97 | |
---|
98 | |
---|
99 | G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep); |
---|
100 | // It computes the final state of the process (at end of step), |
---|
101 | // returned as a ParticleChange object. |
---|
102 | // This function overloads a virtual function of the base class. |
---|
103 | // It is invoked by the ProcessManager of the Particle. |
---|
104 | |
---|
105 | |
---|
106 | G4LorentzVector GetEnegryMomentumConservation(); |
---|
107 | |
---|
108 | G4int GetNumberOfNeutronsInTarget(); |
---|
109 | |
---|
110 | // Static functions |
---|
111 | static void SetManual(); |
---|
112 | static void SetStandard(); |
---|
113 | static void SetParameters(G4double temper=180., G4double ssin2g=.1, G4double etaetap=.3, |
---|
114 | G4double fN=0., G4double fD=0., G4double cP=1., G4double mR=1., |
---|
115 | G4int npCHIPSWorld=234, G4double solAn=.5, G4bool efFlag=false, |
---|
116 | G4double piTh=141.4,G4double mpi2=20000.,G4double dinum=1880.); |
---|
117 | |
---|
118 | private: |
---|
119 | |
---|
120 | // Hide assignment operator as private |
---|
121 | G4QAtomicElectronScattering& operator=(const G4QAtomicElectronScattering &right); |
---|
122 | |
---|
123 | // Copy constructor |
---|
124 | G4QAtomicElectronScattering(const G4QAtomicElectronScattering&); |
---|
125 | |
---|
126 | // BODY |
---|
127 | // Static Parameters |
---|
128 | static G4bool manualFlag; // If false then standard parameters are used |
---|
129 | static G4int nPartCWorld; // The#of particles for hadronization (limit of A of fragm.) |
---|
130 | // -> Parameters of the G4Quasmon class: |
---|
131 | static G4double Temperature; // Quasmon Temperature |
---|
132 | static G4double SSin2Gluons; // Percent of ssbar sea in a constituen gluon |
---|
133 | static G4double EtaEtaprime; // Part of eta-prime in all etas |
---|
134 | // -> Parameters of the G4QNucleus class: |
---|
135 | static G4double freeNuc; // probability of the quasi-free baryon on surface |
---|
136 | static G4double freeDib; // probability of the quasi-free dibaryon on surface |
---|
137 | static G4double clustProb; // clusterization probability in dense region |
---|
138 | static G4double mediRatio; // relative vacuum hadronization probability |
---|
139 | // -> Parameters of the G4QEnvironment class: |
---|
140 | static G4bool EnergyFlux; // Flag for Energy Flux use instead of Multy Quasmon |
---|
141 | static G4double SolidAngle; // Part of Solid Angle to capture secondaries(@@A-dep) |
---|
142 | static G4double PiPrThresh; // Pion Production Threshold for gammas |
---|
143 | static G4double M2ShiftVir; // Shift for M2=-Q2=m_pi^2 of the virtual gamma |
---|
144 | static G4double DiNuclMass; // Double Nucleon Mass for virtual normalization |
---|
145 | // |
---|
146 | // Working parameters |
---|
147 | G4VQCrossSection* theCS; |
---|
148 | G4LorentzVector EnMomConservation; // Residual of Energy/Momentum Cons. |
---|
149 | G4int nOfNeutrons; // #of neutrons in the target nucleus |
---|
150 | |
---|
151 | // Modifires for the reaction |
---|
152 | G4double Time; // Time shift of the capture reaction |
---|
153 | G4double EnergyDeposition; // Energy deposited in the reaction |
---|
154 | }; |
---|
155 | #endif |
---|
156 | |
---|