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

Compare with Current View Page History

« Previous Version 5 Next »

Overview

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.

Preliminaries

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.

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

Sample signal events can be obtained from this ftp space.

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