Linear Collider Forum

Home » Software Tools » LCIO » segfaulting PIDHandler in python
segfaulting PIDHandler in python [message #2346] Sat, 22 November 2014 01:47 Go to previous message
Messages: 64
Registered: September 2004
Location: Tohoku University
I have a DST + LCFIPlus Jet collections.
The xml file that was used to create the file from the DST is attached.
I am reading this file via the python bindings.
from import LcioReader
from ROOT import UTIL
import sys
for dst in sys.argv[1:]:
    reader = LcioReader(dst)
    for event in reader:
        refinedJetCollection = event.getCollection("RefinedJets")
        pidh = UTIL.PIDHandler(refinedJetCollection)

Instantiating the PIDHandler leads to a seg fault.
However, not in every event.
Please let me know if you can reproduce this bug.
There might be processors in the xml which are not distributed with ILCSoft. Please comment them out.

  • Attachment: ww6j.xml
    (Size: 37.24KB, Downloaded 440 times)
Read Message
Read Message
Read Message
Previous Topic:SIOWriter couldn't write event header
Next Topic:Meeting Minutes
Goto Forum:

Current Time: Fri Feb 21 10:49:53 Pacific Standard Time 2020
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software