Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

You need to have lcsim installed and compiled. These instructions assume you have symlinks such that "hps-javadistribution.jar" points to is the hps-java /target/hps-java-1.2-SNAPSHOT-bin.jar, and "steering" points to hps-java/src/main/resources/org/lcsim/hps/steering/jar file you downloaded using the instructions on Running HPS Java, or compiled yourself.

The input data for this step is readout data; use either real 2012 test run data (EVIO format) or generate from simulation using the instructions in Running 2014 Readout Simulation.

Reconstructing readout data (either real data or output of readout simulation)

Use TestRunOfflineRecon.lcsim for both test run data and ; substitute HPS2014OfflineRecon.lcsim for simulated 2014 data.

One-step process (EVIO to recon'ed LCIO)

No Format

java -cp hps-distribution-javabin.jar org.lcsim.hps.evio.TestRunEvioToLcioEvioToLcio -r -x /org/hps/steering/recon/TestRunOfflineRecon.lcsim prod/hps_001351.evio.0 -DoutputFile=recon.slcio

Note: the "-d HPS-TestRun-v3" specifies the detector to be used in the reconstruction and is required. See Detector Geometry Overview for the current best detector.

Two-step process (EVIO to raw LCIO to recon'ed LCIO)

No Format

java -cp hps-distribution-javabin.jar org.lcsim.hps.evio.TestRunEvioToLcioEvioToLcio prod/hps_001351.evio.0 -l raw.slcio
java -jar hps-javadistribution-bin.jar -r /org/hps/steering/recon/TestRunOfflineRecon.lcsim -i raw.slcio -DoutputFile=recon.slcio

Reconstructing LCIO data from readout simulation (raw LCIO to recon'ed LCIO)

This is just the second half of the two-step process.

No Format

java -jar hps-distribution-javabin.jar -r /org/hps/steering/recon/TestRunOfflineRecon.lcsim -i raw.slcio -DoutputFile=recon.slcio

Reconstructing SLIC output directly

No Format

java -jar hps-javadistribution.jar -r /org/hps/steering/readout/HPSTrackingDefaults.lcsim -i ap2.2gev075mev_001_SLIC.slcio -DoutputFile=ap_recon.slcio