Versions Compared

Key

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

...

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 Using SLIC to Generate MC 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.)

No Format
java -cp hps-distribution-bin.jar org.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.

...

No Format
java -jar hps-distribution-bin.jar -r /org/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.

...

"-a" tells FIlterMCBunches not to filter out any events. Running FIlterMCBunches without input or output files will print a full list of filter options.

Run simulation

Output to EVIO format:

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

...