$Id: History 100828 2016-11-02 15:25:59Z gcosmo $
-------------------------------------------------------------------

       ==========================================================
       Geant4 - an Object-Oriented Toolkit for Physics Simulation
       ==========================================================

      History file for hadronic/models/parton_string/qgsm directory
      -------------------------------------------------------------

This file should be used to summarize modifications introduced in the 
code and to keep track of all tags.

     ---------------------------------------------------------------
     * Please list in reverse chronological order (last date on top)
     ---------------------------------------------------------------

26 October 2015 Alberto Ribon            (hadr-qgsm-V10-01-16)
   After bringing the QGS string formation as it was in G4 10.1 (and before)
   in the previous tag, check of 'while' loops and deploy the
   fast math functions (G4Exp, G4Log and G4Pow).

23 October 2015 Alberto Ribon            (hadr-qgsm-V10-01-15)
   Reversed (temporarily, just for the coming release G4 10.2) the
   improvements made after 10.1.ref05, in such a way to leave the
   QGS string formation as it was in G4 10.1 (and before).
   The files that are changed are: G4QGSDiffractiveExcitation.hh,
   G4QGSMSplitableHadron.hh, G4QGSModel.icc, G4QGSParticipants.hh,
   G4QGSMSplitableHadron.cc, G4GammaParticipants.cc, G4QGSParticipants.cc,
   G4SingleDiffractiveExcitation.cc, G4QGSDiffractiveExcitation.cc and
   G4SPBaryon.cc .
   After the release G4 10.2, the tag hadr-qgsm-V10-01-14 will be resumed.

13 August 2015 Alberto Ribon             (hadr-qgsm-V10-01-14)
   G4GammaParticipants, G4QGSParticipants : Coverity fixes.

07 August 2015 Alberto Ribon             (hadr-qgsm-V10-01-13)
   G4QGSModel, G4QGSMSplitableHadron, G4GammaParticipants, G4QGSParticipants,
   G4SingleDiffractiveExcitation and G4QGSDiffractiveExcitation :
   checking of 'while' loops.

05 August 2015 Alberto Ribon             (hadr-qgsm-V10-01-12)
   G4ASCCrossSection, G4QGSMSplitableHadron, G4QGSParticipants, 
   G4SingleDiffractiveExcitation and G4QGSDiffractiveExcitation:
   replaced std::exp, std::log and std::pow with the faster
   G4Exp, G4Log and G4Pow, respectively.
   This changes the random number sequence.

12 June 2015 Alberto Ribon               (hadr-qgsm-V10-01-11)
   G4QGSParticipants: fixed a memory leak.

10 June 2015 Alberto Ribon               (hadr-qgsm-V10-01-10)
   G4QGSParticipants: commented one forgotten debugging print out statement.

 4 June 2015 V. Uzhinsky                 (hadr-qgsm-V10-01-09)
   G4QGSMSplitableHadron - iterator deque used as data member is
   replaced by "unsigned int" data member. I hope it avoid segmentation
   fault.

28 May 2015 Alberto Ribon                (hadr-qgsm-V10-01-08)
   G4QGSParticipants : improved the kinematics treatment in the method
   SamplingNucleonKinematics.

27 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-07)
   A bug lead to Segmentation fault is erased. It was connected with G4Nucleus -> GetNextNucleon()
   used at gamma projectile which gave pointer outside nucleon vector.
   After that wrong counting of see parton pairs was obtained, and at iteration of the partons
   GetNextParton went out of the parton vector.
   The changes are:
   G4VSplitableHadron* G4GammaParticipants::SelectInteractions

   theNucleus->StartLoop();
   G4Nucleon * pNucleon =0; // theNucleus->GetNextNucleon();   // Uzhi 27.05.2015

   while( (pNucleon = theNucleus->GetNextNucleon()) ) 
   ....

22 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-06)
   A bug is fixed for gamma projectile. In G4QGSParticipants::BuildInteractions
   for gamma instead of GetList SelectInteractions(theProjectile) is called.

21 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-05)
   Class G4GammaParticipants is adjusted to new QGSM.

20 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-04)
   A bug is fixed in G4QGSParticipants for gamma projectile.

19 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-03)
   To avoid double deletion erasing of TheInvolvedNucleonsOfTarget and 
   TheInvolvedNucleonsOfProjectile was closed in G4QGSParticipants::~G4QGSParticipants(). 

15 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-02)
   A bug was erased in G4SPBaryon.cc: setting of Delta0 isobar splitting
   into quark and diquark was wring.

   Energy-momentum conservation was improved, especially in the case when
   diffraction interactions happend.

12 May 2015 Vladimir Uzhinsky            (hadr-qgsm-V10-01-01)
   Bug is erased with double delition of splitable hadrons.

30 April 2015 Vladimir Uzhinsky           (hadr-qgsm-V10-01-00)
-  Essential improvement of QGSM:
     Reggeon cascading was implemented.
     "Fermi motion" connected with the reggeon cascading was implemented.
     New algorithm of parton kinematical properties determination was implemented.
     Calculation of residual nucleus properties was implemented.
   Most of the changes were made in G4QGSParticipants.cc

02 May 2013 Alberto Ribon       (hadr-qgsm-V09-06-00)
--------------------------------------------------
-  For thread safety, replaced CLHEP::RandFlat with G4RandFlat in
   G4QGSMSplitableHadron.cc.

