Closed andrea-celentano closed 5 years ago
I propose patching LCSimEngRunEventBuilder
at line 102:
// Set TI time offset from run database.
DatabaseConditionsManager mgr = (DatabaseConditionsManager) conditionsEvent.getConditionsManager();
if (mgr.hasConditionsRecord("ti_time_offsets")) {
TiTimeOffset t = mgr.getCachedConditions(TiTimeOffset.class, "ti_time_offsets").getCachedData();
currentTiTimeOffset = t.getValue();
}
I need the command line to run
With the patch, this command seems to work:
java -cp ./distribution/target/hps-distribution-4.4-SNAPSHOT-bin.jar org.hps.evio.EvioToLcio -d HPS-ECalCommissioning -R 9000 -r -x /org/hps/steering/monitoring/EcalLedSequenceStandalone.lcsim /work/slac/data/hps_ecal_calib_000081_1000evts.evio.0 -b -DoutputFile=led_test
I still get all the errors about converting trigger data but that's a separate issue.
This should be resolved by PR #470.
When launching hps-java on a evio file taken with ECAL-Only DAQ, run number 9004, the following error is reported. I tried both using as detector:
and
Sample data:
/work/hallb/hps/data/led/evio/
The command to replicate the error: