Okay, so the default gains where each channel is set to 1.0 somehow got zapped (probably something I did in one of my less glorious moments), so I un-deleted them and replicated back to the SLAC db.  

Things seem to be working now, and Iím keeping an eye on the Hudson buildÖ

BTW, I guess if it canít find per channel ECAL gains, then the recon could just use 1.0 as the default.  Or should that be a fatal error always if it canít find an actual conditions set for this?

On Dec 14, 2014, at 12:24 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:

Iím looking into it...

On Dec 14, 2014, at 12:12 PM, Kyle McCarty <[log in to unmask]> wrote:

Hello Sho,

The Jenkins system is reporting test failures related to the conditions database. Is it possible that there is something there that is related to this issue? I'm CCing Jeremy, since he might be interested in this if that is the case.

Thanks,

Kyle

On Sun, Dec 14, 2014 at 1:48 PM, Kyle McCarty <[log in to unmask]> wrote:
Hello Sho,

I am getting a NullPointerException when running the simulation from FADCReadoutDriver. It happens immediately on the first event. The following is the error message:

java.lang.NullPointerException
    at org.hps.readout.ecal.FADCEcalReadoutDriver.putHits(FADCEcalReadoutDriver.java:452)
    at org.hps.readout.ecal.EcalReadoutDriver.process(EcalReadoutDriver.java:104)
    at org.lcsim.util.Driver.doProcess(Driver.java:273)
    at org.lcsim.util.Driver.processChildren(Driver.java:284)
    at org.lcsim.util.Driver.process(Driver.java:198)
    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:424)
    at org.hps.job.JobManager.run(JobManager.java:29)
    at org.lcsim.job.JobControlManager.run(JobControlManager.java:182)
    at org.hps.job.JobManager.main(JobManager.java:18)

I have made no changes to the parameters in the driver from what is in the default steering files. If it helps, this is the line causing the error:

noise = Math.sqrt(Math.pow(channelData.getCalibration().getNoise() * channelData.getGain().getGain() * ECalUtils.gainFactor * ECalUtils.ecalReadoutPeriod, 2) + hit.getRawEnergy() / (ECalUtils.lightYield * ECalUtils.quantumEff * ECalUtils.surfRatio));

Do you know why this is happening?

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