Skip to content

Releases: rest-for-physics/restG4

v2.2

24 Jul 06:40
03eb230
Compare
Choose a tag to compare

What's Changed

  • New generator TRestGeant4ParticleSourceCosmics by @lobis in #125
  • Quenching by @lobis in #126
  • Option to set run number from cli by @lobis in #127
  • Update isotropic vector algorithm, add option for angular range for isotropic generator by @lobis in #106
  • Update cosmic sampler by @lobis in #129
  • Update PrimaryGeneratorAction.cxx by @DavidDiezIb in #130
  • Update PrimaryGeneratorAction.cxx by @DavidDiezIb in #131
  • Add option to stop decay chain at any given isotope by @lobis in #132

Full Changelog: v2.1...v2.2

v2.1

12 Dec 12:37
dc3a8f4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0...v2.1

v2.0

15 Jun 10:46
ca5ef72
Compare
Choose a tag to compare

What's Changed

  • fix not including the volume found by the regex. Made logic more clear by @lobis in #91
  • Fixing compilation warnings by @jgalan in #89
  • Avoid error due to deprecated ICM option by @lobis in #93
  • Implement pre-commit checks and format files by @lobis in #95
  • selecting gdml volume will also choose logical volume if physical doe… by @lobis in #98
  • Fix pipeline due to compilation warning by @lobis in #99
  • Integrating restG4 validation inside framework by @juanangp in #104
  • Pointing to proper branch in framework by @juanangp in #107

Full Changelog: v1.9...v2.0

v1.9

08 Dec 19:03
126bebc
Compare
Choose a tag to compare

What's Changed

  • Implement primary generation with correlated energy and angular distribution by @lobis in #76
  • Implement kill option for volumes by @lobis in #78
  • Update progress printing logic by @lobis in #79
  • update print progress by @lobis in #82
  • add active volumes to event to fix issue in restManager analysis by @lobis in #81
  • add new cosmic generator by @lobis in #83
  • update cosmic generator example by @lobis in #84
  • Update muon example by @lobis in #77
  • TF1/2 energy/angular distributions are now shared accross threads by @lobis in #85
  • fix bad visualization with default settings, update default "activateAllVolumes" to true by @lobis in #86
  • step info (momentum and time) is recorded incorrectly by @lobis in #87
  • check possible issues in geometry and raise exception by @lobis in #88

Full Changelog: v1.8...v1.9

v1.8

07 Oct 09:23
1b31d60
Compare
Choose a tag to compare

What's Changed

This release updates the examples to use the new official materials remote repository at https://rest-for-physics.github.io/materials/rest.xml

It introduces also a new example that will be used to produce response matrix for gaseous TPC detectors and required by future rest-for-physics/axionlib requirements.

  • Fixing examples pipeline due to changes in GDML material files by @jgalan in #70
  • Use new material file and update validation by @lobis in #72
  • Adding Fe55 decay validation and new Detector Response example by @jgalan in #74

Full Changelog: v1.7...v1.8

v1.7

28 Sep 12:01
7d194ca
Compare
Choose a tag to compare

What's Changed

This release introduces significant changes to restG4. The whole project structure has been heavily modified to allow support for multithreading (Geant4 implementation). Altough the internal structure has changed significantly, the user insterface has not been affected by this change. The multithreading mode should produce accurate results (same as serial mode) but it is possible that some bugs are still present. In case you find a bug please post an issue in GitHub.

There have also been some changes to the user interface. Some options have been renamed for a more consistent look but the previous names are still compatible. All examples have been updated with the latest option names. (for example Nevents has been renamed nEvents).

The detector section in the RML has been modified with breaking changes. It is now named detector and it supports multiple sensitve volume definitions. All the examples have been updated. Below you can find an example of the new detector section.

<detector>
    <parameter name="maxStepSize" value="1mm"/>

    <volume name="gasVolume" sensitive="true" maxStepSize="0.05mm"/>
    <volume name="^scintillatorVolume" sensitive="false" keepTracks="true" maxStepSize="0.5mm"/>
    <volume name="^captureLayerVolume" sensitive="false" keepTracks="true" maxStepSize="0.05mm"/>
    <volume name="ShieldingVolume" sensitive="false" maxStepSize="5mm"/>
</detector>

