- Timestamp:
- May 28, 2009, 4:26:57 PM (15 years ago)
- Location:
- trunk/source/processes/hadronic/models/parton_string/qgsm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/parton_string/qgsm/History
r962 r1055 1 $Id: History,v 1. 6 2008/09/19 09:54:23gunter Exp $1 $Id: History,v 1.8 2009/05/19 12:48:42 gunter Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 16 16 --------------------------------------------------------------- 17 17 18 19 May 2009, G.Folger (hadr-qgsm-V09-02-02) 19 ----------------------------------------------------- 20 - fix in G4SPBaryon: for antibaryon, a diquark & quark was given instead of 21 anti-diquark & antiquark; note the reverse order, too. 22 Fixes problems with incident anti baryons, e.g. antiproton, manifesting 23 in problems with forming hadrons. 24 25 29 Apr 2009 m. Kosov (hadr-qgsm-V09-02-01) 26 ------------------------------------------------ 27 Very important bug fix in G4QGSParticipants.cc to let QGSC working from E=0 28 Added by GF (19-May-09): 29 - this very important "bug" fix modifies G4G4QGSParticipants.cc and 30 G4GammaParticipants.cc: 31 changing the value of Threshold from 0.45 GeV to 0.GeV, 32 and disables an Exception if s < sqr(total mass + Threshold) 18 33 19 34 15 Sep 2008 G.Folger (hadr-qgsm-V09-01-01) -
trunk/source/processes/hadronic/models/parton_string/qgsm/include/G4QGSParticipants.hh
r819 r1055 83 83 enum { SOFT, DIFFRACTIVE }; 84 84 const G4int nCutMax; 85 const G4double Th ersholdParameter;86 const G4double QGSMTh ershold;85 const G4double ThresholdParameter; 86 const G4double QGSMThreshold; 87 87 const G4double theNucleonRadius; 88 88 -
trunk/source/processes/hadronic/models/parton_string/qgsm/src/G4GammaParticipants.cc
r819 r1055 50 50 G4double ThresholdMass = thePrimary.GetMass() + theTargetNuc[0]->GetDefinition()->GetPDGMass(); 51 51 ModelMode = SOFT; 52 if (sqr(ThresholdMass + Th ersholdParameter) > s)52 if (sqr(ThresholdMass + ThresholdParameter) > s) 53 53 { 54 throw G4HadronicException(__FILE__, __LINE__, "Initial energy is too low. The 4-vectors of the input are inconsistant with the particle masses."); 54 ModelMode = DIFFRACTIVE; 55 //throw G4HadronicException(__FILE__, __LINE__, "Initial energy is too low. The 4-vectors of the input are inconsistant with the particle masses."); 55 56 } 56 if (sqr(ThresholdMass + QGSMTh ershold) > s) // thus only diffractive in cascade!57 if (sqr(ThresholdMass + QGSMThreshold) > s) // thus only diffractive in cascade! 57 58 { 58 59 ModelMode = DIFFRACTIVE; -
trunk/source/processes/hadronic/models/parton_string/qgsm/src/G4QGSParticipants.cc
r962 r1055 36 36 37 37 G4QGSParticipants::G4QGSParticipants() : theDiffExcitaton(), //0.7*GeV, 250*MeV, 250*MeV), 38 nCutMax(7),ThersholdParameter(0.45*GeV), 39 QGSMThershold(3*GeV),theNucleonRadius(1.5*fermi) 38 //nCutMax(7),ThresholdParameter(0.45*GeV), 39 nCutMax(7),ThresholdParameter(0.000*GeV), 40 QGSMThreshold(3*GeV),theNucleonRadius(1.5*fermi) 40 41 41 42 { … … 43 44 44 45 G4QGSParticipants::G4QGSParticipants(const G4QGSParticipants &right) 45 : G4VParticipants(), nCutMax(right.nCutMax),Th ersholdParameter(right.ThersholdParameter),46 QGSMTh ershold(right.QGSMThershold),theNucleonRadius(right.theNucleonRadius)46 : G4VParticipants(), nCutMax(right.nCutMax),ThresholdParameter(right.ThresholdParameter), 47 QGSMThreshold(right.QGSMThreshold),theNucleonRadius(right.theNucleonRadius) 47 48 { 48 49 } … … 91 92 G4double ThresholdMass = thePrimary.GetMass() + pNucleon->GetDefinition()->GetPDGMass(); 92 93 ModelMode = SOFT; 93 if (sqr(ThresholdMass + ThersholdParameter) > s) 94 { 95 throw G4HadronicException(__FILE__, __LINE__, "Initial energy is too low. The 4-vectors of the input are inconsistant with the particle masses."); 96 } 97 if (sqr(ThresholdMass + QGSMThershold) > s) // thus only diffractive in cascade! 94 if (sqr(ThresholdMass + ThresholdParameter) > s) 95 { 96 ModelMode = DIFFRACTIVE; 97 //throw G4HadronicException(__FILE__, __LINE__, "Initial energy is too low. The 4-vectors of the input are inconsistant with the particle masses."); 98 } 99 if (sqr(ThresholdMass + QGSMThreshold) > s) // thus only diffractive in cascade! 98 100 { 99 101 ModelMode = DIFFRACTIVE; -
trunk/source/processes/hadronic/models/parton_string/qgsm/src/G4SPBaryon.cc
r819 r1055 104 104 if (theDefinition->GetPDGEncoding() < 0) 105 105 { 106 quark = -(*i)->GetDiQuark();107 diQuark = -(*i)->GetQuark();106 quark = (*i)->GetDiQuark(); 107 diQuark = (*i)->GetQuark(); 108 108 } 109 109 else
Note: See TracChangeset
for help on using the changeset viewer.