-
Notifications
You must be signed in to change notification settings - Fork 13
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
Transverse impact parameter discrepancy between full and fast simulation #61
Comments
You probably want to investigate this with simpler data first, i.e. particle gun at fixed energies and angles. |
Also things to know to actually understand what is going
|
Yes this should be it. |
@andresailer thanks for the constructive comment!
I created them from this data: /eos/experiment/fcc/ee/generation/DelphesEvents/winter2023_training/IDEA_SiTracking/ using FCCAnalyses, see this repo.
Brieuc created the data I used: /eos/experiment/fcc/prod/fcc/ee/test_spring2024/240gev/Hbb/CLD_o2_v05/rec/ and as you see CLD version 5 was used.
In full and fast simulation I access d0 from the trackstate of the (charged) particle (e.g.
For full sim I used
I am unsure how to answer as I did not specify anything, so probably the standard reconstruction chains. I hope this answered the questions, let me know if I missed details. |
Which of the two productions did you use?
Which trackstate do you use as input?
The questions is in reference to which version was used for simulation and reconstruction, not for analysis.
Again, with respect to the samples created, not their analysis (of course analysis software versions could also matter).
See more questions above. |
Hi Andre - thanks for the follow up!
I used
I do:
I can not answer the question then, as I have not created the samples myself.
Same for this. |
Hi Sara,
Only
|
But the PrimaryVertex collection comes from reconstruction? Do you not get the MC-truth primary vertex? |
Additional information: the buggy pre-production was cleaned in July 2024 so you should not be affected by that since you ran on the RECO samples after this. Anyway the bug was a rare crash with LumiCal collections missing (FCALSW/FCalClusterer@5ffeca1) so this should not impact your distributions, and this pre-production only had 1000 events while the bug free one has 1M. We have to look for something else. |
Where or what are the settings for the delphes samples? |
As far as I am aware the "PrimaryVertices" edm4hep::VertexCollection are the reconstructed primary vertices. |
I've done a comparison of the primary vertices (PV) in fast and full simulation.
In fast and full sim the MC PV look as expected (at 250 GeV: But in full simulation, we see that the reconstructed This might be the source for the discrepancy in d0, as the PV is used as a reference for the displacement. |
It looks like the beamspot was constrained too strongly in the reconstruction of the PV, so if you compare just the d0 with the MC vertex things are looking better? We need to adapt the beam spot parameters CLDConfig/CLDConfig/HighLevelReco/JetAndVertex.py Lines 90 to 92 in cb1fb09
|
I have not checked yet if using the MC PV in full sim fixes the discrepancy in d0. I will let you know once I have those plots too. Anyway, the reco PV in full sim seems to need a fix. |
The changes in the beamspot are not going to resolve the d0 discrepancy. |
@andresailer you say, that the discrepancy in d0 comparing fast and full simulation on MC level that we see here is non negligible? |
It looks significant, doesn't it? But Leonhard is right that this should be studied in simpler events. It could be that this is due to whatever assumptions are done in the fast sim, missing material interactions. Or something wrong in the reconstruction of tracks, there is sufficient circumstantial evidence to support that notion as well. |
Hi! Using the new data with the fixed beam spot constrains did not solve the problem: While debugging I found an other issue related to the vertex smearing on MC level. As a correct MC vertex is the first step towards a correct reco vertex, I suggest fixing this issue first. I have opened an other issue in dd4hep to discuss this. |
Hi! The MC vertex issue was fixed (vertex smearing was applied twice). Still, the reco PV is off, although beam spot parameter constrains seem to have been fixed: #62 Any ideas what might go wrong with reconstructing the PV? |
I would naively guess that the problem is this?
See in LCFIPlus: https://github.com/lcfiplus/LCFIPlus/blob/39cf1736f3f05345dc67553bca0fcc0cf64be43e/src/algoEtc.cc#L80-L103 |
Great idea! Did help for one order of magnitude in y, but did not solve the problem completely: |
Hm, I am also not so sure if it really does what we want. It is just the only place in LCFIPlus that I found that even uses the beam size that we supply :/ |
When comparing CLD full simulation in H->uu to CLD fast simulation (IDEA delphes card with silicon tracker that follows CLD geometry and resolution), the distributions of the transverse impact parameter (IP) d0 do not match. Full simulation has a wider distribution. However, the longitudinal IP z0 seems to have the same distribution in fast and full simulation (see histograms).
Fast simulation results of d0 match expectations (https://arxiv.org/abs/2202.03285).
Might this come from detector geometries used in full simulation CLD that are neglected in fast sim? Or is there an other explanation?
For documentation reasons, I attach the thorough investigation of the comparison of track parameters to this issue.
Helix_track_parameters-1.pdf
The text was updated successfully, but these errors were encountered: