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

Compare with Current View Page History

« Previous Version 11 Next »

Overview

This guide will explain how to generate physics events in an HPS setup including the ECal and the tracking detectors.

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.

Create a work area where packages will be installed.

mkdir hps
cd hps

Build SimDist

You need a copy of SLIC. See the build instructions at: Installing HPS Software

These may now be obsolete, because of the new install methods. It used to be that SLAC users with NFS access may use this script.

/nfs/slac/g/lcd/mc/prj/sw/dist/SimDist/pro/scripts/slic.sh

JLAB users with computer access may use this script.

/home/clashps/HPS_Software/SimDist/scripts/slic.sh

hps-detectors

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.

Run Event Simulation

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.

  • No labels