Print

Print


Hi All,

since I fixed this (mostly) I should just reply with saying that what I needed to do was to wipe out my installation and start from scratch. Then it worked with Jas 3.1.0. It’s not clear to me what was wrong but it again reminds me that it’s useful to try a forced recompilation of all the maven projects by removing the “m2” directory of you local installation.

And to clarify for people; to look at the detector volumes you don’t need to run digitization (or “readout simulation”) at all. You should be able to look at the detector directly on the slcio output file from slic. Obviously no hit collections (except maybe the G4 SimTrackerHit) are visible at that point but that was what I needed for this.

Thanks to Jeremy for helping.

/Pelle


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

Thanks for the reply.

I will. Question though. Sho can probably answer this: I use the SimpleTrackerDigiDriver now but if using  DataTrackerHitDriver might solve it I will try?

I noticed that the particular StripMaker that was used in DataTrackerHitDriver asks for FittedRawTrackerHit from the readout by class type. Does it mean I would need to run the RawTrackerHitFitterDriver after the SimpleTrackerDigiDriver in order to be able to use it? Gaah..

On Sep 18, 2014, at 10:53 AM, McCormick, Jeremy I. <[log in to unmask]<mailto:[log in to unmask]>> wrote:

Sorry, prematurely hit send....

I believe this is done correctly in, for instance, DataTrackerHitDriver.

I'll look into it.  Pelle, can you open a bug report for me on Jira including this traceback?  I need to know what .lcsim file you use too.

On Sep 18, 2014, at 10:50 AM, "McCormick, Jeremy I." <[log in to unmask]<mailto:[log in to unmask]>> wrote:

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]<mailto:[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]<mailto:[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)

________________________________

Spam<https://www.spamtrap.odu.edu/canit/b.php?i=03MQFmNlo&m=442265587dec&t=20140918&c=s>
Not spam<https://www.spamtrap.odu.edu/canit/b.php?i=03MQFmNlo&m=442265587dec&t=20140918&c=n>
Forget previous vote<https://www.spamtrap.odu.edu/canit/b.php?i=03MQFmNlo&m=442265587dec&t=20140918&c=f>

________________________________

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


________________________________

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