Other changes

  • Adding example 11.Xrays with validation pipeline by @jgalan in #34
  • Removed using namespace std from header files and fix errors by @lobis in #36
  • Support Latest Geant4 Versions by @lobis in #35
  • 01.NLDBD/Validate.C removing obsolete libraries by @jgalan in #37
  • Made small changes necessary for rest-for-physics/geant4lib#41 by @lobis in #38
  • Fixed activeVolume for assemblies by @lobis in #44
  • Update logic of REST_StringHelper::isAExpression(). Requires updating validation pipelines by @jgalan in #42
  • Added check for Geant4 C++ std to be C++17 by @lobis in #45
  • Using <filesystem> to improve prints, updating examples with new deg angular unit by @lobis in #46
  • using <filesystem> when working with paths by @lobis in #48
  • Update restG4.cxx by @nkx111 in #49
  • Implement validation via GitHub Actions by @lobis in #52
  • Implement unit testing by @lobis in #41
  • Updated validation image tag to rest-for-physics by @lobis in #59
  • Removed biasing related code by @lobis in #56
  • Added creator process to TRestGeant4Track by @lobis in #60
  • Improve physics process store by @lobis in #55
  • Low energy EM updates and bug fix by @lobis in #63
  • Changes related to multithreading by @lobis in #58
  • Improve example running time by @lobis in #65
  • Updated example validation Geant4 version to 11.0.3 by @lobis in #66
  • Added fix for tritium decay by @lobis in #68

New Contributors

Full Changelog: v1.6...v1.7

v1.6

14 Mar 14:34
6109d7c
Compare
Choose a tag to compare
  • Implemented new options at the command line:
    • -o output_file.root to redefine the output filename defined by RML.
    • -g geometry.gdml to redefine the geometry filename defined by RML.
  • Implemented TRestGeant4GeometryInfo to include metadata members required to support geometry assemblies in GDML definitions.
  • Added an example for geometry using assemblies.
  • Added support to compile restG4 as a standalone package.
  • Added example 08.Alphas to show generation of alphas using restG4.

v1.5

28 Jan 11:53
Compare
Choose a tag to compare
  • PrimaryGeneratorAction::SetParticleDefinition bug fixed and seg. fault protection added.

  • PrimaryGeneratorAction: Optimization. Now fParticle is defined as a data member so it just needs to be initialized at the first event.

  • Added Be7 isotope into the 07.FullChainDecay example.

  • Updated 04.MuonScan example to the latest generator updates, using now rotationAngle. Validation of cosmic muons generator has been reviewed and cross-checked. In particular proper integration of wall generator.

  • Refactoring and enhancements on command line arguments retrieval.

  • Fixed IMPORTANT bug affecting at least wall generation using a TH1D generator. The random angle was not properly calculated! See commit 2c1d436

  • Added a message showing how many events are stored during/after execution, as a hint for whether the rml is right or not.

  • 08.Alphas example added including validation.

  • A change on the fly directory is now performed at restG4 so that example RMLs might be launched from anywhere, while still keeping the path definitions relative to the example/RML directory.

v1.4

12 Jul 14:40
18b62f2
Compare
Choose a tag to compare
  • Fixed 04.MuonScan example to complain with the new generator type examples.

  • Added a new validation test at 04.MuonScan to check for the proper uniform random generation on a wall.

v1.3

04 Jun 08:09
e02b603
Compare
Choose a tag to compare
  • Solved a bug on full chain decay when the timestamp was to large affecting the splitting of subvents.

  • PrimartGeneratorAction solved a problem when trying to launch low Z isotopes such as 7Be.

  • Added new examples to the validation pipeline. 09.Pb210_Shield, 07.FullChainDecay

  • PrimaryGeneratorAction::SetParticleDefinition. Improved performance when instantiating a particle, now we will create the definition only once at the class member fParticle.

  • Differentiated generator types and shapes. type describes the dimension of generated particle position, i.e, volume, surface or point. shape describes the shape of generation area if the type is volume or surface, e.g., box, cylinder, etc. (WIP probably shape would be better renamed to solid?).

  • PrimaryGenerator supports density function, a TF3 object yielding 0~1 numbers indicating the density of generated points in the area.

  • Few other fixes to protect from potential seg.faults. Cleaning up code and refactoring.