Print

Print



On Sep 11, 2014 1:57 AM, "osipenko@ge.infn.it" <Mikhail.Osipenko@ge.infn.it> wrote:
>
> Hi Omar,
>
> thank you for fast reply. But I still don't understand: there are no ReconParticle collections in reconstructed LCIO file because the file I am using is outdated or because there is no working ReconParticle driver yet?

It's because its old.

> If I download slic output file from HPS page and reconstruct it with latest HPS-java package will I get ReconParticle collections?

Yes, assuming you use the correct steering file

​s​
​ (HPS2014TruthReadoutToLcio.lcsim for readout and HPS2014OfflineTruthRecon.lcsim for recon)​
.


>
> Below you'll find the error of dst_maker when converting "old" files.
>
> Best Regards,
>               Mikhail.
>
> -------------------
>
>
>
> dst_maker egs_tri_2.2gev_0.00125x0_200na_5e5b_30mr_001_SLIC-v2r11p1_geant4-v9r3p2_QGSP_BERT_HPS-Proposal2014-v3-2pt2_readout_recon.slcio -o test4.root
>
>  *** Break *** segmentation violation
>
>
>
> ===========================================================
> There was a crash.
> This is the entire stack trace of all threads:
> ===========================================================
> #0  0x00000034bee99dd5 in waitpid () from /lib64/libc.so.6
> #1  0x00000034bee3c4a1 in do_system () from /lib64/libc.so.6
> #2  0x00007f0771914c62 in TUnixSystem::StackTrace() ()
>    from /usr/hps/root_v5.34.19/lib/root/libCore.so
> #3  0x00007f0771911baa in TUnixSystem::DispatchSignals(ESignals) ()
>    from /usr/hps/root_v5.34.19/lib/root/libCore.so
> #4  <signal handler called>
> #5  0x0000000000421504 in HpsParticleDataWriter::writeParticleData(HpsEvent::collection_t, IMPL::LCCollectionVec*, HpsEvent*) ()
> #6  0x0000000000421bd3 in HpsParticleDataWriter::writeData(EVENT::LCEvent*, HpsEvent*) ()
> #7  0x000000000041ae2f in HpsEventBuilder::makeHpsEvent(EVENT::LCEvent*, HpsEvent*) ()
> #8  0x000000000041a970 in main ()
> ===========================================================
>
>
> The lines below might hint at the cause of the crash.
> If they do not help you then please submit a bug report at
> http://root.cern.ch/bugs. Please post the ENTIRE stack trace
> from above as an attachment in addition to anything else
> that might help us fixing this issue.
> ===========================================================
> #5  0x0000000000421504 in HpsParticleDataWriter::writeParticleData(HpsEvent::collection_t, IMPL::LCCollectionVec*, HpsEvent*) ()
> #6  0x0000000000421bd3 in HpsParticleDataWriter::writeData(EVENT::LCEvent*, HpsEvent*) ()
> #7  0x000000000041ae2f in HpsEventBuilder::makeHpsEvent(EVENT::LCEvent*, HpsEvent*) ()
> #8  0x000000000041a970 in main ()
> ===========================================================
>
>
>
>

It looks like it has to do with the lack of a recon particle collection in the

​LCIO​
 file.
​  It's probably trying to access a NULL collection and then segfaults.  This is still a bug, as I should be throwing an exception instead of just letting it segfault, so I'll look into it.  However, if you run the DST maker on a recon LCIO file that has a recon particle collection, it will run without any issues. 



Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1