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

Compare with Current View Page History

« Previous Version 3 Next »

Preliminaries

You must first set CVSROOT as follows (bash).

export CVSROOT=:pserver:anonymous@cvs.freehep.org:/cvs/lcd

Please use bash rather than csh, as I'm not sure it will work in that environment right now.

Build SimDist

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

hps-detectors

Check the hps-detectors module from cvs.

cvs co hps-detectors

Run Event Simulation

./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

Get a Current Version of LCSim

wget http://www.lcsim.org/maven2/org/lcsim/lcsim/1.18-SNAPSHOT/lcsim-1.18-SNAPSHOT-bin.jar

hps-java

Checkout hps-java from cvs and build it.

cvs co hps-java
cd hps-java
mvn install

Detector Alias

echo "HPS-EcalTest-v1pt0: file://$(pwd)/hps-detectors/detectors/HPS-EcalTest-v1pt0" >> ~/.lcsim/alias.properties

Sample Recon & Analysis

java -jar ./lcsim-1.18-SNAPSHOT-bin.jar -DinputFile=./hpsEcalTest \
./hps-java/src/main/resources/org/lcsim/hps/steering/ecal_example.lcsim
  • No labels