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
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:23 gunter Exp $
     1$Id: History,v 1.8 2009/05/19 12:48:42 gunter Exp $
    22-------------------------------------------------------------------
    33
     
    1616     ---------------------------------------------------------------
    1717
     1819 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
     2529 Apr 2009 m. Kosov       (hadr-qgsm-V09-02-01)
     26------------------------------------------------
     27Very important bug fix in G4QGSParticipants.cc to let QGSC working from E=0
     28Added 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)
    1833
    193415 Sep 2008 G.Folger       (hadr-qgsm-V09-01-01)
  • trunk/source/processes/hadronic/models/parton_string/qgsm/include/G4QGSParticipants.hh

    r819 r1055  
    8383    enum  { SOFT, DIFFRACTIVE };
    8484    const G4int nCutMax;
    85     const G4double ThersholdParameter;
    86     const G4double QGSMThershold;
     85    const G4double ThresholdParameter;
     86    const G4double QGSMThreshold;
    8787    const G4double theNucleonRadius;
    8888   
  • 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.