[Clas12_software] CLARA/CLAS12 reconstruction

L Smith lcs1956 at me.com
Thu Feb 7 14:06:43 EST 2019


For my own purposes I hope so, but I haven’t discussed it with Gagik yet. At the very least we need a utility to convert hipo3 to hipo4.  

Cole 

> On Feb 7, 2019, at 2:03 PM, Whitney R. Armstrong <whit at jlab.org> wrote:
> 
> Hi Cole,
> 
> Thanks. I installed the production versions and it worked with the hipo-3 file. 
> Will this be fixed so there is backward compatibility?
> 
> Cheers,
> Whit
> 
> 
> On Wed, Feb 06, 2019 at 11:11:39PM -0500, L Smith wrote:
>> You are trying to read a HIPO 3 file with HIPO4 reader.
>> 
>> Cole
>> 
>>> On Feb 6, 2019, at 11:06 PM, Whitney R. Armstrong <whit at jlab.org> wrote:
>>> 
>>> Dear Nathan and Vardan,
>>> 
>>> I get the error below when running clara locally.
>>> 
>>> Is this a problem with the input file I am using? Where can I find a good (smallish maybe) input file to test things with?
>>> 
>>> Installed software with:
>>> install-claracre-clas.sh -f 4.3.7 -v 6b.0.0
>>> (BTW, I think there is bug in the script with the "grapes" install.)
>>> 
>>> I am guessing this is a Hipo file problem?
>>> Sincerely,
>>> Whit
>>> 
>>> 
>>> 2019-02-06 21:51:22.681: All services configured on 172.17.0.1
>>> 2019-02-06 21:51:22.734: Opening file clas_004176.evio.10.hipo on 172.17.0.1
>>> INFO HipoToHipoReader - request to open file /home/whit/projects/clara/clara_data/data/input/clas_004176.evio.10.hipo
>>> reader:: *****>>>>> openning file : /home/whit/projects/clara/clara_data/data/input/clas_004176.evio.10.hipo
>>> reader:: ***** dictionary entries :          117
>>> ERROR HipoToHipoReader - could not open file /home/whit/projects/clara/clara_data/data/input/clas_004176.evio.10.hipo
>>> org.jlab.clara.std.services.EventReaderException: java.lang.IndexOutOfBoundsException
>>>      at org.jlab.clas.std.services.convertors.HipoToHipoReader.createReader(HipoToHipoReader.java:28)
>>>      at org.jlab.clas.std.services.convertors.HipoToHipoReader.createReader(HipoToHipoReader.java:18)
>>>      at org.jlab.clara.std.services.AbstractEventReaderService.openFile(AbstractEventReaderService.java:114)
>>>      at org.jlab.clara.std.services.AbstractEventReaderService.configure(AbstractEventReaderService.java:89)
>>>      at org.jlab.clara.sys.ServiceEngine.configureEngine(ServiceEngine.java:128)
>>>      at org.jlab.clara.sys.ServiceEngine.configure(ServiceEngine.java:102)
>>>      at org.jlab.clara.sys.Service.lambda$configure$1(Service.java:158)
>>>      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>>      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>>      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>>      at java.lang.Thread.run(Thread.java:748)
>>> Caused by: java.lang.IndexOutOfBoundsException
>>>      at java.nio.Buffer.checkIndex(Buffer.java:546)
>>>      at java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:314)
>>>      at org.jlab.jnp.hipo4.data.Event.read(Event.java:174)
>>>      at org.jlab.jnp.hipo4.io.HipoReader.open(HipoReader.java:104)
>>>      at org.jlab.clas.std.services.convertors.HipoToHipoReader.createReader(HipoToHipoReader.java:25)
>>>      ... 11 more
>>> INFO HipoToHipoReader - config time: 75 [ms]
>>> 
> 
> -- 
> Whitney R. Armstrong





More information about the Clas12_software mailing list