# Category proc-biasimp History

See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top).
It must **not** be used as a substitute for writing good git commit messages!

-------------------------------------------------------------------------------

## 2023-11-21 Alexander Howard (proc-biasimp-V11-01-01)
- Put in protection against on world boundary in PostStepDoIt of
  G4ImportanceProces - addresses bug #1991.
  - return fParticleChange if GetNextVolume is null

## 2023-08-31 Gabriele Cosmo (proc-biasimp-V11-01-00)
- Removed forward declarations to G4VTouchable.

## 2022-10-05 Gabriele Cosmo (proc-biasimp-V11-00-01)
- Fixed compilation warning on Intel/icx compiler for variable set
  but not used in G4GeometrySampler.

## 2021-12-10 Ben Morgan (proc-biasimp-V11-00-00)
- Change to new Markdown History format

---

# History entries prior to 11.0

April 16th, 2021 B. Morgan
- Migrate build to modular CMake API

September 4th, 2020  G.Cosmo
- Fixed Coverity defect warnings for data initialisation and leaks in classes
  G4WeightCutOffProcess, G4ImportanceProcess and G4WeightWindowProcess.

February 17th, 2020  V.Ivanchenko
- G4ImportanceProcess: added process type as fParallel

February 26th, 2018  A.Howard
- G4ImportanceConfigurator: cleaned up unnecessary G4cout and removed
  copy of G4String - thanks to Gabriele

February 21st, 2018  A.Howard
- G4ImportanceConfigurator: put back clear in the destructor

February 21st, 2018  A.Howard
- G4ImportanceConfigurator: introduced AutoLock (G4Mutex) to protect
  instantiation of the biasing process against a threadrace

March 7th, 2017  A.Howard
- G4GeometrySampler: removed unnecessary ClearSampling from the destructor

March 7th, 2017  A.Howard
- G4ImportanceConfigurator: adjusted the ProcessPlacer in the destructor
  of the G4ImportanceConfigurator so that it didn't cause an error in MT-mode

March 10th, 2015  G.Cosmo
- G4ImportanceProcess, G4WeightCutOffProcess: made static thread-local
  variables into class data members.
  Renamed them accordingly: fEndTrack, feLimited, fParaflag.
- Use const reference for string in argument in SetParallelWorld() in
  G4ImportanceProcess, G4WeithCutOffProcess and G4WeightWindowProcess.

February 12th, 2015  J.Apostolakis
- G4WeightWindowProcess: made static thread-local variables into class
  data members. Renamed them accordingly: fEndTrack, feLimited, fParaflag.

December 2nd, 2013  A.Howard
- Moved static methods in the initialiser to the body for G4GeometrySampler
  and G4ImportanceConfigurator

November 30th, 2013  A.Howard
- Fixed coverity errors (uninitialised variables)

November 24th, 2013  A.Howard
- Fixed segmentation fault at the end of an MT run
- caused by deleting fGhostStep in the destructor
- removed RemoveProcess from the destructor (ClearSampling) of the configurators
- also caused an out of range index with MT

November 22nd, 2013  A.Howard
- Migrated to MT - changed design to physics list orientation
- kept backward compatability for single threaded use, except for singleton
- Moved G4VProcessPlacer and G4ProcessPlacer to management

October 10th, 2013  A.Howard
- Subdirectory and history file created.


