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
Standalone Delphes with EDM4HEP output #56
Conversation
I think you need to rebase again. |
- more conversions - add isolation vars - add D0/DZ vars
Co-authored-by: Thomas Madlener <thomas.madlener@desy.de>
With podio/95 they are no longer necessary
Needs to be done after the momentum has been set in order for the calculation of the energy from the passed masses is done consistently
TODO: Check differences between delphes and edm4hep output
TODO: currently the edm4hep jets have much less associated clusters than the delphes clusters
Had to introduce a new class of RecoParticleRef that allows us to store collections of particle references which only point into the global reconstructed particle collection. This is necessary to not duplicate reconstructed particles when splitting them into subsets.
A fork of this class was used up until now. The main goal was to be able to use unchanged delphes cards. However, since the EDM4HepOutput module has to be defined in any case, another change to the delphes card should no longer be a real problem.
As discussed during the meeting, a final decision on how to best handle this needs some more discussion. For now using a const_cast here, to showt that some more work is necessary.
gcc8 (used in e.g. CI) would require separately linking in stdc++fs as it is only merged into the stl library with gcc9.
Probably disabled for early prototyping(?)
TODO: Change to allow use of un-changed delphes cards |
@vvolkl and @tmadlener: please add a few lines to the Release notes |
README now also reflects usage of output configuration as command line parameter
Hi @vvolkl, For now I think this can go in as it is, but we may need to revisit this in a future iteration. The question is mainly: Where do we want to do the bookkeeping. This also needs to be rebased onto master again if we do not want to have a merge commit in the history. |
Hi Thomas, For me the rebase and merge button still works - I'll do one more round of testing, then I'll merge. |
This PR disentangles the Delphes program from the ExRootAnalysis TreeWriter, and adds edm4hep output via the podio EventStore instead. The conversion is only a proof of principle now, and still WIP. The branches are created automatically from the
TreeWriter
configuration in the Delphes card.I started out from
DelphesROOT
and cleared out some non-crucial code and replaced some raw pointers with smart pointers. Ultimately it would be good to make the input/output of the delphes standalone executables more modular (currently quite a bit of code is duplicated in 8 versions of Delphes with different inputs).BEGINRELEASENOTES
ENDRELEASENOTES