20 November 2012 V. Uzhinsky    (hadr-qgsm-V09-05-04)
--------------------------------------------------
-  An interface for a manipulation with nucleus-nucleus interactions was
   introduced, especially for treating remnants of projectile nuclei.

27 September 2012, Gabriele Cosmo
--------------------------------------------------
- Explicitly use inclusion of headers for system of units and physical
  constants, in plan to remove implicit inclusion from globals.hh.

17 June 2012, Gunter Folger     (hadr-qgsm-V09-05-03)
--------------------------------------------------
- Fixes for coverity in G4QGSModel concerning copy ctor and operator = .

12 June 2012, Gunter Folger     (hadr-qgsm-V09-05-02)
--------------------------------------------------
- Correct shadowing warnings

31 May 2012, Gunter Folger      (hadr-qgsm-V09-05-01)
--------------------------------------------------
- Improve indentation;
- make copy ctor, =, ==, != operators private without implementation

25 May 2012, Gunter Folger      (hadr-qgsm-V09-05-00)
--------------------------------------------------
-  Add ModelDescription() to QGS

5 Aug 2011, M. Kelsey		(hadr-qgsm-V09-04-04)
-----------------------------------------------------
- G4GammaParticipants.cc:  Follow change in return value of
   G4V3DNucleus::GetNucleons(), use const_cast<> to allow setting Hit().
- G4QGSParticipants.hh:  Add G4V3DNucleus.hh (should move implementations to
   .cc file).

  Requires consistent changes in other packages:
  	hadr-modman-V09-04-01
  	hadr-mod-util-V09-04-02
	had-partonstring-mgt-V09-04-01
  	hadr-qgsm-V09-04-04
  	had-theo-HE-V09-04-01

14 Jul 2011, G.Folger		(hadr-qgsm-V09-04-03)
-----------------------------------------------------
- Fix coverity warnings in G4QGSParticipants.cc and G4SPBaryon.cc
    (none was a real problem)

01 Jun 2011, G.Folger		(hadr-qgsm-V09-04-02)
-----------------------------------------------------
- G4QGSParticipants: reduce energy of participant nucleons by binding energy.
   This increases excitation energy, as calculated by initial-final. Without
   this, excitation E often is close to 0, or negative.
   
01 Jun 2011, G.Folger		(hadr-qgsm-V09-04-01)
-----------------------------------------------------
-  Fix compilation warnings, gcc4.6, on alost unused variables. Move 
    "debug" variables into #ifdef
     
17 Mar 2011, G.Folger		(hadr-qgsm-V09-04-00)
-----------------------------------------------------
-  set limits for E/p checking

8 Sep 2010, G.Folger		(hadr-qgsm-V09-03-01)
-----------------------------------------------------
- G4QGSModel.icc: use integer (A,Z) interface of nucleus 

12-Mar-2010, G.Folger		(hadr-qgsm-V09-03-00)
-  remove G4PartonStringAnnihilator.{hh,cc} not used anywhere

19 May 2009, G.Folger		(hadr-qgsm-V09-02-02)
-----------------------------------------------------
- fix in G4SPBaryon: for antibaryon, a  diquark & quark was given instead of 
      anti-diquark & antiquark; note the reverse order, too. 
    Fixes problems with incident anti baryons, e.g. antiproton, manifesting
    in problems with forming hadrons.

29 Apr 2009 m. Kosov       (hadr-qgsm-V09-02-01)
------------------------------------------------
Very important bug fix in G4QGSParticipants.cc to let QGSC working from E=0
Added by GF (19-May-09):
- this very important "bug" fix modifies G4G4QGSParticipants.cc and
   G4GammaParticipants.cc:
     changing the value of Threshold from 0.45 GeV to 0.GeV, 
     and disables an Exception if s < sqr(total mass + Threshold)

15 Sep 2008 G.Folger       (hadr-qgsm-V09-01-01)
------------------------------------------------
- Fix for bug found on windows in G4QGSParticipants.cc, bug 1018:
   decrement of iterator fails, improve logic to not decrement.

31 Mar 2008 Dennis Wright (hadr-qgsm-V09-01-00)
-----------------------------------------------
-  fix gcc-4.3 compiler warnings at lines 293, 395 of G4QGSMSplittableHadron.cc

24 Apr 2007 Gunter Folger  (hadr-qgsm-V08-02-02)
------------------------------------------------
-  merge in change done by ftf dev; ie. in G4QGSParticipants, theDiffExcitaton
   is constructed with default arguments.

25 Jan 2007 Gunter Folger  (hadr-qgsm-V08-02-01)
------------------------------------------------
- G4SoftStringBuilder.cc: Correct typo in #ifdef

24 Jan 2007 Gunter Folger  (hadr-qgsm-V08-02-00)
------------------------------------------------
-  Correct E-p non-conservation in QGS. In 4QGSMSplitableHadron.cc the smaller
   of the lightcone momenta Q+/Q- was ignored.
-  G4QGSMSplitableHadron correct divide by 0 in SampleX()
-  Add debugging output to several classes

30 Nov 2005 Gabriele Cosmo (hadr-qgsm-V07-01-00)
-----------------------------------------------
- Trivial fix in G4QGSParticipants and for support of CLHEP-2.0.X series.
- Created History file.
