Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/processes/electromagnetic/highenergy/src/G4eeCrossSections.cc

Version: [ ReleaseNotes ] [ 1.0 ] [ 1.1 ] [ 2.0 ] [ 3.0 ] [ 3.1 ] [ 3.2 ] [ 4.0 ] [ 4.0.p1 ] [ 4.0.p2 ] [ 4.1 ] [ 4.1.p1 ] [ 5.0 ] [ 5.0.p1 ] [ 5.1 ] [ 5.1.p1 ] [ 5.2 ] [ 5.2.p1 ] [ 5.2.p2 ] [ 6.0 ] [ 6.0.p1 ] [ 6.1 ] [ 6.2 ] [ 6.2.p1 ] [ 6.2.p2 ] [ 7.0 ] [ 7.0.p1 ] [ 7.1 ] [ 7.1.p1 ] [ 8.0 ] [ 8.0.p1 ] [ 8.1 ] [ 8.1.p1 ] [ 8.1.p2 ] [ 8.2 ] [ 8.2.p1 ] [ 8.3 ] [ 8.3.p1 ] [ 8.3.p2 ] [ 9.0 ] [ 9.0.p1 ] [ 9.0.p2 ] [ 9.1 ] [ 9.1.p1 ] [ 9.1.p2 ] [ 9.1.p3 ] [ 9.2 ] [ 9.2.p1 ] [ 9.2.p2 ] [ 9.2.p3 ] [ 9.2.p4 ] [ 9.3 ] [ 9.3.p1 ] [ 9.3.p2 ] [ 9.4 ] [ 9.4.p1 ] [ 9.4.p2 ] [ 9.4.p3 ] [ 9.4.p4 ] [ 9.5 ] [ 9.5.p1 ] [ 9.5.p2 ] [ 9.6 ] [ 9.6.p1 ] [ 9.6.p2 ] [ 9.6.p3 ] [ 9.6.p4 ] [ 10.0 ] [ 10.0.p1 ] [ 10.0.p2 ] [ 10.0.p3 ] [ 10.0.p4 ] [ 10.1 ] [ 10.1.p1 ] [ 10.1.p2 ] [ 10.1.p3 ] [ 10.2 ] [ 10.2.p1 ] [ 10.2.p2 ] [ 10.2.p3 ] [ 10.3 ] [ 10.3.p1 ] [ 10.3.p2 ] [ 10.3.p3 ] [ 10.4 ] [ 10.4.p1 ] [ 10.4.p2 ] [ 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /processes/electromagnetic/highenergy/src/G4eeCrossSections.cc (Version 11.3.0) and /processes/electromagnetic/highenergy/src/G4eeCrossSections.cc (Version 9.2.p2)


  1 //                                                  1 //
  2 // *******************************************      2 // ********************************************************************
  3 // * License and Disclaimer                         3 // * License and Disclaimer                                           *
  4 // *                                                4 // *                                                                  *
  5 // * The  Geant4 software  is  copyright of th      5 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
  6 // * the Geant4 Collaboration.  It is provided      6 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
  7 // * conditions of the Geant4 Software License      7 // * conditions of the Geant4 Software License,  included in the file *
  8 // * LICENSE and available at  http://cern.ch/      8 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
  9 // * include a list of copyright holders.           9 // * include a list of copyright holders.                             *
 10 // *                                               10 // *                                                                  *
 11 // * Neither the authors of this software syst     11 // * Neither the authors of this software system, nor their employing *
 12 // * institutes,nor the agencies providing fin     12 // * institutes,nor the agencies providing financial support for this *
 13 // * work  make  any representation or  warran     13 // * work  make  any representation or  warranty, express or implied, *
 14 // * regarding  this  software system or assum     14 // * regarding  this  software system or assume any liability for its *
 15 // * use.  Please see the license in the file      15 // * use.  Please see the license in the file  LICENSE  and URL above *
 16 // * for the full disclaimer and the limitatio     16 // * for the full disclaimer and the limitation of liability.         *
 17 // *                                               17 // *                                                                  *
 18 // * This  code  implementation is the result      18 // * This  code  implementation is the result of  the  scientific and *
 19 // * technical work of the GEANT4 collaboratio     19 // * technical work of the GEANT4 collaboration.                      *
 20 // * By using,  copying,  modifying or  distri     20 // * By using,  copying,  modifying or  distributing the software (or *
 21 // * any work based  on the software)  you  ag     21 // * any work based  on the software)  you  agree  to acknowledge its *
 22 // * use  in  resulting  scientific  publicati     22 // * use  in  resulting  scientific  publications,  and indicate your *
 23 // * acceptance of all terms of the Geant4 Sof     23 // * acceptance of all terms of the Geant4 Software license.          *
 24 // *******************************************     24 // ********************************************************************
 25 //                                                 25 //
                                                   >>  26 // $Id: G4eeCrossSections.cc,v 1.7 2008/07/10 18:06:39 vnivanch Exp $
                                                   >>  27 // GEANT4 tag $Name: geant4-09-02 $
 26 //                                                 28 //
 27 // -------------------------------------------     29 // -------------------------------------------------------------------
 28 //                                                 30 //
 29 // GEANT4 Class header file                        31 // GEANT4 Class header file
 30 //                                                 32 //
 31 //                                                 33 //
 32 // File name:     G4eeCrossSections                34 // File name:     G4eeCrossSections
 33 //                                                 35 //
 34 // Author:        Vladimir Ivanchenko              36 // Author:        Vladimir Ivanchenko
 35 //                                                 37 //
 36 // Creation date: 25.10.2003                       38 // Creation date: 25.10.2003
 37 //                                                 39 //
 38 // Modifications:                                  40 // Modifications:
 39 // 10.07.2008 Updated for PDG Jour. Physics, G     41 // 10.07.2008 Updated for PDG Jour. Physics, G33, 1 (2006)
 40 //                                                 42 //
 41 // -------------------------------------------     43 // -------------------------------------------------------------------
 42 //                                                 44 //
 43                                                    45 
 44                                                    46 
 45 //....oooOO0OOooo........oooOO0OOooo........oo     47 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
 46 //....oooOO0OOooo........oooOO0OOooo........oo     48 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
 47                                                    49 
 48 #include "G4eeCrossSections.hh"                    50 #include "G4eeCrossSections.hh"
 49 #include "G4PhysicalConstants.hh"              << 
 50 #include "G4SystemOfUnits.hh"                  << 
 51 #include "G4PionPlus.hh"                           51 #include "G4PionPlus.hh"
 52 #include "G4PionMinus.hh"                          52 #include "G4PionMinus.hh"
 53 #include "G4PionZero.hh"                           53 #include "G4PionZero.hh"
 54 #include "G4Eta.hh"                                54 #include "G4Eta.hh"
 55 #include "G4KaonPlus.hh"                           55 #include "G4KaonPlus.hh"
 56 #include "G4KaonMinus.hh"                          56 #include "G4KaonMinus.hh"
 57 #include "G4KaonZeroLong.hh"                       57 #include "G4KaonZeroLong.hh"
 58 #include "G4PhysicsLinearVector.hh"                58 #include "G4PhysicsLinearVector.hh"
 59                                                    59 
 60 #include <iostream>                                60 #include <iostream>
 61 #include <fstream>                                 61 #include <fstream>
 62                                                    62 
 63 //....oooOO0OOooo........oooOO0OOooo........oo     63 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
 64                                                    64 
 65 using namespace std;                               65 using namespace std;
 66                                                    66 
 67 G4eeCrossSections::G4eeCrossSections()             67 G4eeCrossSections::G4eeCrossSections()
 68 {                                                  68 {
 69   Initialise();                                    69   Initialise();
 70 }                                                  70 }
 71                                                    71 
 72 //....oooOO0OOooo........oooOO0OOooo........oo     72 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
 73                                                    73 
 74 G4eeCrossSections::~G4eeCrossSections()            74 G4eeCrossSections::~G4eeCrossSections()
 75 {}                                                 75 {}
 76                                                    76 
 77 //....oooOO0OOooo........oooOO0OOooo........oo     77 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
 78                                                    78 
 79 void G4eeCrossSections::Initialise()               79 void G4eeCrossSections::Initialise()
 80 {                                                  80 {
 81   MsPi = G4PionPlus::PionPlus()->GetPDGMass();     81   MsPi = G4PionPlus::PionPlus()->GetPDGMass();
 82   MsPi0= G4PionZero::PionZero()->GetPDGMass();     82   MsPi0= G4PionZero::PionZero()->GetPDGMass();
 83   MsEta= G4Eta::Eta()->GetPDGMass();               83   MsEta= G4Eta::Eta()->GetPDGMass();
 84   MsEtap=957.78*MeV;                               84   MsEtap=957.78*MeV;
 85   MsKs = G4KaonZeroLong::KaonZeroLong()->GetPD     85   MsKs = G4KaonZeroLong::KaonZeroLong()->GetPDGMass();
 86   MsKc = G4KaonPlus::KaonPlus()->GetPDGMass();     86   MsKc = G4KaonPlus::KaonPlus()->GetPDGMass();
 87   MsRho= 775.5*MeV;                                87   MsRho= 775.5*MeV;
 88   MsOm = 782.62*MeV;                               88   MsOm = 782.62*MeV;
 89   MsF0 = 980.0*MeV;                                89   MsF0 = 980.0*MeV;
 90   MsA0 = 984.7*MeV;                                90   MsA0 = 984.7*MeV;
 91   MsPhi= 1019.46*MeV;                              91   MsPhi= 1019.46*MeV;
 92   MsK892 = 891.66*MeV;                             92   MsK892 = 891.66*MeV;
 93   MsK0892 = 896.0*MeV;                             93   MsK0892 = 896.0*MeV;
 94   GRho = 149.4*MeV;                                94   GRho = 149.4*MeV;
 95   GOm = 8.49*MeV;                                  95   GOm = 8.49*MeV;
 96   GPhi = 4.26*MeV;                                 96   GPhi = 4.26*MeV;
 97   GK892 = 50.8*MeV;                                97   GK892 = 50.8*MeV;
 98   GK0892 = 50.3*MeV;                               98   GK0892 = 50.3*MeV;
 99   PhRho = 0.0;                                     99   PhRho = 0.0;
100   PhOm = 0.0;                                     100   PhOm = 0.0;
101   PhPhi = 155.0*degree;                           101   PhPhi = 155.0*degree;
102   PhRhoPi = 186.0*degree;                         102   PhRhoPi = 186.0*degree;
103                                                   103       
104   BrRhoPiG = 4.5e-4;                              104   BrRhoPiG = 4.5e-4;
105   BrRhoPi0G= 6.8e-4;                              105   BrRhoPi0G= 6.8e-4;
106   BrRhoEtaG= 2.95e-4;                             106   BrRhoEtaG= 2.95e-4;
107   BrRhoEe = 4.7e-5;                               107   BrRhoEe = 4.7e-5;
108   BrOm3Pi = 0.891;                                108   BrOm3Pi = 0.891;
109   BrOmPi0G= 0.089;                                109   BrOmPi0G= 0.089;
110   BrOmEtaG= 4.9e-4;                               110   BrOmEtaG= 4.9e-4;
111   BrOm2Pi = 0.017;                                111   BrOm2Pi = 0.017;
112   PhOm2Pi = 90.0;                                 112   PhOm2Pi = 90.0;
113   BrOmEe = 7.18e-5;                               113   BrOmEe = 7.18e-5;
114   BrPhi2Kc = 0.492;                               114   BrPhi2Kc = 0.492;
115   BrPhiKsKl= 0.34;                                115   BrPhiKsKl= 0.34;
116   BrPhi3Pi = 0.153;                               116   BrPhi3Pi = 0.153;
117   BrPhiPi0G= 1.25e-3;                             117   BrPhiPi0G= 1.25e-3;
118   BrPhiEtaG= 1.301e-2;                            118   BrPhiEtaG= 1.301e-2;
119   BrPhi2Pi = 7.3e-5;                              119   BrPhi2Pi = 7.3e-5;
120   PhPhi2Pi = -20.0*degree;                        120   PhPhi2Pi = -20.0*degree;
121   BrPhiEe = 2.97e-4;                              121   BrPhiEe = 2.97e-4;
122                                                   122 
123   MsRho3 = MsRho*MsRho*MsRho;                     123   MsRho3 = MsRho*MsRho*MsRho;
124   MsOm3  = MsOm*MsOm*MsOm;                        124   MsOm3  = MsOm*MsOm*MsOm;
125   MsPhi3 = MsPhi*MsPhi*MsPhi;                     125   MsPhi3 = MsPhi*MsPhi*MsPhi;
126                                                   126 
127   MeVnb = 3.8938e+11*nanobarn;                    127   MeVnb = 3.8938e+11*nanobarn;
128   Alpha = fine_structure_const;                   128   Alpha = fine_structure_const;
129                                                   129 
130   AOmRho = 3.0;                                   130   AOmRho = 3.0;
131   ARhoPRho = 0.72;                                131   ARhoPRho = 0.72;
132   cterm=0.;                                       132   cterm=0.;
133   mssig = 600.*MeV;                               133   mssig = 600.*MeV;
134   gsig = 500.*MeV;                                134   gsig = 500.*MeV;
135   brsigpipi = 1.;                                 135   brsigpipi = 1.;
136                                                   136 
137   msrho1450 = 1459.*MeV;                          137   msrho1450 = 1459.*MeV;
138   msrho1700 = 1688.8*MeV;                         138   msrho1700 = 1688.8*MeV;
139   grho1450 = 171.*MeV;                            139   grho1450 = 171.*MeV;
140   grho1700 = 161.*MeV;                            140   grho1700 = 161.*MeV;
141   arhoompi0 = 1.;                                 141   arhoompi0 = 1.;
142   arho1450ompi0 = 1.;                             142   arho1450ompi0 = 1.;
143   arho1700ompi0 = 1.;                             143   arho1700ompi0 = 1.;
144   phrhoompi0 = 0.;                                144   phrhoompi0 = 0.;
145   phrho1450ompi0 = pi;                            145   phrho1450ompi0 = pi;
146   phrho1700ompi0 = 0.;                            146   phrho1700ompi0 = 0.;
147   aomrhopi0 = 1.;                                 147   aomrhopi0 = 1.;
148   phomrhopi0 = 0.;                                148   phomrhopi0 = 0.;
149   arhopi0pi0g = 0.;                               149   arhopi0pi0g = 0.;
150   aompi0pi0g = 0.;                                150   aompi0pi0g = 0.;
151   phrhopi0pi0g = 0.;                              151   phrhopi0pi0g = 0.;
152   phompi0pi0g = 0.;                               152   phompi0pi0g = 0.;
153   brrho1450ompi0 = 0.02;                          153   brrho1450ompi0 = 0.02;
154   brrho1450pipi = 0.50;                           154   brrho1450pipi = 0.50;
155   brrho1700ompi0 = 1.0;                           155   brrho1700ompi0 = 1.0;
156   brrho1700pipi = 0.02;                           156   brrho1700pipi = 0.02;
157   aphirhopi0 = 1.;                                157   aphirhopi0 = 1.;
158   phphirhopi0 = pi;                               158   phphirhopi0 = pi;
159   arhosigg = 0.;                                  159   arhosigg = 0.;
160   phrhosigg = 0.;                                 160   phrhosigg = 0.;
161   aomsigg = 0.;                                   161   aomsigg = 0.;
162   phomsigg = 0.;                                  162   phomsigg = 0.;
163                                                   163 
164   G4String w0, w1, w2;                            164   G4String w0, w1, w2;
165   ph3p = 0;                                       165   ph3p = 0;
166                                                   166 
167   /*                                              167   /*
168   G4double emin, emax;                            168   G4double emin, emax;
169   G4int nbins;                                    169   G4int nbins;
170   const G4String fname = "wrhopi.wid";            170   const G4String fname = "wrhopi.wid"; 
171   ifstream  fi(fname.c_str());                    171   ifstream  fi(fname.c_str()); 
172   fi >> w0 >> nbins >> w1 >> emin >> w2 >> ema    172   fi >> w0 >> nbins >> w1 >> emin >> w2 >> emax;
173   emin *= MeV;                                    173   emin *= MeV;
174   emax *= MeV;                                    174   emax *= MeV;
175   ph3p = new G4PhysicsLinearVector(emin,emax,n    175   ph3p = new G4PhysicsLinearVector(emin,emax,nbins);
176   G4int nlines = nbins/5;                         176   G4int nlines = nbins/5;
177   G4double s0, s1, s2, s3, s4;                    177   G4double s0, s1, s2, s3, s4;
178   for(G4int i=0; i<nlines; i++) {                 178   for(G4int i=0; i<nlines; i++) {
179     fi >> s0 >> s1 >> s2 >> s3 >> s4;             179     fi >> s0 >> s1 >> s2 >> s3 >> s4;
180     ph3p->PutValue(5*i, s0);                      180     ph3p->PutValue(5*i, s0);
181     ph3p->PutValue(5*i + 1, s1);                  181     ph3p->PutValue(5*i + 1, s1);
182     ph3p->PutValue(5*i + 2, s2);                  182     ph3p->PutValue(5*i + 2, s2);
183     ph3p->PutValue(5*i + 3, s3);                  183     ph3p->PutValue(5*i + 3, s3);
184     ph3p->PutValue(5*i + 4, s4);                  184     ph3p->PutValue(5*i + 4, s4);
185   }                                               185   }
186   fi.close();                                     186   fi.close();
187   */                                              187   */
188 }                                                 188 }
189                                                   189 
190 //....oooOO0OOooo........oooOO0OOooo........oo    190 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
191                                                   191 
192 G4double G4eeCrossSections::CrossSection2pi(G4    192 G4double G4eeCrossSections::CrossSection2pi(G4double e) 
193 {                                                 193 { 
194   complex<G4double> xr(cos(PhRho),sin(PhRho));    194   complex<G4double> xr(cos(PhRho),sin(PhRho));
195   complex<G4double> xo(cos(PhOm2Pi),sin(PhOm2P    195   complex<G4double> xo(cos(PhOm2Pi),sin(PhOm2Pi));
196   complex<G4double> xf(cos(PhPhi2Pi),sin(PhPhi    196   complex<G4double> xf(cos(PhPhi2Pi),sin(PhPhi2Pi));
197                                                   197 
198   G4double s_inv = e*e;                        << 198   G4double s = e*e;
199   complex<G4double> drho = DpRho(e);              199   complex<G4double> drho = DpRho(e);
200   complex<G4double> dom  = DpOm(e);               200   complex<G4double> dom  = DpOm(e);
201   complex<G4double> dphi = DpPhi(e);              201   complex<G4double> dphi = DpPhi(e);
202                                                   202 
203   complex<G4double> amp =                         203   complex<G4double> amp = 
204       sqrt(Width2p(s_inv,MsRho,GRho,1.0,MsPi)* << 204       sqrt(Width2p(s,MsRho,GRho,1.0,MsPi)*MsRho3*BrRhoEe*GRho)*xr/drho
205     + sqrt(Width2p(s_inv,MsOm,GOm,BrOm2Pi,MsPi << 205     + sqrt(Width2p(s,MsOm,GOm,BrOm2Pi,MsPi)*MsOm3*BrOmEe*GOm)*xo/dom
206     + sqrt(Width2p(s_inv,MsPhi,GPhi,BrPhi2Pi,M << 206     + sqrt(Width2p(s,MsPhi,GPhi,BrPhi2Pi,MsPi)*MsPhi3*BrPhiEe*GPhi)*xf/dphi;
207                                                   207 
208   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e* << 208   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e*s);
209                                                   209 
210   return cross;                                   210   return cross;
211 }                                                 211 }
212                                                   212 
213 //....oooOO0OOooo........oooOO0OOooo........oo    213 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
214                                                   214 
215 G4double G4eeCrossSections::CrossSection3pi(G4    215 G4double G4eeCrossSections::CrossSection3pi(G4double e) 
216 {                                                 216 { 
217   complex<G4double> xf(cos(PhPhi2Pi),sin(PhPhi    217   complex<G4double> xf(cos(PhPhi2Pi),sin(PhPhi));
218                                                   218 
219   G4double s_inv = e*e;                        << 219   G4double s = e*e;
220   complex<G4double> dom  = DpOm(e);               220   complex<G4double> dom  = DpOm(e);
221   complex<G4double> dphi = DpPhi(e);              221   complex<G4double> dphi = DpPhi(e);
222                                                   222 
223   complex<G4double> amp =                         223   complex<G4double> amp = 
224     sqrt(Width3p(s_inv,MsOm,GOm,BrOm3Pi)*MsOm3 << 224     sqrt(Width3p(s,MsOm,GOm,BrOm3Pi)*MsOm3*BrOmEe*GOm)/dom
225     + sqrt(Width3p(s_inv,MsPhi,GPhi,BrPhi3Pi)* << 225     + sqrt(Width3p(s,MsPhi,GPhi,BrPhi3Pi)*MsPhi3*BrPhiEe*GPhi)*xf/dphi;
226                                                   226 
227   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e* << 227   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e*s);
228                                                   228 
229   return cross;                                   229   return cross;
230 }                                                 230 }
231                                                   231 
232 //....oooOO0OOooo........oooOO0OOooo........oo    232 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
233                                                   233 
234 G4double G4eeCrossSections::CrossSectionPi0G(G    234 G4double G4eeCrossSections::CrossSectionPi0G(G4double e) 
235 {                                                 235 { 
236   complex<G4double> xf(cos(PhPhi),sin(PhPhi));    236   complex<G4double> xf(cos(PhPhi),sin(PhPhi));
237                                                   237 
238   G4double s_inv = e*e;                        << 238   G4double s = e*e;
239   complex<G4double> drho = DpRho(e);              239   complex<G4double> drho = DpRho(e);
240   complex<G4double> dom  = DpOm(e);               240   complex<G4double> dom  = DpOm(e);
241   complex<G4double> dphi = DpPhi(e);              241   complex<G4double> dphi = DpPhi(e);
242                                                   242 
243   complex<G4double> amp =                         243   complex<G4double> amp = 
244       sqrt(WidthPg(s_inv,MsRho,GRho,BrRhoPi0G, << 244       sqrt(WidthPg(s,MsRho,GRho,BrRhoPi0G,MsPi0)*MsRho3*BrRhoEe*GRho)/drho
245     + sqrt(WidthPg(s_inv,MsOm,GOm,BrOmPi0G,MsP << 245     + sqrt(WidthPg(s,MsOm,GOm,BrOmPi0G,MsPi0)*MsOm3*BrOmEe*GOm)/dom
246     + sqrt(WidthPg(s_inv,MsPhi,GPhi,BrPhiPi0G, << 246     + sqrt(WidthPg(s,MsPhi,GPhi,BrPhiPi0G,MsPi0)*MsPhi3*BrPhiEe*GPhi)*xf/dphi;
247                                                   247 
248   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e* << 248   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e*s);
249                                                   249 
250   return cross;                                   250   return cross;
251 }                                                 251 }
252                                                   252 
253 //....oooOO0OOooo........oooOO0OOooo........oo    253 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
254                                                   254 
255 G4double G4eeCrossSections::CrossSectionEtaG(G    255 G4double G4eeCrossSections::CrossSectionEtaG(G4double e) 
256 {                                                 256 { 
257   complex<G4double> xf(cos(PhPhi),sin(PhPhi));    257   complex<G4double> xf(cos(PhPhi),sin(PhPhi));
258                                                   258 
259   G4double s_inv = e*e;                        << 259   G4double s = e*e;
260   complex<G4double> drho = DpRho(e);              260   complex<G4double> drho = DpRho(e);
261   complex<G4double> dom  = DpOm(e);               261   complex<G4double> dom  = DpOm(e);
262   complex<G4double> dphi = DpPhi(e);              262   complex<G4double> dphi = DpPhi(e);
263                                                   263 
264   complex<G4double> amp =                         264   complex<G4double> amp = 
265       sqrt(WidthPg(s_inv,MsRho,GRho,BrRhoEtaG, << 265       sqrt(WidthPg(s,MsRho,GRho,BrRhoEtaG,MsEta)*MsRho3*BrRhoEe*GRho)/drho
266     + sqrt(WidthPg(s_inv,MsOm,GOm,BrOmEtaG,MsE << 266     + sqrt(WidthPg(s,MsOm,GOm,BrOmEtaG,MsEta)*MsOm3*BrOmEe*GOm)/dom
267     + sqrt(WidthPg(s_inv,MsPhi,GPhi,BrPhiEtaG, << 267     + sqrt(WidthPg(s,MsPhi,GPhi,BrPhiEtaG,MsEta)*MsPhi3*BrPhiEe*GPhi)*xf/dphi;
268                                                   268 
269   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e* << 269   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e*s);
270                                                   270 
271   return cross;                                   271   return cross;
272 }                                                 272 }
273                                                   273 
274 //....oooOO0OOooo........oooOO0OOooo........oo    274 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
275                                                   275 
276 G4double G4eeCrossSections::CrossSection2Kchar    276 G4double G4eeCrossSections::CrossSection2Kcharged(G4double e) 
277 {                                                 277 { 
278   G4double s_inv = e*e;                        << 278   G4double s = e*e;
279   complex<G4double> dphi = DpPhi(e);              279   complex<G4double> dphi = DpPhi(e);
280                                                   280 
281   complex<G4double> amp =                         281   complex<G4double> amp = 
282     sqrt(Width2p(s_inv,MsPhi,GPhi,BrPhi2Kc,MsK << 282     sqrt(Width2p(s,MsPhi,GPhi,BrPhi2Kc,MsKc)*MsPhi3*BrPhiEe*GPhi)/dphi;
283                                                   283 
284   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e* << 284   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e*s);
285                                                   285 
286   return cross;                                   286   return cross;
287 }                                                 287 }
288                                                   288 
289 //....oooOO0OOooo........oooOO0OOooo........oo    289 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
290                                                   290 
291 G4double G4eeCrossSections::CrossSection2Kneut    291 G4double G4eeCrossSections::CrossSection2Kneutral(G4double e) 
292 {                                                 292 { 
293   G4double s_inv = e*e;                        << 293   G4double s = e*e;
294   complex<G4double> dphi = DpPhi(e);              294   complex<G4double> dphi = DpPhi(e);
295                                                   295 
296   complex<G4double> amp =                         296   complex<G4double> amp = 
297     sqrt(Width2p(s_inv,MsPhi,GPhi,BrPhiKsKl,Ms << 297     sqrt(Width2p(s,MsPhi,GPhi,BrPhiKsKl,MsKs)*MsPhi3*BrPhiEe*GPhi)/dphi;
298                                                   298 
299   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e* << 299   G4double cross = 12.0*pi*MeVnb*norm(amp)/(e*s);
300                                                   300 
301   return cross;                                   301   return cross;
302 }                                                 302 }
303                                                   303 
304 //....oooOO0OOooo........oooOO0OOooo........oo    304 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
305                                                   305 
306 G4double G4eeCrossSections::Width2p(G4double s << 306 G4double G4eeCrossSections::Width2p(G4double s, G4double mres, 
307                                     G4double g << 307                                     G4double g, G4double br, G4double m) 
308 {                                                 308 {
309   G4double mp2   = 4.0*mp*mp;                  << 309   G4double m2    = 4.0*m*m;
310   G4double s0    = mres*mres;                     310   G4double s0    = mres*mres;
311   G4double f     = (s_inv - mp2)/(s0 - mp2);   << 311   G4double f     = (s - m2)/(s0 - m2);
312   if(f < 0.0)  f = 0.0;                           312   if(f < 0.0)  f = 0.0;
313   return gconst*br*sqrt(f)*f*s0/s_inv;         << 313   return g*br*sqrt(f)*f*s0/s;
314 }                                                 314 }
315                                                   315 
316 //....oooOO0OOooo........oooOO0OOooo........oo    316 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
317                                                   317 
318 G4double G4eeCrossSections::Width3p(G4double s << 318 G4double G4eeCrossSections::Width3p(G4double s, G4double mres, 
319                                     G4double g << 319                                     G4double g, G4double br) 
320 {                                                 320 {
321   G4double w = PhaseSpace3p(sqrt(s_inv));      << 321   G4double w = PhaseSpace3p(sqrt(s));
322   G4double w0= PhaseSpace3p(mres);                322   G4double w0= PhaseSpace3p(mres);
323   G4double x = gconst*br*w/w0;                 << 323   G4double x = g*br*w/w0;
324   return x;                                       324   return x;
325 }                                                 325 }
326                                                   326 
327 //....oooOO0OOooo........oooOO0OOooo........oo    327 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
328                                                   328 
329 G4double G4eeCrossSections::PhaseSpace3p(G4dou    329 G4double G4eeCrossSections::PhaseSpace3p(G4double e) 
330 {                                                 330 {
331   //     E.A.Kuraev, Z.K.Silagadze.               331   //     E.A.Kuraev, Z.K.Silagadze.
332   //  Once more about the omega->3 pi contact     332   //  Once more about the omega->3 pi contact term.
333   //  Yadernaya Phisica, 1995, V58, N9, p.1678    333   //  Yadernaya Phisica, 1995, V58, N9, p.1678-1694.  
334                                                   334 
335   //  G4bool b;                                   335   //  G4bool b;
336   //  G4double x = ph3p->GetValue(e, b);          336   //  G4double x = ph3p->GetValue(e, b);
337   G4double x = 1.0;                               337   G4double x = 1.0; 
338   G4double emev = e/MeV;                          338   G4double emev = e/MeV;
339   G4double y = 414.12/emev;                       339   G4double y = 414.12/emev;
340   x *= pow(e/MsOm, 5.0) * pow(emev*0.1, 3.0)*(    340   x *= pow(e/MsOm, 5.0) * pow(emev*0.1, 3.0)*(1.0 - y*y);
341   return x;                                       341   return x;
342 }                                                 342 }
343                                                   343 
344 //....oooOO0OOooo........oooOO0OOooo........oo    344 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
345                                                   345 
346 G4double G4eeCrossSections::WidthPg(G4double s << 346 G4double G4eeCrossSections::WidthPg(G4double s, G4double mres, 
347                                     G4double g << 347                                     G4double g, G4double br, G4double m)
348 {                                                 348 {
349   G4double mp2   = mp*mp;                      << 349   G4double m2    = m*m;
350   G4double s0    = mres*mres;                     350   G4double s0    = mres*mres;
351   G4double f     = (s_inv - mp2)*mres/((s0 - m << 351   G4double f     = (s - m2)*mres/((s0 - m2)*sqrt(s));
352   if(f < 0.0)  f = 0.0;                           352   if(f < 0.0)  f = 0.0;
353   return gconst*br*f*f*f;                      << 353   return g*br*f*f*f;
354 }                                                 354 }
355                                                   355 
356 //....oooOO0OOooo........oooOO0OOooo........oo    356 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
357                                                   357 
358 G4double G4eeCrossSections::WidthRho(G4double     358 G4double G4eeCrossSections::WidthRho(G4double e) 
359 {                                                 359 {
360   G4double w = Width2p(e*e, MsRho, GRho, 1.0,     360   G4double w = Width2p(e*e, MsRho, GRho, 1.0, MsPi);
361   return w;                                       361   return w;
362 }                                                 362 }
363                                                   363 
364 //....oooOO0OOooo........oooOO0OOooo........oo    364 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
365                                                   365 
366 G4double G4eeCrossSections::WidthOm(G4double e    366 G4double G4eeCrossSections::WidthOm(G4double e) 
367 {                                                 367 {
368   G4double s_inv = e*e;                        << 368   G4double s = e*e;
369   G4double w = (Width3p(s_inv, MsOm, GOm, BrOm << 369   G4double w = (Width3p(s, MsOm, GOm, BrOm3Pi) +
370                 WidthPg(s_inv, MsOm, GOm, BrOm << 370                 WidthPg(s, MsOm, GOm, BrOmPi0G, MsPi0) +
371                 WidthPg(s_inv, MsOm, GOm, BrOm << 371                 WidthPg(s, MsOm, GOm, BrOmEtaG, MsEta) +
372                 Width2p(s_inv, MsOm, GOm, BrOm << 372                 Width2p(s, MsOm, GOm, BrOm2Pi, MsPi)) /
373        (BrOm3Pi+BrOmPi0G+BrOmEtaG+BrOm2Pi);       373        (BrOm3Pi+BrOmPi0G+BrOmEtaG+BrOm2Pi);
374   return w;                                       374   return w;
375 }                                                 375 }
376                                                   376 
377 //....oooOO0OOooo........oooOO0OOooo........oo    377 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
378                                                   378 
379 G4double G4eeCrossSections::WidthPhi(G4double     379 G4double G4eeCrossSections::WidthPhi(G4double e) 
380 {                                                 380 {
381   G4double s_inv = e*e;                        << 381   G4double s = e*e;
382   G4double w = (Width3p(s_inv, MsPhi, GPhi, Br << 382   G4double w = (Width3p(s, MsPhi, GPhi, BrPhi3Pi) +
383                 WidthPg(s_inv, MsPhi, GPhi, Br << 383                 WidthPg(s, MsPhi, GPhi, BrPhiPi0G, MsPi0) +
384                 WidthPg(s_inv, MsPhi, GPhi, Br << 384                 WidthPg(s, MsPhi, GPhi, BrPhiEtaG, MsEta) +
385                 Width2p(s_inv, MsPhi, GPhi, Br << 385                 Width2p(s, MsPhi, GPhi, BrPhi2Kc, MsKc) +
386                 Width2p(s_inv, MsPhi, GPhi, Br << 386                 Width2p(s, MsPhi, GPhi, BrPhiKsKl, MsKs)) /
387         (BrPhi3Pi+BrPhiPi0G+BrPhiEtaG+BrPhi2Kc    387         (BrPhi3Pi+BrPhiPi0G+BrPhiEtaG+BrPhi2Kc+BrPhiKsKl);
388   return w;                                       388   return w;
389 }                                                 389 }
390                                                   390 
391 //....oooOO0OOooo........oooOO0OOooo........oo    391 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
392                                                   392 
393 complex<G4double> G4eeCrossSections::DpRho(G4d    393 complex<G4double> G4eeCrossSections::DpRho(G4double e) 
394 {                                                 394 {
395   complex<G4double> d(MsRho*MsRho - e*e, -e*Wi    395   complex<G4double> d(MsRho*MsRho - e*e, -e*WidthRho(e));
396   return d;                                       396   return d;
397 }                                                 397 }
398                                                   398 
399 //....oooOO0OOooo........oooOO0OOooo........oo    399 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
400                                                   400 
401 complex<G4double> G4eeCrossSections::DpOm(G4do    401 complex<G4double> G4eeCrossSections::DpOm(G4double e) 
402 {                                                 402 {
403   complex<G4double> d(MsOm*MsOm - e*e, -e*Widt    403   complex<G4double> d(MsOm*MsOm - e*e, -e*WidthOm(e));
404   return d;                                       404   return d;
405 }                                                 405 }
406                                                   406 
407 //....oooOO0OOooo........oooOO0OOooo........oo    407 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
408                                                   408 
409 complex<G4double> G4eeCrossSections::DpPhi(G4d    409 complex<G4double> G4eeCrossSections::DpPhi(G4double e) 
410 {                                                 410 {
411   complex<G4double> d(MsPhi*MsPhi - e*e, -e*Wi    411   complex<G4double> d(MsPhi*MsPhi - e*e, -e*WidthPhi(e));
412   return d;                                       412   return d;
413 }                                                 413 }
414                                                   414 
415 //....oooOO0OOooo........oooOO0OOooo........oo    415 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
416                                                   416