I think I asked Carl Timmer a similar question awhile back and the answer was “no”.  But you could email him about it again to see if that would be easy to implement....

On Dec 13, 2014, at 5:55 PM, Maurik Holtrop <[log in to unmask]> wrote:

Is there some way that this "map" can be turned off? It seems that this is intended for non-sequential reading of the event data, which I don't think we are interested in here. 

On Dec 13, 2014, at 2:28 PM, Andrea Celentano <[log in to unmask]> wrote:

evio2xml should work.
The problem (at least, what I understood), is that the java evio library, when opening a file, tries to "map" the position of each event in the file. However, when the file is not completely written, this mapping presents some errors..

Andrea
On 12/13/2014 08:26 PM, McCormick, Jeremy I. wrote:
[log in to unmask]" type="cite">
Are you able to read these via evio2xml utility from the C code?  Or load them with the C++ interface?

It seems to me there is something basically wrong with this data which is not an issue with HPS Java...

On Dec 13, 2014, at 11:21 AM, Andrea Celentano <[log in to unmask]> wrote:

Hi,
when trying to run EvioToLcio on an EVIO file currently being written, I always get this error.

Andrea
On 12/13/2014 08:19 PM, Graham, Mathew Thomas wrote:
[log in to unmask]" type="cite"> No, I don’t think I ever get to there when I run EvioToLcio…when it tries to open the evio I get:

...
No input files provided by XML or command line.  Dry run will be enabled.
Sat Dec 13 14:16:29 EST 2014 :: EvioToLcio :: CONFIG :: LCSim job manager was successfully configured.
Sat Dec 13 14:16:29 EST 2014 :: EvioToLcio :: CONFIG :: User set detector to HPS-ECalCommissioning with command option.
Sat Dec 13 14:16:29 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)
        ... 1 more


I’ve attached the simple script I use to run it …maybe I screwed something up there…



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





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





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