This error occurs when the geometry used in SLIC doesn’t match the geometry for readout. That could happen because the
a) you supplied the two with different detector names (duh…) but this looks ok
b) the readout is reading in SVT alignment constants from the db, overwriting what was used in SLIC. You have correctly used the -DdisableSvtAlignmentConstants flag, so that should be fine (and I’m not sure v0 uses these constants anyway, but don’t quote me on that)
c) the lcdd file (used in slic) and the compact.xml (used in hps-java) don’t match up…i.e. someone changed the compact.xml and forgot to update the lcdd. Can’t tell if that’s the case here, but it’s possible. Why are you using v0 of this detector? We used v1 for pass-1 … it’s probably worth trying that one.
> On Aug 28, 2015, at 7:10 AM, Luca Colaneri <[log in to unmask]> wrote:
>
> Hi all,
>
> I've managed to generate some events with the event generator I'm building, convert them to stdhep and run them through SLIC (v04-01-04, geom HPS-EngRun2015-Nominal-v0.lcdd). Now I'd like to run it through HPS-JAVA for complete reconstruction.
>
> I've been tryind to run redout simulatio, first, bu I get the following error:
>
> INFORMAZIONI: Event 0 with sequence 0
> java.lang.RuntimeException: Distance is outside of sensor by more than 0.001. Distance = 0.32384676042068417. If this is an isolated event, then perhaps DISTANCE_ERROR_THRESHOLD must be increased in CDFSiSensorSim
> at org.lcsim.recon.tracking.digitization.sisim.CDFSiSensorSim.diffusionDistribution(CDFSiSensorSim.java:493)
> at org.lcsim.recon.tracking.digitization.sisim.CDFSiSensorSim.depositChargeOnSense(CDFSiSensorSim.java:251)
> at org.lcsim.recon.tracking.digitization.sisim.CDFSiSensorSim.computeElectrodeData(CDFSiSensorSim.java:114)
> at org.hps.readout.svt.SimpleSvtReadout.doSiSimulation(SimpleSvtReadout.java:268)
> at org.hps.readout.svt.SimpleSvtReadout.process(SimpleSvtReadout.java:177)
> at org.lcsim.util.Driver.doProcess(Driver.java:260)
> at org.lcsim.util.Driver.processChildren(Driver.java:270)
> at org.lcsim.util.Driver.process(Driver.java:186)
> at org.lcsim.util.DriverAdapter.recordSupplied(DriverAdapter.java:74)
> at org.freehep.record.loop.DefaultRecordLoop.consumeRecord(DefaultRecordLoop.java:832)
> at org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:668)
> at org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)
> at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:151)
> at org.lcsim.job.JobControlManager.run(JobControlManager.java:431)
> at org.hps.job.JobManager.run(JobManager.java:55)
> at org.lcsim.job.JobControlManager.run(JobControlManager.java:189)
> at org.hps.job.JobManager.main(JobManager.java:23)
>
>
> this is the command I run..
>
> java -DdisableSvtAlignmentConstants -XX:+UseSerialGC -Xmx500m -jar /home/Luca/Scrivania/HPS-05-2015/hps_trunk/distribution/target/hps-distribution-3.4.0-SNAPSHOT-bin.jar EngineeringRun2015TrigPairs1.lcsim -i lhe1pt05test.slcio -DoutputFile=lhe1pt05testRed -Ddetector=HPS-EngRun2015-Nominal-v0 -Drun=0
>
>
> any ideas?
>
> L.
>
> --
> PhD Student,
> Università degli Studi di Roma Tor Vergata
> INFN sez. Roma2
> Via della Ricerca Scientifica 1, 00133 Rome, Italy
> +39 0672594562
>
> ########################################################################
> 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
|