Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix job crashing for 9 time-bin FST data #634

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

techuan-huang
Copy link
Contributor

Issue #631 was due to an inconsistent number of time bins used in the data and the codes.
In most FST data and in the codes, we used 3 time bins, while some data used 9 time bins.
Only changing a constant in StRoot/StEvent/StFstConsts.h is needed to fix this issue.

@genevb
Copy link
Contributor

genevb commented Dec 7, 2023

Thanks, @techuan-huang . Two notes from me:

  • I tried my test job with this patch and it ran to completion for me without crashing. I was careful to rebuild all the libraries that depend on this one file.
  • If this passes review, we should tag SL23f_1 and I will rebuild the library. SL23f has not been used for any other productions besides the preview production yet, so we should be fine with this patch.

-Gene

Copy link
Member

@plexoos plexoos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the tests confirm that the issues is fixed then it is fixed

@techuan-huang techuan-huang changed the title Fix job crashing for 9 time-bin data Fix job crashing for 9 time-bin FST data Dec 8, 2023
@genevb
Copy link
Contributor

genevb commented Dec 11, 2023

Are we waiting for @akioogawa 's approval, or can this be merged now?

@fgeurts fgeurts merged commit 2be5ea4 into star-bnl:main Dec 13, 2023
148 checks passed
plexoos pushed a commit that referenced this pull request Dec 13, 2023
Issue #631 was due to an inconsistent number of time bins used in the
data and the codes.
In most FST data and in the codes, we used 3 time bins, while some data
used 9 time bins.
Only changing a constant in `StRoot/StEvent/StFstConsts.h` is needed to
fix this issue.

Co-authored-by: Te-Chuan Huang <[email protected]>
@techuan-huang techuan-huang deleted the Fst9Timebin branch December 14, 2023 15:15
dkapukchyan pushed a commit to dkapukchyan/star-sw that referenced this pull request Mar 11, 2024
Issue star-bnl#631 was due to an inconsistent number of time bins used in the
data and the codes.
In most FST data and in the codes, we used 3 time bins, while some data
used 9 time bins.
Only changing a constant in `StRoot/StEvent/StFstConsts.h` is needed to
fix this issue.

Co-authored-by: Te-Chuan Huang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants