It has to do with the creation of the RawTrackerHit collection in your digitization Driver.  The collection must be given a valid IDDecoder when it is created.  

On Sep 18, 2014, at 10:42 AM, "Holly Vance" <[log in to unmask]> wrote:

Hi Pelle,

I had the same issue when doing the cosmic trigger. I had tracks passing directly through scintillator material and only firing sometimes (I was able to check with WIRED). I spent a lot of time thinking it had to do with the rotations, but this was not the case.

The solution that worked for me was instead of filling the scintillators with scintillation material, I filled them with Lead and had a hit every time a track passed through it. I was never able to resolve this issue through the mailing list, but I think it could have to do with how SLIC processes hits or something (not enough energy deposition). 



On Thu, Sep 18, 2014 at 1:22 PM, Hansson Adrian, Per Ola <[log in to unmask]> wrote:
Hi,

Iím getting problem looking at a new geometry in wired.

I run slic with a gps and I see hits in the correct detector elements and positions I expect. I also see the hits when I start jas and it looks alright. However, when I start wired on an event I get a problem in the conversion from heprep. 

It seems to have to do with getting the IDDecoder from the metadata in the BaseLCSimEvent when it tries to set the sensors being hit in the RawTrackerHitSensorSetup. 

Any idea of what problem I could have? 

/Pelle




java.lang.RuntimeException: Could not find or create an IDDecoder for the collection: RawTrackerHitMaker_RawTrackerHits, readout: org.hps.recon.tracking.SimpleTrackerDigiDriver@5f3afac7
at org.lcsim.event.base.BaseLCSimEvent$MetaData.findIDDecoder(BaseLCSimEvent.java:295)
at org.lcsim.event.base.BaseLCSimEvent$MetaData.getIDDecoder(BaseLCSimEvent.java:268)
at org.lcsim.util.heprep.RawTrackerHitConverter.setSensors(RawTrackerHitConverter.java:74)
at org.lcsim.util.heprep.RawTrackerHitConverter.convert(RawTrackerHitConverter.java:50)
at org.lcsim.util.heprep.LCSimHepRepConverter.convert(LCSimHepRepConverter.java:111)
at hep.wired.heprep.plugin.WiredPlugin.convertRecordToHepRep(WiredPlugin.java:652)
at hep.wired.heprep.plugin.WiredPlugin.showWired(WiredPlugin.java:482)
at hep.wired.heprep.plugin.WiredPluginCommandHandler.onNewWired4(WiredPluginCommandHandler.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:125)
at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:162)
at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:290)
at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:136)
at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:326)
at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:89)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
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)



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




--
Respectfully,
Holly 



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