-
Notifications
You must be signed in to change notification settings - Fork 5
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
Is it possible to do optical simulations with RestG4? #123
Comments
I think the best would be to think a way to integrate the optical simulations into |
Some things to keep in mind:
|
Another thing to keep in mind:
|
I think that to implement optical simulations in
So, I think that an optical simulation will be useful to parametrize the optics for a particular geometry or readout, but I think that doesn't make sense to implement a full optical simulations inside
With this approach we can keep using |
You can have full control of this inside Geant4. Send the optical photons to a lower priority stack drop them if some condition isn't met (energy in sensitive volume, etc.). This would work for instance for the optical simulations for the veto scintillators (you only want to do it if there is energy in the sensitive volume).
Having the full event (optical + non-optical) as a single object would be my choice, this way it's easier to do the analysis. There would be some problems I guess, perhaps we need to track additional members for the optical photons (surface + volume?) but I think it's doable.
I am not sure about this. I think it would be too tightly coupled to restG4 that splitting it as a separate package would be detrimental. It would require significant effort to refactor restG4 so the common code can easily be used by both.
I don't know what would be the best way to approach this. To be honest if we were to make a new package for this we might as well make "restG4 v2" to overcome the limitations of the current restG4 and make it do both types of simulations. restG4 currently works but it's hard to build on it. But I think this would be a different discussion |
This issue is related to this post on the forum:
https://rest-forum.unizar.es/t/is-it-possible-to-do-optical-simulations-with-restg4/589
Summary of the discussion on the forum:
I wanted to know if it was possible to perform optical simulations with restG4.
Apparently it's not (yet?) possible.
In that case, is it possible to perform the optical simulations with Geant4 and then link Geant4 to REST, without using RestG4?
I think it's possible because of what I understand, restG4 is just a package, that you can decide to use or not.
But I've never done it.
And the question remains: the data format of the simulation output files would still be different that the one for "classic" particle/matter RestG4 simulations no?
Thanks,
Cloe
The text was updated successfully, but these errors were encountered: