-
Notifications
You must be signed in to change notification settings - Fork 103
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
ddsim: Vertices of tau and its decay product not matching the information in the input HEPMC file #1399
Comments
Hi @zwu0922 The tau lepton is charged, so it will be deflected by the magnetic field, which means it will have a different decay vertex than from the MC Input. No matter what we do, this will be the case. With respect to the intermediate tau leptons: The issue is that the particle with PDG 25 is not simulated, so that all its child particles are placed at its origin, which puts the intermediate taus at 0,0,0, they don't have any lifetime, so the next generation starts there as well. The difference is femtometer, isn't it? So really nothing that would cause any observable difference in the output, would it? |
Hi Andre, thanks for looking into this issue
I switched off the magnetic field by setting both lines 57 and 58 to 0.0*tesla. The pi0 vertex now becomes (-0.931881, -1.01517, 1.19837), which is slightly different from the case where the magnetic field is switched on, but still doesn't correspond to the vertex in the input HEPMC file.
I see. Yes, I agree that the life time of the Higgs boson (PDGID==25) should not make much difference. |
DDSim: -0.931881, -1.01517, 1.19837 We are feeding the correct proper time into Geant4 DD4hep/DDG4/src/Geant4InputHandling.cpp Line 449 in 8f88ea1
I haven't found what Geant4 is doing exactly with this information. E.g., when it decides to decay a particle, how fine the stepping is for example. |
in addition, I think that the crossing angle boost applied in ddsim also affects the taus' decay points ? |
Yes, but that is not enabled in this case. Vertex Smearing would also change the position. |
Call Stack
The decay happens too late? |
Hi Andre, I have one related question. If I would like to obtain a more realistic full simulation, I should turn on the 15 mrad crossing angle boost, as well as smear the vertex by vertex sigma_x/y/z/t in ddsim, right? I found the documentation of FCC-ee vertex distribution here. |
Yes, for more realism you need to enable crossing angle boost and vertex smearing. But it is easier to validate whether things are working correctly without adding additional effects. So it depends on what you want to study. |
I submitted a ticket to geant4 about this https://bugzilla-geant4.kek.jp/show_bug.cgi?id=2645 |
Check duplicate issues.
Goal
Hi, I attempted to run ddsim for the ee->Z(vv)H(tautau) process using a HEPMC3 file as input. However, when I print out the MCParticles branch of the output of ddsim, I find that:
(1) The vertex information of final state particle does not match what is provided in the input HEPMC3 file. For instance, in the HEPMC3 input, the vertex of pi0 is (-0.931604, -1.01487, 1.19801), while ddsim produces (-0.931873, -1.01518, 1.19837)
(2) Vertices of intermediate tau leptons do not correspond to what is provided in the HEPMC3 file either (5.95634e-13, 1.22708e-13, 5.04033e-12), and are set to the origin (0,0,0).
I tried the solution mentioned in a previous issue. But the vertices of tau and decay products do not seem to be affected in the output root file, even if I manually change all particle status in the HEPMC3 from 22 or 23 to 2.
Operating System and Version
Red Hat Enterprise Linux 9.5 (Plow)
compiler
gcc (Spack GCC) 14.2.0
ROOT Version
6.32.04
DD4hep Version
94df2c6
Reproducer
Run ddsim with the following input file testZH.hepmc3 (extract in advance, github does not support uploading .hepmc3 file) testZH.zip
Step 3: Examine the output root file
root ALLEGRO_testHEPMC.root
While in root:
events->Show(0)
It can be easily noticed that printed values of MCParticles.vertex.x/y/z for tau and its decay product do not match the vertex information in the input HEPMC3 file.
Additional context
k4geo version: bfad786
The text was updated successfully, but these errors were encountered: