-
Notifications
You must be signed in to change notification settings - Fork 113
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
Interfacing EvtCalc in FairShip #528
Conversation
A preliminary remark and a question:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass just reading over the code.
For testing this, could you please provide some example input files and instructions on how to use it?
At the software meeting it was agreed that the todo items can be tackled later. @mferril, could you please open issues for them? One thing that would be very nice to have would be some control plots for the expected output for some example channel and input file. Hopefully we can then gradually expand the collection to include more channels. |
@mferril @maksymovchynnikov Any updates?
|
@yabezsh @anupama-reghunath, did you have a chance to have a look at the pull request? Overall, the proposed changes are quite small, so we should be able to merge this pretty quickly. |
Hi @olantwin , I have given this lower priority given some conflicting deadlines this week. I am planning to look at it later in the day/weekend. Thanks for understanding! |
Ok, no worries! Good luck with the deadlines! |
Co-authored-by: Oliver Lantwin <[email protected]>
Co-authored-by: Oliver Lantwin <[email protected]>
@yabezsh @anupama-reghunath I'd really appreciate your feedback on your pull request, but will interpret continued silence as approval. @mferril Could you please provide me a .dat file I can test this with? Apart from that this now looks to be in fairly good shape, and would be ready for automatic fixes, history rewriting etc. |
@mferril This also is still missing an entry in the changelog. I think an paragraph to introduce such a major new feature would be great, maybe with a link to your collaboration meeting presentation. |
I have just shared with you the input .dat file. To test whether it works, we could think about adding in the future some unit-testing or similar. Basic commands to launch: |
Some observations:
|
Hi @mferril , |
In my opinion EventCalc should be in a different repository, but ideally our simulation would call it directly without intermediate files. So close integration, and we could even consider maintaining/developing it in the collaboration, but I don't see any advantages and several disadvantages in including it within FairShip.
This is an issue to be fixed after this initial version. For most, no standard PDG codes exist, and using the geantino as we do currently is no long-term solution. In the short-term, we need to differentiate via bookkeeping, but adding new particles to the PDG database similar to what we do for HNL would be better. @yabezsh I interpret your message as approval? |
@yabezsh this is currently under discussion and no final decision has been made yet on the integration within FairShip. We are working to achieve exactly what @olantwin mentioned, which is an internal call to the generator (e.g. as you would call Pythia or any other MC tool). See also Issue #537 .
Exactly, @olantwin explained it perfectly. Ideally we would issue separate PDG codes in the database for each LLP model we incorporate. |
@mferril @olantwin ok, perfect. That's exactly what I meant, it would be good to be able to call EventCalc directly from FairSHiP so that the user doesn't have to search for .dat files or use EventCalc separately to generate files. Having it as a separate package is then much more practical. |
Introduce a first implementation of the EventCalc decay event sampler in FairShip for inclusive final states. For further details, consult the dedicated presentation at the 30th SHiP CM [here](https://indico.cern.ch/event/1448055/contributions/6142341/attachments/2939894/5165450/SHiP_collaboration_meeting_talk_MFerrillo.pdf).
Vanilla implementation of the EventCalc LLPs decay event sampler in FairShip for inclusive final states.
Additions & modifications to master:
To do list (in order of priority):
FYI @maksymovchynnikov