Print

Print


Hello hps-software,

I am attempting to reconstruction over some 2.2 GeV readout with custom
trigger cuts, but I get the following error within around 12 seconds of
starting the run:

java.lang.NullPointerException
>         at
> org.hps.recon.ecal.cluster.ClusterEnergyCorrection.computeCorrectedEnergy(ClusterEnergyCorrection.java:94)
>         at
> org.hps.recon.ecal.cluster.ClusterEnergyCorrection.calculateCorrectedEnergy(ClusterEnergyCorrection.java:46)
>         at
> org.hps.recon.ecal.cluster.ClusterEnergyCorrection.setCorrectedEnergy(ClusterEnergyCorrection.java:64)
>         at
> org.hps.recon.ecal.cluster.ClusterUtilities.applyCorrections(ClusterUtilities.java:369)
>         at
> org.hps.recon.particle.ReconParticleDriver.makeReconstructedParticles(ReconParticleDriver.java:343)
>         at
> org.hps.recon.particle.ReconParticleDriver.process(ReconParticleDriver.java:445)
>         at
> org.hps.recon.particle.HpsReconParticleDriver.process(HpsReconParticleDriver.java:132)
>         at org.lcsim.util.Driver.doProcess(Driver.java:261)
>         at org.lcsim.util.Driver.processChildren(Driver.java:271)
>         at org.lcsim.util.Driver.process(Driver.java:187)
>         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:950)
>         at org.hps.job.JobManager.run(JobManager.java:61)
>         at org.hps.job.JobManager.main(JobManager.java:27)
>

Back-tracking this, it seems to be related to either the database or the
geometry, but I am not familiar enough with the process that is crashing to
know for sure. It appears that some metadata or similar property does not
exist for the 2.2 GeV detector, and therefore crashing upon reference.

Any ideas how to correct this?

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