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 #include "G4DiffractiveHHScatterer.hh" 00027 #include "G4DiffractiveExcitation.hh" 00028 #include "G4ExcitedString.hh" 00029 #include "G4LundStringFragmentation.hh" 00030 #include "G4KineticTrack.hh" 00031 #include "G4DiffractiveSplitableHadron.hh" 00032 #include "G4FTFParameters.hh" // Uzhi 21.04.08 00033 00034 G4DiffractiveHHScatterer::G4DiffractiveHHScatterer() 00035 : 00036 theExcitation(new G4DiffractiveExcitation()), 00037 theStringFragmentation(new G4LundStringFragmentation()) 00038 {} 00039 00040 G4DiffractiveHHScatterer::~G4DiffractiveHHScatterer() 00041 {} 00042 00043 void G4DiffractiveHHScatterer::CreateStrings() 00044 /* 00045 G4VSplitableHadron * aHadron, 00046 G4bool isProjectile, 00047 G4ExcitedString * FirstString, 00048 G4ExcitedString * SecondString, 00049 G4FTFParameters *theParameters) 00050 */ 00051 const 00052 00053 {} 00054 00055 /* ------------------------------------------------------------------- 00056 G4KineticTrackVector * G4DiffractiveHHScatterer:: 00057 Scatter(const G4KineticTrack & aTrack, const G4KineticTrack & bTrack) 00058 { 00059 G4KineticTrackVector * result = new G4KineticTrackVector(); 00060 00061 G4DiffractiveSplitableHadron aHadron(& aTrack); 00062 G4DiffractiveSplitableHadron bHadron(& bTrack); 00063 theParameters = new G4FTFParameters(aHadron.GetDefinition(), // -------- Uzhi 21.04.08 00064 1.,1., 100.); 00065 //s);// ------------------------- Uzhi 21.04.08 00066 if ( ! theExcitation->ExciteParticipants(& aHadron, 00067 & bHadron, 00068 theParameters)) // -------- Uzhi 21.04.08 00069 { 00070 return NULL; 00071 } 00072 00073 G4ExcitedString * string; 00074 G4KineticTrackVector * fragments=NULL; 00075 00076 string = theExcitation->String(& aHadron, true); // Projectile 00077 fragments=theStringFragmentation->FragmentString(*string); 00078 for (unsigned int aFragment=0; aFragment < fragments->size(); aFragment++) 00079 { 00080 result->push_back(fragments->operator[](aFragment)); 00081 } 00082 00083 string = theExcitation->String(& bHadron, false); // Target 00084 fragments=theStringFragmentation->FragmentString(*string); 00085 for (unsigned int bFragment=0; bFragment < fragments->size(); bFragment++) 00086 { 00087 result->push_back(fragments->operator[](bFragment)); 00088 } 00089 00090 00091 return result; 00092 } 00093 */