Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
This guide will explain how to generate physics events in an HPS setup including the ECal and the tracking detectors. Reconstruction and analysis is performed on the ECal data only.
The Maven 2 tool must be installed locally (not covered here), as well as a Java JDK.
You must first set CVSROOT to SLAC CVS (example in bash shell).
export CVSROOT=:pserver:anonymous@cvs.freehep.org:/cvs/lcd
Other shells like csh have not been tested.
Create a work area where packages will be installed.
mkdir hps cd hps
In order to get a working version of slic, follow the
SimDist Build Instructions.
SLAC users with NFS access may use this script.
/nfs/slac/g/lcd/mc/prj/sw/dist/SimDist/pro/scripts/slic.sh
In your work area, checkout the hps-detectors module from cvs and install it.
cvs co hps-detectors cd hps-detectors mvn cd ..
This will locally install the HPS detector data.
The following example shows how to generate some LCIO events using slic.
./SimDist/scripts/slic.sh -g ./hps-detectors/detectors/HPS-EcalTest-v1pt0/HPS-EcalTest-v1pt0.lcdd \ -i /nfs/slac/g/hps/mgraham/DarkPhoton/SignalEvents/ap6.6gev100mevsel_10_20u_beamspot_gammactau_0cm.stdhep \ -x -o hpsEcalTest -r 10000
If you do not have SLAC NFS access, sample signal events can be obtained from this ftp space.
Download a current version of the LCSim jar into your work dir.
wget http://www.lcsim.org/maven2/org/lcsim/lcsim/1.18-SNAPSHOT/lcsim-1.18-SNAPSHOT-bin.jar
Checkout hps-java from cvs and build it.
cvs co hps-java cd hps-java mvn install
This module contains Java code specific to the HPS experiment.
echo "HPS-EcalTest-v1pt0: file://$(pwd)/hps-detectors/detectors/HPS-EcalTest-v1pt0" >> ~/.lcsim/alias.properties
java -jar ./lcsim-1.18-SNAPSHOT-bin.jar -DinputFile=./hpsEcalTest \ ./hps-java/src/main/resources/org/lcsim/hps/steering/ecal_example.lcsim