Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
...
Prepare a plain text file containing the run and event number for the events of interest. This should be a space-delimited list, with one run-event pair per line.
Prepare a steering file similar to the following:
Code Block | ||||
---|---|---|---|---|
| ||||
<lcsim xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcsim/1.0/lcsim.xsd"> <inputFiles> <fileList>${inputFileList}</fileList> </inputFiles> <control> <printInputFiles>true</printInputFiles> <printDriversDetailed>true</printDriversDetailed> </control> <execute> <driver name="EventMarkerDriver"/> <driver name="LCIOSkimmer"/> <driver name="LCIOWriter"/> </execute> <drivers> <driver name="EventMarkerDriver" type="org.lcsim.job.EventMarkerDriver"> <eventInterval>1000</eventInterval> </driver> <driver name="LCIOSkimmer" type="org.hps.recon.filtering.LcioEventSkimmer"> <runAndEventsToStripFileName>${runAndEventsToSkim}</runAndEventsToStripFileName> <debug>true</debug> </driver> <driver name="LCIOWriter" type="org.lcsim.util.loop.LCIODriver"> <outputFilePath>${outputFile}</outputFilePath> </driver> </drivers> </lcsim> |
Run the job using the latest hps-java binary jar file
Code Block |
---|
> java -server -jar hps-distribution-3.11-SNAPSHOT-bin.jar -DinputFileList=lcioFileList.txt -DrunAndEventsToSkim=runAndEventList.txt -DoutputFile=skimmedEvents skimit.lcsim |