Versions Compared

Key

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

Writing an analysis driver

You need to have lcsim installed and compiled. These instructions assume you have symlinks such that "hps-java.jar" points to hps-java/target/hps-java-1.2-SNAPSHOT-bin.jar, and "steering" points to hps-java/src/main/resources/org/lcsim/hps/steering/.

This will read the reconstructed LCIO file recon.slcio, run the drivers listed in StarterAnalysis.lcsim, and save plots to analysis_plots.aida:

No Format
java -jar hps-java.jar -i recon.slcio steering/StarterAnalysis.lcsim -DoutputFile=analysis_plots

Plots saved to AIDA files can be viewed in JAS3.

Viewing events in JAS3

See instructions in HPS Digitization, Tracking, and Analysis Software and Installing HPS Software to install JAS3 and the lcsim plugin for JAS3.

Open the reconstructed LCIO file using either "File->Open File" or "File->Open Data Source." The name of the file should appear in the toolbar along with buttons for moving forward and backwards through the file, and the LCSim event browser.
Image Added