Dear experts,
I run the same example /Examples/Heed/fe55.C
with a version back in February 2024 and with the latest one available from today
via git clone garfield / garfieldpp · GitLab
Unfortunately the results imply a change in physics since with the last version the escape peak of Argon in not visible(???).
In the inserted picture the left one is with a previous version back in the beginning of 2024 and the right one what I am getting with the last version…
How I could get access on a previous version of garfield++?
All my results so far were well aligned with that older version and I wonder what has changed so far…
Best regards
Georgios
Hi,
thanks a lot for reporting this! I’ll look into it…
1 Like
Hello,
@hschindl I thought I’d let you know that I got the same results as OP when running the current HEAD. Checking out to 03b4deb6 (May 30, 2025) still yields the “good” results, so the behaviour is likely the result of one of the newer commits.
@gtsileda From inside your Garfield++ installation folder ($GARFIELD_INSTALL/..
) run:
git checkout 03b4deb6
cd build
cmake ..
make
make install
You can run git pull origin master
if you’d like to revert back to the most recent version.
1 Like
Hello,
I had some spare time in the morning so I decided to take a crack at the bug. It seems to me that the culprit was the deletion of lines 738 through 746 of the PhotoAbsCS.cpp file (HEAD 53a9f59). Since line 19 was already commented out the #ifndef
clause was always true. The deletion of lines 738-746 causes is
to always be equal to zero and the following if
is never executed.
Restoring the lines 739-745 seems to fix the issue, so this might be worth checking out.