Hi Kyle, Looks like your error is really in lcsim, not hps-java, and I don’t think lcsim cares about hps’s database? It might be you just need a X.properties file in the SamplingFraction subdirectory for your detector (where X is the name of your hodoscope detector in the compact.xml), just a guess ... -Nathan > On Feb 21, 2018, at 15:12, Kyle McCarty <[log in to unmask]> wrote: > > Hello hps-software, > > Recently, we ran a sample of Monte Carlo on the newest hodoscope detector geometry. It successfully output data from SLIC, but an error occurs when trying to load this data into HPS-Java: > > Exception in thread "main" java.lang.NullPointerException > at org.lcsim.event.base.SamplingFractionManager.getCorrectedEnergy(SamplingFractionManager.java:34) > at org.lcsim.event.base.BaseCalorimeterHit.calculateCorrectedEnergy(BaseCalorimeterHit.java:120) > at org.lcsim.lcio.SIOSimCalorimeterHit.<init>(SIOSimCalorimeterHit.java:68) > at org.lcsim.lcio.SIOSimCalorimeterHitBlockHandler.addCollectionElements(SIOSimCalorimeterHitBlockHandler.java:23) > at org.lcsim.lcio.AbstractBlockHandler.readCollection(AbstractBlockHandler.java:39) > at org.lcsim.lcio.AbstractBlockHandler.readBlock(AbstractBlockHandler.java:32) > at org.lcsim.lcio.LCIOReader.read(LCIOReader.java:77) > at org.hps.util.FilterMCBunches.main(FilterMCBunches.java:177) > > I would assume this is because there are no conditions defined for the hodoscope geometry. Is there a way to bypass this and just have the hodoscope hits use the raw energy rather than trying to calculate a corrected energy from a sampling fraction that we don't presently have? > > Thanks, > > Kyle > > 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