LISTSERV mailing list manager LISTSERV 16.5

Help for KPIX-BEAMTEST-SOFTWARE Archives


KPIX-BEAMTEST-SOFTWARE Archives

KPIX-BEAMTEST-SOFTWARE Archives


KPIX-BEAMTEST-SOFTWARE@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

KPIX-BEAMTEST-SOFTWARE Home

KPIX-BEAMTEST-SOFTWARE Home

KPIX-BEAMTEST-SOFTWARE  July 2013

KPIX-BEAMTEST-SOFTWARE July 2013

Subject:

Re: Tony's Example Code For JAS

From:

Tony Johnson <[log in to unmask]>

Reply-To:

Discussion of software development for the KPiX beamtest <[log in to unmask]>

Date:

Wed, 24 Jul 2013 21:10:34 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (74 lines)

I tracked down the problem we were seeing with the heprep's when viewing 
events with no hits. The real problem seems to be in Wired (more 
correctly in the jheprep package), but to work around it I just stopped 
registering the eventInstanceTree if there are no real hits.

The code is in subversion (but not released).

Tony

PS - Dima in case you feel like tracking down the original error, the 
stack dump was:

java.lang.ArrayIndexOutOfBoundsException: -1
     at 
hep.graphics.heprep.ref.DefaultHepRepIterator.hasNext(DefaultHepRepIterator.java:407)
     at 
hep.wired.heprep.graphicspanel.HepRepPanel.setRecord(HepRepPanel.java:327)
     at 
hep.wired.heprep.plugin.WiredPlugin.checkHepRep(WiredPlugin.java:672)
     at 
hep.wired.heprep.plugin.WiredPlugin.convertRecordToHepRep(WiredPlugin.java:657)
     at hep.wired.heprep.plugin.WiredPlugin.access$1100(WiredPlugin.java:96)
     at 
hep.wired.heprep.plugin.WiredPlugin$LoopHandler.setRecord(WiredPlugin.java:812)
     at 
hep.wired.heprep.plugin.WiredPlugin$LoopHandler.suspend(WiredPlugin.java:802)
     at 
org.freehep.record.loop.AbstractLoopListener.process(AbstractLoopListener.java:28)
     at 
org.freehep.record.loop.DefaultRecordLoop.fireLoopEvents(DefaultRecordLoop.java:125)
     at 
org.freehep.record.loop.ConcurrentRecordLoop.access$001(ConcurrentRecordLoop.java:29)
     at 
org.freehep.record.loop.ConcurrentRecordLoop$1.run(ConcurrentRecordLoop.java:116)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
     at 
org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
     at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
     at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


On 07/24/2013 08:45 PM, Ryan Herbst wrote:
> Attached is a modified version of Tony's example code. This version
> looks for events that have hits in at least 3 layers.
>
> I have been using this to gate the JAS display and have successfully
> captured a number of cosmic rays in the current run.
>
> -Ryan
>

########################################################################
Use REPLY-ALL to reply to list

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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

May 2014
April 2014
March 2014
November 2013
September 2013
August 2013
July 2013
June 2013
May 2013

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use