-
Notifications
You must be signed in to change notification settings - Fork 157
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
Bug: last material interaction missing in validation output? #1882
Comments
I can have a look at the writing in the validation tomorrow. I will let you know. But we agree it only affect the validation and not the performance right ? |
So looking at
It seem we do not perform the material interaction on the target surface. In a way this makes sense as it doesn't matter for the propagation but to get proper validation plots maybe we should change it to :
That way we would record material even on the target surface. |
In fact, we should make the 'SurfaceMaterial` split factor decide if the material interaction on the target surface should happen or not, right? |
@asalzburger I am pretty sure that the split factor even if it exit is not used anywhere right now. But if we where to properly implement it everywhere you are right that it would make sense |
Hello @Corentin-Allaire , I have tested your suggestion this morning, but unfortunately the last material interaction is still missing. :( |
Hi @noemina, so I am a bit at a loss at this point. The propagator action should happen before the aborter so I don't understand why we don't go through the |
Never mind my last message, we don't do the interaction because else we would print the energy loss and we don't. |
This PR fixes #1882. The reason why the outer boundary was not seen is due to the accumulation of invalid material on it. Skipping un-physical steps (step length = 0) restores a sane behaviour of the mapping procedure. I have also added a check on existence of the `event_id` branch in the `TChain`. If the branch doesn't exist, the batch size is evaluated to be 1. @Corentin-Allaire @goetzgaycken
While mapping the material on the ITk tracking geometry (using the standalone workflow), I have seen that the material interaction for the outer boundary seems not to be collected in the root file.
Things I have already tested:
I start believing that the last material interaction is simply not saved in the output file of the material validation job?
@Corentin-Allaire, could you help me with this?
The text was updated successfully, but these errors were encountered: