You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

These instructions assume "hps-java.jar" is the hps-java jar file you downloaded using the instructions on Basic Use of hps-java, or compiled yourself.

The input data for this step is SLIC output; download from one of the sources listed on Finding Monte Carlo data at SLAC or generate using the instructions on Generating Monte Carlo Data.

Photon beam data

Filter and space out events

Photon beam events are simulated without pileup, so empty events must be inserted. (FilterMCBunches also deletes events unlikely to cause triggers.)

java -cp hps-distribution.jar org.lcsim.hps.users.meeg.FilterMCBunches in.slcio filtered.slcio -e250

Run simulation

The "runNumber" variable corresponds to run numbers in HPS Test Run - Run List; it sets the calibration constants to those seen in data from the specified run.

java -jar hps-distribution.jar -r /org/lcsim/hps/steering/readout/TestRunReadoutToEvio.lcsim -i filtered.slcio -DoutputFile=readout -DrunNumber=1351
java -jar hps-distribution.jar -r /org/lcsim/hps/steering/readout/TestRunReadoutToLcio.lcsim -i filtered.slcio -DoutputFile=readout -DrunNumber=1351

Electron beam data for 2014 run

Filter and space out events

If you're running A' or trident events for which a high trigger rate (more than around 1 trigger per 1000 events) is expected, you should insert empty bunches (or use the no-pileup simulation - see below - which runs much faster but is less realistic in simulating detector timing and efficiencies) since the readout simulation simulates pileup in the detectors assuming input events correspond to consecutive 2 ns beam bunches.

java -cp hps-distribution.jar org.lcsim.hps.users.meeg.FilterMCBunches in.slcio filtered.slcio -a -e500

Run simulation

Output to EVIO format:

java -jar hps-distribution.jar -r /org/lcsim/hps/steering/readout/HPS2014ReadoutToEvio.lcsim -i in.slcio -DoutputFile=readout

Output to LCIO format:

java -jar hps-distribution.jar -r /org/lcsim/hps/steering/readout/HPS2014ReadoutToLcio.lcsim -i in.slcio -DoutputFile=readout

Simulate without pileup (each event is treated independently, all detectors are reset between events), output to LCIO format:

java -jar hps-distribution.jar -r /org/lcsim/hps/steering/readout/HPS2014ReadoutNoPileup.lcsim -i in.slcio -DoutputFile=readout
  • No labels