Print

Print


Dear HPS,
I think I figured out the error. It was related to the detector being used. The one in the script was ECalCommissioning: I tried to use the monitoring app to manually set the 2019 detector, but for some reasons that did not work. However, setting the detector name in the configuration file did work.

Bests,
Andrea

On Jul 4, 2019, at 12:11, Andrea Celentano <[log in to unmask]> wrote:

Dear HPS,
I am trying to run the HPS monitoring app on clon machines:

-> user hpsrun on clondaq5
-> script: /home/hpsrun/scripts/startEcalLEDDebugMonitoring.csh

The monitoring app starts, and I am able to connect to the ET ring. However, first I get the following error (only once, at the beginning):
(Daq is running, Ecal only: PROD66_NOSVT, trigger: $CLON_PARMS/HPS/ECal/led-mode1.cnf)

org.hps.record.RecordProcessingException: Error processing record.
        at org.hps.record.composite.RecordProcessorAdapter.process(RecordProcessorAdapter.java:66)
        at org.hps.record.composite.EvioEventAdapter.recordSupplied(EvioEventAdapter.java:118)
        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.hps.record.composite.CompositeLoop.loop(CompositeLoop.java:208)
        at org.hps.record.composite.EventProcessingThread.run(EventProcessingThread.java:66)
Caused by: java.lang.RuntimeException: Failed to find DAQ pair for sensor: module_L1b_halfmodule_axial_slot_sensor0
        at org.hps.detector.svt.SvtDetectorSetup.loadDefault(SvtDetectorSetup.java:138)
        at org.hps.detector.svt.SvtDetectorSetup.conditionsChanged(SvtDetectorSetup.java:100)
        at org.lcsim.conditions.ConditionsManagerImplementation.fireConditionsChanged(ConditionsManagerImplementation.java:122)
        at org.lcsim.conditions.ConditionsManagerImplementation.setConditionsReader(ConditionsManagerImplementation.java:69)
        at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:53)
        at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:816)
        at org.hps.record.evio.EvioDetectorConditionsProcessor.initializeConditions(EvioDetectorConditionsProcessor.java:61)
        at org.hps.record.evio.EvioDetectorConditionsProcessor.process(EvioDetectorConditionsProcessor.java:48)
        at org.hps.record.evio.EvioDetectorConditionsProcessor.process(EvioDetectorConditionsProcessor.java:16)
        at org.hps.record.composite.RecordProcessorAdapter.process(RecordProcessorAdapter.java:64)


Then, in each event, I get the following:

SEVERE: Error making ECal hits.
java.lang.NullPointerException
        at org.hps.evio.EcalEvioReader.daqToGeometryId(EcalEvioReader.java:276)
        at org.hps.evio.EcalEvioReader.makeWindowHits(EcalEvioReader.java:251)
        at org.hps.evio.EcalEvioReader.makeHits(EcalEvioReader.java:134)
        at org.hps.evio.LCSimEngRunEventBuilder.makeLCSimEvent(LCSimEngRunEventBuilder.java:164)
        at org.hps.record.composite.LcioEventAdapter.recordSupplied(LcioEventAdapter.java:103)
        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.hps.record.composite.CompositeLoop.loop(CompositeLoop.java:208)
        at org.hps.record.composite.EventProcessingThread.run(EventProcessingThread.java:66)


The null pointer is the object "ecalConditions", that should get initialized by the method "initialize()" of EcalEvioReader class

I am correct in thinking that the first error is related to conditions system initialization, that for some reason (SVT-related) is not successful, and that this error prevents to properly initialize the ecalConditions object?

Thanks
Bests,
Andrea


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