- Timestamp:
- May 28, 2009, 4:26:57 PM (15 years ago)
- Location:
- trunk/source/processes/hadronic/models/parton_string/qgsm/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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.