$Id: History 81295 2014-05-26 09:36:06Z gcosmo $
-------------------------------------------------------------------

     =========================================================
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
     =========================================================

                      Category History file
                      ---------------------
This file should be used by G4 developers and category coordinators
to briefly summarize all major modifications introduced in the code
and keep track of all category-tags.
It DOES NOT substitute the  CVS log-message one should put at every
committal in the CVS repository !

     ----------------------------------------------------------
     * Reverse chronological order (last date on top), please *
     ----------------------------------------------------------
May. 25th, 2014  - H.Kurashige (procuts-V10-00-02)
- Fix Coverity defects in G4VRangeToEnergyConverter

Apr. 27th, 2014  - H.Kurashige (procuts-V10-00-01)
- Fix Coverity defects in G4VRangeToEnergyConverter

Jan. 23rd, 2014  - H.Kurashige (procuts-V10-00-00)
- Fix compiler warning in G4ProcessCutsTable.cc

Nov. 21st, 2013  - H.Kurashige (procuts-V09-06-09)
- Fix Coverity defects in G4VRangeToEnergyConverter destructor

Nov. 21st, 2013  - H.Kurashige (procuts-V09-06-08)
- Fix Coverity defects in G4VRangeToEnergyConverter CTOR 

July 21st, 2013  - H.Kurashige (procuts-V09-06-07)
- Fix the bug in G4ProductionCuts copy constructor

June 21st, 2013  - M.Asai (procuts-V09-06-06)
- G4ProductionCutstable: print out energy thresholds regardless of
  G4MaterialCutsCouple::IsReCalcNeeded(). 

June 16th, 2013  - M.Asai (procuts-V09-06-05)
- G4VRangeToEnergyConverter: stop calling Reset() from its destructor.

June 5th, 2013   - V.Ivanchenko (procuts-V09-06-04)
  G4VRangeToEnergyConverter: members LowestEnergy, HighestEnergy,
    MaxEnergyCut become static and not G4ThreadLocal - this
    is needed to fix FPE crash in MT mode; fixed all loops for
    G4PhysicsLogVector - upper index is nbins+1

June 4th, 2013   - H.Kurashige (procuts-V09-06-03)
- Modify G4RToEConvForXXX to remove unnecessary static declaration
  (Some static variables are moved to simple member of the class)
  
May. 30th, 2013   - G.Cosmo (procuts-V09-06-02)
- Added protection to initialisation of static data in
  G4VRangeToEnergyConverter constructor.
  NOTE: static data in G4VRangeToEnergyConverter should eventually NOT be
        thread-local, as related modifiers should be called -only- at
        initialisation phase (by physics-lists). This needs to be verified
        so that thread-local specifications can be safely removed!
        Is it also -bad- practice to have a -base- class like
        G4VRangeToEnergyConverter containing static data that can be modified
        through static methods, as these can be modified before the actual
        constructor is called (as it is not a singleton)!!  Needs to review
        this as well!

May. 29th, 2013   - G.Cosmo (procuts-V09-06-01, procuts-V09-06-00)
- Cleanup from automatic MT changes in G4VRangeToEnergyConverter,
  G4ProductionCuts and G4RToEConvForElectron.

Jul. 5th, 2012   - G.Cosmo (procuts-V09-05-04)
- Explicitly use inclusion of headers for system of units and physical
  constants, in plan to remove implicit inclusion from globals.hh.

Jun. 20th, 2012  - G.Cosmo (procuts-V09-05-03)
- Fixed compilation warning in G4VRangeToEnergyConverter when
  G4_NO_VERBOSE is set.

Jun. 7th, 2012   - G.Cosmo (procuts-V09-05-02)
- Fixed spurious cases of hidden variable visibility, detected with
  '-Wshadow' compilation option on gcc compiler.

Apr. 27th, 2012  - H.Kurashige (procuts-V09-05-01)
- Fix a bug in G4ProductionCutsTable::RetrieveCutsInfo 
  (TAINED_SCALAR by Coverity)

Aug. 10th, 2011  -  M.Asai (procuts-V09-04-05)
- Introducing parallel layered mass geometry.
  Material-cuts-couple is now updated for all worlds.
  Modified: G4ProductionCutsTable.cc

Aug.  3rd, 2011  -  H.Kurashige (procuts-V09-04-04)
- Fix erros reported by Coverity
 G4VRangeToEnergyConverter.cc G4ProductionCutsTable.cc

May  13rd, 2011  -  H.Kurashige (procuts-V09-04-03)
- Fix compiler warnings in G4RToEConvForGamma.cc

May   3rd, 2011  -  H.Kurashige (procuts-V09-04-01,-02)
- Fix erros reported by Coverity

Jan. 26th, 2011  -  H.Kurashige (procuts-V09-04-00)
- Add protection in G4ProductionCuts::SetProductionCuts
  to check consistencies of size of given vector
- Define error codes for G4Exceptions

Oct.  7th, 2010  -  H.Kurashige (procuts-V09-03-01)
- Fixed a possible memory leak soource 
 
Jan. 22th, 2010  -  H.Kurashige (procuts-V09-03-00) 
- Fixed G4ProductionCutTable to solve problems with zero range for protons 

Nov. 12th, 2009  -  H.Kurashige (procuts-V09-02-08) 
- Correfct spelling of /cuts/setMaxCutEnergy command 

Nov. 11th, 2009  -  H.Kurashige (procuts-V09-02-07) 
- Add /cuts/setMaxCutEnregy command 

