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

Check if FairDetector::Initialize() is called twice #1195

Closed
fuhlig1 opened this issue Jun 7, 2022 · 1 comment · Fixed by #1196
Closed

Check if FairDetector::Initialize() is called twice #1195

fuhlig1 opened this issue Jun 7, 2022 · 1 comment · Fixed by #1196
Assignees
Labels

Comments

@fuhlig1
Copy link
Member

fuhlig1 commented Jun 7, 2022

When running a transport simulation the Initialize() function of FairDetector is called twice. Once it is called from FairMCApplication, the second time it is called from TVirtualMC directly. The second call was added implicitly with the code changes and is the new default way to call Initialize() function of FairDetector.

Add a new test or change an existing test which crashes when the Initilize() function is called twice.

@ChristianTackeGSI
Copy link
Member

I have no idea, why the linked PR did not close this one. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants