source: trunk/source/processes/hadronic/models/chiral_inv_phase_space/body/include/G4QPomeron.hh @ 1007

Last change on this file since 1007 was 1007, checked in by garnier, 15 years ago

update to geant4.9.2

File size: 6.3 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#ifndef G4QPomeron_h
27#define G4QPomeron_h 1
28//
29// $Id: G4QPomeron.hh,v 1.2 2006/12/12 11:02:22 mkossov Exp $
30// GEANT4 tag $Name: geant4-09-02 $
31//
32// ------------------------------------------------------------
33//      GEANT 4 class implementation file
34//
35//      ---------------- G4QPomeron ----------------
36//      by Mikhail Kossov Oct, 2006
37//      class for a Pomeron used by Parton String Models
38//   For comparison mirror member functions are taken from G4 class:
39//   G4PomeronCrossSection
40// ------------------------------------------------------------
41
42#include "globals.hh"
43
44class G4QPomeron
45{
46 public:
47  G4QPomeron(G4int PDGCode = 211);
48  ~G4QPomeron(){;}
49  void Pomeron_S(G4double apomeron_S)              {pomeron_S = apomeron_S;}
50  void Pomeron_Gamma(G4double apomeron_Gamma)      {pomeron_Gamma = apomeron_Gamma;}
51  void Pomeron_C(G4double apomeron_C)              {pomeron_C = apomeron_C;}
52  void Pomeron_Rsquare(G4double apomeron_Rsquare)  {pomeron_Rsquare = apomeron_Rsquare;}
53  void Pomeron_Alpha(G4double apomeron_Alpha)      {pomeron_Alpha = apomeron_Alpha;}
54  void Pomeron_Alphaprime(G4double apom_Alphaprime){pomeron_Alphaprime = apom_Alphaprime;}
55  void Pomeron_Gamma_Hard(G4double apom_Gamma_Hard){pomeron_Gamma_Hard = apom_Gamma_Hard;}
56  void Pomeron_Alpha_Hard(G4double apom_Alpha_Hard){pomeron_Alpha_Hard = apom_Alpha_Hard;}
57  G4double GetTotalCrossSection(const G4double s) {return SigP(s) * Expand(Z(s)/2);}
58  G4double GetDiffractiveCrossSection(const G4double s)
59                                  {return SigP(s)/pomeron_C*(Expand(Z(s)/2)-Expand(Z(s)));}
60  G4double GetElasticCrossSection(const G4double s)
61                                          {return (pomeron_C-1)*GetElasticCrossSection(s);}
62  G4double GetInelasticCrossSection(const G4double s)
63                                {return GetTotalCrossSection(s)-GetElasticCrossSection(s);}
64  G4double GetTotalProbability(const G4double s, const G4double imp2)
65        {return 2*(1-std::exp(-Eikonal(s,imp2)))/pomeron_C*(1-std::exp(-Eikonal(s,imp2)));}
66  G4double GetDiffractiveProbability(const G4double s,  const G4double imp2)
67                  {return (pomeron_C-1.)/pomeron_C*(GetTotalProbability(s,imp2) -
68                                                    GetNondiffractiveProbability(s,imp2));}
69  G4double GetNondiffractiveProbability(const G4double s,       const G4double imp2)
70                                      {return (1.-std::exp(-2*Eikonal(s,imp2)))/pomeron_C;}
71  G4double GetElasticProbability(const G4double s, const G4double imp2)
72                      {return GetTotalProbability(s,imp2)-GetInelasticProbability(s,imp2);}
73  G4double GetInelasticProbability(const G4double s, const G4double imp2)
74           {return GetNondiffractiveProbability(s,imp2)+GetDiffractiveProbability(s,imp2);}
75  G4double GetCutPomeronProbability(const G4double s,const G4double ip2, const G4int nPom);
76  void SetGamma(const G4double agam) {pomeron_Gamma=agam/GeV/GeV;} // @@ Temporary
77  G4double SoftEikonal(G4double s, G4double imp2)
78                         {return Zsoft(s)/2*std::exp(-imp2/LambdaSoft(s)/hbarc_squared/4);}
79  G4double HardEikonal(G4double s, G4double imp2)
80                         {return Zhard(s)/2*std::exp(-imp2/LambdaHard(s)/hbarc_squared/4);}
81 private: 
82  G4double PowerSoft(const G4double s)
83                            {return pomeron_Gamma*std::pow(s/pomeron_S, pomeron_Alpha-1.);}
84  G4double PowerHard(const G4double s)
85                  {return pomeron_Gamma_Hard*std::pow(s/pomeron_S, pomeron_Alpha_Hard-1.);}
86  G4double LambdaSoft(const G4double s)
87                         {return pomeron_Rsquare+pomeron_Alphaprime*std::log(s/pomeron_S);}
88  G4double LambdaHard(const G4double){return pomeron_Rsquare;} // @@ ? M.K.
89  G4double Zsoft(const G4double s)   {return 2*pomeron_C*PowerSoft(s)/LambdaSoft(s);}
90  G4double Zhard(const G4double s)   {return 2*pomeron_C*PowerHard(s)/LambdaHard(s);}
91 
92  void InitForNucleon();
93  void InitForPion();
94  void InitForKaon();
95  void InitForGamma();
96       
97  G4double Expand(G4double z);
98  G4double Z(const G4double Scms)    {return 2*pomeron_C*Power(s)/Lambda(Scms);}
99  G4double SigP(const G4double Scms) {return 8*pi*hbarc_squared*Power(Scms);}
100  G4double Power(const G4double Scms)
101                        {return pomeron_Gamma*std::pow(Scms/pomeron_S,pomeron_Alpha-1);}
102  G4double Lambda(const G4double s)
103                         {return pomeron_Rsquare+pomeron_Alphaprime*std::log(s/pomeron_S);}
104  G4double Eikonal(const G4double s, const G4double imp2)
105                               {return std::exp(-imp2/(4*Lambda(s)*hbarc_squared))*Z(s)/2;}
106  // Body
107  G4double pomeron_S;
108  G4double pomeron_Gamma;
109  G4double pomeron_C;
110  G4double pomeron_Rsquare;
111  G4double pomeron_Alpha;
112  G4double pomeron_Alphaprime;
113  G4double pomeron_Gamma_Hard;
114  G4double pomeron_Alpha_Hard;
115};
116#endif
Note: See TracBrowser for help on using the repository browser.