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 // $Id$ 00028 00029 #ifndef G4SingleDiffractiveExcitation_h 00030 #define G4SingleDiffractiveExcitation_h 1 00031 // ------------------------------------------------------------ 00032 // GEANT 4 class header file 00033 // 00034 // ---------------- G4SingleDiffractiveExcitation -------------- 00035 // by Gunter Folger, October 1998. 00036 // diffractive Excitation used by strings models 00037 // Take a projectile and a target 00038 // excite the projectile and target 00039 // ------------------------------------------------------------ 00040 00041 #include <CLHEP/Units/SystemOfUnits.h> 00042 00043 #include "globals.hh" 00044 #include "G4ThreeVector.hh" 00045 #include "G4QGSDiffractiveExcitation.hh" 00046 00047 class G4VSplitableHadron; 00048 class G4ExcitedString; 00049 00050 class G4SingleDiffractiveExcitation : public G4QGSDiffractiveExcitation 00051 { 00052 00053 public: 00054 00055 G4SingleDiffractiveExcitation(G4double sigmaPt=0.6*CLHEP::GeV, 00056 G4double minExtraMass=250*CLHEP::MeV, 00057 G4double x0mass=250*CLHEP::MeV); 00058 ~G4SingleDiffractiveExcitation(); 00059 00060 G4bool ExciteParticipants (G4VSplitableHadron *aPartner, G4VSplitableHadron * bPartner) const; 00061 00062 // void SetPtWidth(G4double aValue) { widthOfPtSquare = aValue*aValue; } 00063 // void SetExtraMass(G4double aValue) { minExtraMass = aValue; } 00064 // void SetMinimumMass(G4double aValue) { minmass = aValue; } 00065 00066 00067 private: 00068 00069 G4SingleDiffractiveExcitation(const G4SingleDiffractiveExcitation &right); 00070 00071 G4double ChooseX(G4double Xmin, G4double Xmax) const; 00072 G4ThreeVector GaussianPt(G4double widthSquare, G4double maxPtSquare) const; 00073 00074 const G4SingleDiffractiveExcitation & operator=(const G4SingleDiffractiveExcitation &right); 00075 int operator==(const G4SingleDiffractiveExcitation &right) const; 00076 int operator!=(const G4SingleDiffractiveExcitation &right) const; 00077 00078 private: 00079 // Model Parameters: 00080 const G4double widthOfPtSquare; // width^2 of pt for string excitation 00081 const G4double minExtraMass; // minimum excitation mass 00082 const G4double minmass; // mean pion transverse mass; used for Xmin 00083 }; 00084 00085 #endif