Update to podio Frame
jmcarcell opened this issue · 2 comments
jmcarcell commented
The EventStore
has been deprecated (AIDASoft/podio#378) and will be removed. At least the following places in this repo have to be updated:
k4Clue/src/main.cc
21:#include "podio/EventStore.h"
188: podio::EventStore store;
ebrondol commented
I have update the code with the requested changes in https://github.com/ebrondol/k4Clue/tree/podioFrame
Unfortunately there is a Segm. Fault related to key4hep/k4FWCore#95
input edm4hep file: /afs/cern.ch/user/e/ebrondol/work/clue/k4Clue/data/input/20220322_gamma_10GeV_uniform_edm4hep.root
reading event 0
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fbafe50f60c in waitpid () from /lib64/libc.so.6
#1 0x00007fbafe48cf62 in do_system () from /lib64/libc.so.6
#2 0x00007fbaff9293bb in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x2053570) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.26.06-bc7bv5ucu42pjp34ex4atpgzy4fkb3lw/spack-src/core/unix/src/TUnixSystem.cxx:2108
#3 TUnixSystem::StackTrace (this=0x2053570) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.26.06-bc7bv5ucu42pjp34ex4atpgzy4fkb3lw/spack-src/core/unix/src/TUnixSystem.cxx:2399
#4 0x00007fbaff926b45 in TUnixSystem::DispatchSignals (this=0x2053570, sig=kSigSegmentationViolation) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-root-6.26.06-bc7bv5ucu42pjp34ex4atpgzy4fkb3lw/spack-src/core/unix/src/TUnixSystem.cxx:3619
#5 <signal handler called>
#6 0x00007fbb0153fc4a in podio::root_utils::setCollectionAddresses<podio::CollectionReadBuffers> (branches=..., collBuffers=...) at /cvmfs/sw.hsf.org/contrib/gcc/11.2.0/x86_64-centos7-gcc8.3.0-opt/d3epy/include/c++/11.2.0/bits/stl_vector.h:1043
#7 podio::ROOTLegacyReader::getCollectionBuffers (this=0x7ffdf8d4c4d0, collInfo=...) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-podio-0.16.2-x5mhfuglvp3zjqsjn6c4dlooggv752t5/spack-src/src/ROOTLegacyReader.cc:113
#8 0x00007fbb01541558 in podio::ROOTLegacyReader::readEntry (this=0x7ffdf8d4c4d0) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-podio-0.16.2-x5mhfuglvp3zjqsjn6c4dlooggv752t5/spack-src/src/ROOTLegacyReader.cc:40
#9 0x00007fbb01541e43 in podio::ROOTLegacyReader::readNextEntry (this=0x7ffdf8d4c4d0, name=...) at /cvmfs/tmp/spack-stage/gitlab-runner/spack-stage-podio-0.16.2-x5mhfuglvp3zjqsjn6c4dlooggv752t5/spack-src/src/ROOTLegacyReader.cc:26
#10 0x000000000040ca6c in main ()
===========================================================
To be tested again when that issue is solved.