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 #ifndef G4QGSModel_h 00027 #define G4QGSModel_h 1 00028 00029 // Class Description 00030 // Model for hadron (p,n,pi,K) nuclear reactions in geant4. IT implements 00031 // A. Kaydalov's quark gluon string model. 00032 // To be used in your physics list, in case you need this kind of physics. 00033 // Class Description - End 00034 00035 #include <cmath> 00036 #include <CLHEP/Units/SystemOfUnits.h> 00037 00038 #include "G4ExcitedStringVector.hh" 00039 #include "G4KineticTrackVector.hh" 00040 #include "G4PomeronCrossSection.hh" 00041 #include "G4ParticleTable.hh" 00042 #include "G4Fancy3DNucleus.hh" 00043 #include "G4VPartonStringModel.hh" 00044 #include "G4QGSParticipants.hh" 00045 #include "G4DiffractiveStringBuilder.hh" 00046 #include "G4SoftStringBuilder.hh" 00047 #include "G4PartonPair.hh" 00048 00049 //*********************************************************************************************** 00050 00051 00052 //***************************************************************************************** 00053 00054 template<class ParticipantType> 00055 class G4QGSModel : public G4VPartonStringModel 00056 { 00057 // Constructors 00058 public: 00059 G4QGSModel(); 00060 virtual ~G4QGSModel(); 00061 G4QGSModel(const G4QGSModel &right); 00062 G4QGSModel& operator=(const G4QGSModel &right); 00063 00064 // Method 00065 public: 00066 virtual G4V3DNucleus* GetWoundedNucleus() const; 00067 virtual void Init(const G4Nucleus& Nucleus, const G4DynamicParticle& Projectile); 00068 virtual G4ExcitedStringVector * GetStrings(); 00069 virtual void ModelDescription(std::ostream& outFile) const; 00070 00071 private: 00072 ParticipantType theParticipants; 00073 G4DiffractiveStringBuilder theDiffractiveStringBuilder; 00074 G4SoftStringBuilder theSoftStringBuilder; 00075 00076 private: 00077 // cash theCurrentVelocity for lorentztrafo HPW 00078 G4ThreeVector theCurrentVelocity; 00079 00080 }; 00081 00082 //------------------------------------------------------------------------------------------- 00083 00084 00085 //***************************************************************************************** 00086 00087 #include "G4QGSModel.icc" 00088 00089 #endif 00090 00091