Geant4 Cross Reference |
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 G4Reggeons_h 27 #define G4Reggeons_h 1 28 // 29 // 30 #include "G4Proton.hh" 31 #include "G4Neutron.hh" 32 33 #include "G4PionPlus.hh" 34 #include "G4PionMinus.hh" 35 #include "G4PionZero.hh" 36 37 #include "G4KaonPlus.hh" 38 #include "G4KaonMinus.hh" 39 #include "G4KaonZero.hh" 40 #include "G4KaonZeroShort.hh" 41 #include "G4KaonZeroLong.hh" 42 #include "G4Gamma.hh" 43 44 #include "Randomize.hh" 45 46 class G4Reggeons 47 { 48 public: 49 G4Reggeons(const G4ParticleDefinition * ); 50 51 G4double Get_Cprojectile(); 52 53 G4double Get_Ctarget(); 54 55 ~G4Reggeons(); 56 57 void SetS(G4double S); 58 void CalculateXs(); 59 60 G4double Chi_pomeron(G4double Mult, G4double B); 61 G4double Chi_reggeon(G4double Mult, G4double B); 62 63 G4double GetTotalX(); 64 G4double GetTotalXp(); 65 G4double GetTotalXr(); 66 67 G4double GetElasticX(); 68 G4double GetPrDiffX(); 69 G4double GetTrDiffX(); 70 G4double GetDDiffX(); 71 72 G4double GetInelX(); 73 G4double GetND_X(); 74 G4double GetNDp_X(); 75 G4double GetNDr_X(); 76 77 void GetProbabilities(G4double B, G4int Mode, 78 G4double & Pint, 79 G4double & Pprd, G4double & Ptrd, G4double & Pdd, 80 G4double & Pnd, G4double & Pnvr); 81 82 G4int ncPomerons(); 83 84 private: 85 enum { ALL, WITHOUT_R, NON_DIFF }; 86 87 G4ParticleDefinition * Target=G4Proton::Proton(); 88 89 G4double Alpha_pomeron, Alphaprime_pomeron, Gamma_pomeron, Rsquare_pomeron, S0_pomeron; 90 G4double Alpha_pomeronHard, Gamma_pomeronHard; 91 92 G4double Freggeon_Alpha, Freggeon_Alphaprime, Freggeon_Gamma, Freggeon_Rsquare, Freggeon_C, FParity; 93 G4double Wreggeon_Alpha, Wreggeon_Alphaprime, Wreggeon_Gamma, Wreggeon_Rsquare, Wreggeon_C, WParity; 94 95 G4double C_pomeron; // = pomeron_Cpr * pomeron_Ctr 96 G4double Cpr_pomeron; // shower enhancement in projectile vertex 97 G4double Ctr_pomeron; // shower enhancement in target vertex 98 99 G4double Sint=0.; 100 101 G4double chiPin; // Pomeron inelastic phase needed for NcutPomeron 102 // calculations. 103 G4double Xtotal , XtotalP, XtotalR; 104 G4double Xelastic, Xpr_Diff, Xtr_Diff, XDDiff; 105 G4double Xinel , Xnd, XndP, XndR; 106 }; 107 108 #endif 109