Sep. 14th, 2009  -  H.Kurashige (procuts-V09-02-06) 
- Add  G4ProductionCutTable::ResetConverters()
   to clear loss tables and range vectors

Sep. 12th, 2009  -  H.Kurashige (procuts-V09-02-05) 
- Modify G4VRangeToEnergyConverter::ConvertCutToKineticEnergy
   to improve performance

Sep. 11th, 2009  -  H.Kurashige (procuts-V09-02-04) 
- Modify BuildRangeVector where integration is perfomed in this method
  (i.e. not using RangeXXSimpson methods)
- G4VRangeToEnergyConverter::BuildRangeVector is for e+/e- 
- G4VRangeToEnergyConverter::TotBin is changed to constant (i.e. same for all converters)
- Remove RToEConverter for neutron, anti-protprtton, and anti-neutron

Sep. 10th, 2009  -  H.Kurashige (procuts-V09-02-03) 
- Add G4VRangeToEnergyConverter::MaxEnergyCut
   ( 10 GeV is set in default)
- Add G4VRangeToEnergyConverter::fRangeVectorStore 
   to ensure that RangeVector is created only one for each material
- Set G4VRangeToEnergyConverter::TotBin to 100
   ( 200 for previous versions) 

Aug. 1st, 2009  -  H.Kurashige (procuts-V09-02-02) 
- Add cuts for proton 
  (need co-work with G4VUserPhysicsList update)

July 29, 2009  -  H.Kurashige (procuts-V09-02-01) 
- Add implemtentaion of G4VRangeToEnergyConverter::GetParticleType 

May 2nd, 2009  -  H.Kurashige (procuts-V09-02-00) 
- Use std::fabs instead of std::abs.

March 2nd, 2008  -  H.Kurashige (procuts-V09-01-00) 
- Add ProductionCutsMessenger
- Suppress 'too big cut value' messsage for higher verbosity

June 6th, 2007 -  L.Urban (procuts-V08-03-01)
- Fix in G4VRangeToEnergyConverter::convert(), range-energu conversion,
  correcting artifact observed in the visible energy plot over range-cut,
  where a jump in the distribution was evident.
  The correction can influence the result only for the tests, where
  the e+/e- energy cuts are below 30 keV and even in this case the change
  in results should be small.

May 30th, 2007 -  H.Kurashige (procuts-V08-03-00)
- Fix  G4ProductionCutsTable::CheckMaterialCutsCoupleInfo

March 15th, 2007 -  H.Kurashige (procuts-V08-02-00)
- Add   G4ProductionCutsTable::ConvertRangeToEnergy

June 9th, 2006 -  H.Kurashige (procuts-V08-00-03)
- Fix memory leak in  G4ProductionCutsTable and G4PhysicsTableHelper

June 1st, 2006 -  H.Kurashige (procuts-V08-00-02)
- Fix memory leak in  G4ProductionCutsTable


May 26th, 2006 -  H.Kurashige (procuts-V08-00-01)
- Fix memory leak in  G4VRangeToEnergyConverter::BuildLossTable


January  18th, 2006 - H.Kurashige (procuts-V08-00-00)
- Fix G4VRangeToEnergyConverter::Convert to recalculate the Energy Loss table
  if new elements are added 

November 18th, 2005 - M.Asai (procuts-V07-01-01)
- migration to sstream.

October 28th, 2005 - M.Asai (procuts-V07-01-00)
- Working tag for merging "envelope" to G4Region.

December 2nd, 2004 - H.Kurashige (procuts-V06-02-03)
- migration to cmath 
 
November 7th, 2004 - H.Kurashige (procuts-V06-02-02)
- Fixed misspelling in method name for  G4PhysicsTableHelper::RetrievePhysicsTable
  
October 25th, 2004 - H.Kurashige (procuts-V06-02-01)
- Add G4MCCIndexConversionTable and modify G4ProductionCutsTable 
  in order to  extend functionality of Store/RetrievePhysicsTable
- Add G4PhysicsTableHelper in order to assist implementation of 
  new scheme of Store/RetrievePhysicsTable for processes


September 28th, 2004 - M.Asai (procuts-V06-02-00)
- Fixed bug in G4ProductionCutsTable for the update of materials/cuts
  couple for dynamic setups where material may vary, like in the case
  of parameterization of detectors through material.
- The tag coworks with the geometry tags: "geommng-V06-02-02" and
  "geomnav-V06-02-04".

June 7th, 2004 - G.Cosmo (procuts-V06-01-01)
- Moved usage of statics in inline functions to non-inline to allow
  porting for DLLs on Windows. Modified G4ProductionCuts[.hh.cc].

March 31st, 2004 - H.Kurashige (procuts-V06-01-00)
- Modify  G4ProductionCutsTable::RetrieveCutsTable to allow  
   ordering of materials and couples can be different from 
   one in file 

November 8th, 2003 - H.Kurashige (procuts-V05-02-03)
- Fixed bugs in G4VRangeToEnergyConverter (and related class)
- Revised error messages in retreiving ProductionCutsTable

November 7th, 2003 - H.Kurashige (procuts-V05-02-02)
- Revised error messages in retreiving ProductionCutsTable

November 3th, 2003 - H.Kurashige (procuts-V05-02-01)
- Modified error messages in retreiving ProductionCutsTable
- Add verboseLevel in G4ProductionCutsTable

September 19th, 2003 - G.Cosmo  (procuts-V05-02-00)
- Created new sub-category 'cuts'.
  Moved classes from particles/management.
