Print

Print


Hi, Matt.

That error appears to indicate a basic problem with the EVIO data itself, because the JEVIO reader isn't even able to parse it properly. 

We need to make sure incompatibilities have not been introduced between the EVIO written by the event builder running in Hall B and the JEVIO library.  

I suspect it might have something to do with integral or mode 7 data format or (maybe?) new event headers that have been introduced, etc.

I have only run the EvioToLcio utility on cosmic data with the window mode hits, which works fine, but I know that the EVIO format being written has changed since those runs.  (How, I'm not totally sure!)

--Jeremy

-----Original Message-----
From: Graham, Mathew Thomas 
Sent: Friday, December 12, 2014 5:12 PM
To: McCormick, Jeremy I.; hps-software
Subject: EvioToLcio


Has anyone gotten this to work on data from the engineering run?   I get errors that make it look like it doesn't have the format right...

Fri Dec 12 17:22:21 EST 2014 :: EvioToLcio :: CONFIG :: LCSim job manager was successfully configured.
Fri Dec 12 17:22:21 EST 2014 :: EvioToLcio :: CONFIG :: User set detector to HPS-ECalCommissioning with command option.
Fri Dec 12 17:22:21 EST 2014 :: EvioToLcio :: INFO :: Opening EVIO file Data/hps_003206.evio.0 for reading.
Exception in thread "main" java.lang.RuntimeException: org.jlab.coda.jevio.EvioException: File/buffer bad format
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:261)
        at org.hps.evio.EvioToLcio.main(EvioToLcio.java:92)
Caused by: org.jlab.coda.jevio.EvioException: File/buffer bad format
        at org.jlab.coda.jevio.MappedMemoryHandler.generateEventPositions(MappedMemoryHandler.java:201)
        at org.jlab.coda.jevio.MappedMemoryHandler.<init>(MappedMemoryHandler.java:119)
        at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:447)
        at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:342)
        at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:324)
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:259)


Thanks, Matt

########################################################################
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