Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

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  
    5050  G4double ThresholdMass = thePrimary.GetMass() + theTargetNuc[0]->GetDefinition()->GetPDGMass();
    5151  ModelMode = SOFT;
    52   if (sqr(ThresholdMass + ThersholdParameter) > s)
     52  if (sqr(ThresholdMass + ThresholdParameter) > s)
    5353  {
    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.");
    5556  }
    56   if (sqr(ThresholdMass + QGSMThershold) > s) // thus only diffractive in cascade!
     57  if (sqr(ThresholdMass + QGSMThreshold) > s) // thus only diffractive in cascade!
    5758  {
    5859    ModelMode = DIFFRACTIVE;
  • trunk/source/processes/hadronic/models/parton_string/qgsm/src/G4QGSParticipants.cc

    r962 r1055  
    3636
    3737G4QGSParticipants::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)
    4041                                         
    4142{
     
    4344
    4445G4QGSParticipants::G4QGSParticipants(const G4QGSParticipants &right)
    45 : G4VParticipants(), nCutMax(right.nCutMax),ThersholdParameter(right.ThersholdParameter),
    46   QGSMThershold(right.QGSMThershold),theNucleonRadius(right.theNucleonRadius)
     46: G4VParticipants(), nCutMax(right.nCutMax),ThresholdParameter(right.ThresholdParameter),
     47  QGSMThreshold(right.QGSMThreshold),theNucleonRadius(right.theNucleonRadius)
    4748{
    4849}
     
    9192  G4double ThresholdMass = thePrimary.GetMass() + pNucleon->GetDefinition()->GetPDGMass();
    9293  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!
    98100  {
    99101    ModelMode = DIFFRACTIVE;
  • trunk/source/processes/hadronic/models/parton_string/qgsm/src/G4SPBaryon.cc

    r819 r1055  
    104104      if (theDefinition->GetPDGEncoding() < 0)
    105105      {
    106         quark = -(*i)->GetDiQuark();
    107         diQuark = -(*i)->GetQuark();                   
     106        quark = (*i)->GetDiQuark();
     107        diQuark = (*i)->GetQuark();                   
    108108      }
    109109      else
Note: See TracChangeset for help on using the changeset viewer.