00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // GEANT4 tag $Name: not supported by cvs2svn $ 00028 // 00029 // 00030 // GEANT4 physics class: G4QDiffractionRatio -- header file 00031 // M.V. Kossov, ITEP(Moscow), 24-OCT-01 00032 // The last update: M.V. Kossov, CERN/ITEP (Moscow) 10-Nov-2009 00033 // 00034 // -------------------------------------------------------------------- 00035 // Short description: Difraction excitation is a part of the incoherent 00036 // (inelastic) interaction. This part is calculated in the class. 00037 // -------------------------------------------------------------------- 00038 00039 #ifndef G4QDiffractionRatio_h 00040 #define G4QDiffractionRatio_h 1 00041 00042 #include "globals.hh" 00043 #include "G4ios.hh" 00044 #include "Randomize.hh" 00045 #include <vector> 00046 #include "G4QPDGCode.hh" 00047 #include "G4QEnvironment.hh" 00048 #include "G4Quasmon.hh" 00049 #include "G4QHadronVector.hh" 00050 #include "G4RandomDirection.hh" 00051 00052 00053 class G4QDiffractionRatio 00054 { 00055 protected: 00056 00057 G4QDiffractionRatio() {} // Constructor 00058 00059 public: 00060 00061 ~G4QDiffractionRatio() {} // Destructor 00062 00063 static G4QDiffractionRatio* GetPointer(); // Gives a pointer to this singletone 00064 00065 // Diffraction/Prodaction Ratio (Production=Inelastic-QuasiElastic) 00066 G4double GetRatio(G4double pIU, G4int prPDG, G4int tgZ, G4int tgN); 00067 00068 // ==> The following will be a protected function for internal CHIPS usage 00069 // ProjFragment(pPDG,p4M) on a nucleus (tgZ, tgN), result: Vector of secondary hadrons 00070 // Whoever uses this member function is responsible for DEL/DESTROY of G4QHadronVector 00071 G4QHadronVector* ProjFragment(G4int pPDG, G4LorentzVector p4M, G4int tgZ, G4int tgN); 00072 00073 // ==> The following will be a protected function for internal CHIPS usage 00074 // TargFragment(pPDG,p4M) on a nucleus (tgZ, tgN), result: Vector of secondary hadrons 00075 // Whoever uses this member function is responsible for DEL/DESTROY of G4QHadronVector 00076 G4QHadronVector* TargFragment(G4int pPDG, G4LorentzVector p4M, G4int tgZ, G4int tgN); 00077 00078 // Single Diffraction Target Excitation Cross-Section (independent Units) 00079 G4double GetTargSingDiffXS(G4double pIU, G4int prPDG, G4int tgZ, G4int tgN); 00080 00081 private: 00082 // These working member functions are in CHIPS units and must not be used externally 00083 G4double CalcDiff2Prod_Ratio(G4double s, G4int A); // R=Diff/Prod (sqrt(s)(hN) in GeV, A) 00084 00085 // Body 00086 private: 00087 }; 00088 #endif