-
Notifications
You must be signed in to change notification settings - Fork 96
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 in MCParticle list in conversion from HepMC to LCIO through DDSIM #760
Comments
As far as I can tell neither setting of Lorentz boost gives you a correct result. With the lorentzboost you get a short lifetime for the N (right handed neutrino?), without the boost there is 0 lifetime. So I think the problem isn't in the Lorentzboost, or at least not exclusively. |
Correct, neither result is the right one. |
I can't make that call yet. I don't think this is a Geant4 issue, more likely a HepMC and DD4hep issue. |
Is there an easy way to convert hepmc to stdhep and we try with that? |
There is an issue with the creation of G4PrimaryParticles DD4hep/DDG4/src/Geant4InputHandling.cpp Line 354 in b530769
I added g4->Print() before and after this line, which gives:
EDIT: Part of the problem is addressed in #753 , in addition there is an inconsistency of the mass in particle.tbl and what is in the hepmc file. |
@eleogran Could you please try what happens when you set the mass for 9900012 in the |
@andresailer the particle vertex is yet different, but still not correct. |
Thanks!
|
Great! Thank you very much @andresailer |
Hello, |
No, not yet. Sorry! |
@eleogran you could try the key4hep nightly build:
There dd4hep is already built with HepMC3 ( although I haven't tested the reader myself yet). |
@vvolkl it works! |
I have a HepMC file with the correct MCParticle list.
When giving it as input to ddsim, the LCIO output file results in a wrong MCParticle list.
/afs/cern.ch/work/e/eleogran/public/MCParticleList_issue/HNL.hepmc
/afs/cern.ch/work/e/eleogran/public/MCParticleList_issue/evt_198_mc_info.txt
/afs/cern.ch/work/e/eleogran/public/MCParticleList_issue/fcc_steer.py
/afs/cern.ch/work/e/eleogran/public/MCParticleList_issue/HNLOutput.slcio
NB: event 198 is event 2 in this file, i.e. to look at it: dumpevent HNLOutput.slcio 2 | less
In the MCParticle list from the lcio file, particles with index = 7 and > 44 have vertex position:
(-8.35e-01, 3.80e-01,-7.65e-02)
rather than
(-3.73e+02, 1.64e+02,-3.31e+01)
I suspect a problem in the Lorentz boost for the crossing angle, which in my steering file is set:
SIM.crossingAngleBoost = 0.015
If I change this to 0.0, particles with index = 7 and > 44 have vertex position:
(-6.54e-309, 2.88e-309,-5.80e-310)
while the other particles are unchanged.
I have used /cvmfs/clicdp.cern.ch/iLCSoft/builds/2020-02-07/x86_64-slc6-gcc62-opt/.
and run:
$ ddsim --steeringFile fcc_steer.py
The text was updated successfully, but these errors were encountered: