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 small issues #1

Open
wants to merge 8 commits into
base: feature_sensitive_volumes
Choose a base branch
from

Conversation

fuhlig1
Copy link

@fuhlig1 fuhlig1 commented Jun 7, 2022

Don't call FairModule::initialize() from FairMCApplication any longer. The function is now called directly from VMC. Calling the function twice results in a crash when executing a transport simulation with CbmRoot.

Don't use FairVolume any longer in the ProcessHits() function of the detector implementation since it doesn't exist any longer in that scope. Access the needed information directly from VMC.

kresan and others added 8 commits May 5, 2022 15:16
Remove the double function definition.
Define the void FairDetector::ProcessHits() function, which calls the
depracated Bool_t ProcessHits(FairVolume*) of derived classes.

Update the FairMCApplication to match the update of the VMC:
introduction of EndOfEvent function called before
the TVirtualMCSensitiveDetectors->EndOfEvent().

Implement the temporary FairMCApplication::GetFairVolume()
function to keep the backward compability.

Cleanup of FairModule, FairMCApplication double code.
FairRoot allows for construction of clones volumes
using the volume_name#{clone_number} scheme.
Changing FairMCApplication::ConstructSensitiveDetectors()
to support this.
The function is now called from VMC directly.
@karabowi karabowi force-pushed the feature_sensitive_volumes branch 2 times, most recently from a96f67f to 2259768 Compare June 8, 2022 08:02
@karabowi karabowi force-pushed the feature_sensitive_volumes branch from 2259768 to 2ab950f Compare July 7, 2022 09:34
@karabowi karabowi force-pushed the feature_sensitive_volumes branch 4 times, most recently from e3810cc to e34b574 Compare February 1, 2023 09:21
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.

3 participants