Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Version 5.5.0

Latest
Compare
Choose a tag to compare
@freddieknets freddieknets released this 04 Apr 18:44
· 3 commits to master since this release
457924a

Changes

Bugfixes

  • Fixed bug in electron lens kick: removed gamma_electrons. PR #1097 (P. Hermes)
  • Fixed a bug in aperture check for transition markers. PR #1096 (B. Lindström)
  • Correcting the racetrack aperture check. PR #1094 (B. Lindström)
  • Fix building with FLUKA and CR enabled. PR #1089 (J. Molson)
  • Fixed call to file position variable in mod_fluka. PR #1088 (M. D'Andrea)
  • Fix issue with the circular aperture check not working. PR #1086 (J. Molson)
  • Added missing initialization for particles lost while channeled by a crystal collimator. PR #1081 (M. D'Andrea)
  • Fix the time coordinate with geant4 collimation. PR #1078 (J. Molson)
  • Fix a problem with the circular aperture check not working as expected (J. Molson)
  • Fix an incorrect file header in mod_dist. (J. Molson)
  • Fix the time coordinate when using geant4 based collimation. PR #1078 (J. Molson)
  • Fix 2 regressions in the K2 collimation cross section calculations from version 4 to 5. PR #1077 (J. Molson)
  • Fix building with gcc >= 10. PR #1076 (J. Molson)
  • Fix a crash with miss-matched format strings when writing the aperture losses file with geant4 enabled (and not FLUKA). PR #1062 (J. Molson)
  • Fix a mass miss-match with geant4 when entering non-ground state ions into geant4. PR #1062 (J. Molson)
  • Fix building with geant4 collimation with geant4 releases >= 10.06. PR #1060 (J. Molson)
  • Enable single sided collimators with geant4 collimation. PR #1060 (J. Molson)
  • Do not perform the pair mapping when geant4 collimation is enabled. PR #1059 (J. Molson)
  • When collimator settings are required to match those read from an old format CollDB, a separate subroutine reconstructs the family settings based on the most frequent setting in each family. PR #1053 (M. D'Andrea)
  • Increased number of digits for particle ID in FirstImpacts.dat and in collimator length in coll_summary.dat (to properly display crystal collimators which are usually a few mm long). First impacts on crystal collimators are now correctly flagged and a missing check on the dowrite_impact flag when writing Coll_Scatter.dat has been added. PR #1053 (M. D'Andrea)
  • Do not update the pair mapping for non-primary particles. PR #1050 (A. Mereghetti)
  • Fix pencil beam type 3 - the optics function at the entrance of the collimator were always used for beam sampling, even when those at the exit should have been used (e.g. because the beam is divergent on the cleaning plane). PR #1046 (A. Mereghetti).
  • More robust detection of lxplus at compilation. PR #1045 (J. Molson).
  • Fix the root build. PR #1040 (J. Molson)

User Side Changes

  • Add support for dealing with neutral particles in G4/FLUKA. PR #1090 (J. Molson)
  • New treatment of crystal miscut angle. PR #1069 (M. D'Andrea)
  • Only disable generating fma instructions with gcc if CRLIBM is enabled.
  • Foxified lenses with Chebyshev maps - PR #849 (A. Mereghetti). In addition:
    • Chebyshev maps are actually used on a squared domain;
    • the check against R1 and R2 takes into account rounding issues;
    • max order of cheby polynomials is a parameter in the module header;
    • derivatives of Chebyshev polynomials, used to compute the kick, no longer go through a dangerous division by 1-u^2;
    • update chebyshev tests;
    • tabular method for inputting/outputting coefficients;
    • some house-keeping.
  • In the HION block the PDG ID can now be set as the 5th value. PR #1062 (J. Molson)
  • Collimator material names are now case insensitive in geant4. PR #1062 (J. Molson)
  • If a particle interacts with a crystal collimator after having previously interacted with another or the same crystal collimator, the process ID of the previous interaction is stored in cry_interaction.dat. PR #1058 (M. D'Andrea)
  • If no collimator are found for a given family, the aperture of that family is set to zero. PR #1053 (M. D'Andrea)
  • When sending particles to geant4, if the particle mass is within a tolerance of the geant4 value, update the mass to this value and re-scale the particle energy. PR #1055 (J. Molson).
  • Increased flexibility of e-lens module - PR #841 and #1056 (A. Mereghetti):
    • elens module fully dynamic allocatable;
    • give possibility to express R_1 and R_2 in sigma;
    • add any ion species to be defined as possible lens beam;
    • degenerate WIRE type of e-beam distribution is correctly handled;
    • other changes, including:
      • relativistic gamma of lens beam added to calculation of theta_R2;
      • removed remaining signs of chebyshev polynomials in elens module;
      • empty lines allowed in file describing the radial profile;
      • fixed bug in geometric normalisation factor of GAUSSIAN and RADIAL prpofiles;
        Documentation changed accordingly (user and physics manual).
  • Electron lenses have been inserted into FOX - PR #839 and #1056 (A. Mereghetti).
  • When specifying XP and YP in the FORMAT statement of the DIST block, the units are parsed. Accepted values are [1], [1000], [MRAD], [RAD]. PR #1054 (A. Mereghetti)

Test Suite

  • Updated tests to be in line with elens physics correction. PR #1098 (F. Van der Veken)

Code Improvements and Changes

  • Scatter module cleanup and Pythia update. PR #1093 (V. Olsen)
  • Collimation CR. PR #1091 (J. Molson)
  • Initial C/R setup for collimation. PR#1087 (M. D'Andrea)
  • Move the nucleon/energy logging in k2 collimation to after the single sided collimator check. PR #1084 (J. Molson)
  • Assorted updates. PR #1083 (J. Molson)
  • Add the ability to use the dump module with root output. (J. Molson)
  • Always output the collimator energy loss file fort.208 in all collimation modes. (J. Molson)
  • Updated some physical constants to use their now fixed values. PR #1077 (J. Molson)
  • Start to enable the ability to use collimation with thick lens lattices. PR #1062 (J. Molson)
  • Use global id/parent/weight variables in the FLUKA coupling. PR #1062 (J. Molson)
  • Always enable the EMD physics process in geant4. PR #1062 (J. Molson)
  • Allow setting particle statistical weights in geant4 PR #1062 (J. Molson)
  • Add particle ID and parent ID tracking with geant4. PR #1062 (J. Molson)
  • Add Si as a possible collimator material for G4. PR #1059 (J. Molson)
  • Update FLUKAIO reference. PR #1057 (J. Molson)
  • Print error codes from the fluka coupling. PR #1055 (J. Molson)
  • Removed the un-used fluka_init_brhono function. PR #1055 (J. Molson).
  • Removed updating napxo variable in the context of the Fluka-SixTrack coupling. This allows not to screw-up pair mapping in the context of DA studies. PR #1052 (A. Mereghetti)

Full Changelog: v5.4.3...v5.5.0