Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
You need to have lcsim installed and compiled. These instructions assume you have symlinks such that "lcsim"hps-distribution.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/.
Photon beam events are simulated without pileup, so empty events must be inserted. Skip this step for electron beam events.
is the hps-java jar file you downloaded using the instructions on Running 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 Using SLIC to Generate MC Data.
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
|
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/TestRunReadoutToEvio.lcsim -i filtered.slcio -DoutputFile=readout -DrunNumber=1351
|
No Format |
---|
java -jar hps-distribution-bin.jar -r /org/hps/steering/readout/TestRunReadoutToLcio.lcsim -i filtered.slcio -DoutputFile=readout -DrunNumber=1351
|
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.
No Format |
---|
java -cp hps-distribution-bin.jar org |
No Format |
java -Xmx10m -cp lcsim.jar org.lcsim.hps.users.meeg.FilterMCBunches in.slcio outfiltered.slcio -a -e250 |
"-a" tells FIlterMCBunches not to filter out any events. Running FIlterMCBunches without input or output files will print a full list of filter options.
Output to EVIO format:
No Format |
---|
java -jar lcsimhps-distribution-bin.jar -r /org/hps/steering/readout/HPSTestRunReconToEvioHPS2014ReadoutToEvio.lcsim -i 55bb_250in.slcio -DevioFileDoutputFile=test.evio readout |
Output to LCIO format:
No Format |
---|
java -jar lcsimhps-distribution-bin.jar -r /org/hps/steering/readout/HPSTestRunReconToLcioHPS2014ReadoutToLcio.lcsim -i 55bb_250in.slcio -DoutputFile=test.slcioreadout |
Simulate without pileup (each event is treated independently, all detectors are reset between events), output to LCIO format:
No Format |
---|
java -jar hps-distribution-bin.jar -r /org/hps/steering/readout/HPS2014ReadoutNoPileup.lcsim -i in.slcio -DoutputFile=readout
|