Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

No Format
mkdir hps
cd hps

Build SimDist

In order to get a working version of slic, follow the
SimDist Build Instructions.

...

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

hps-detectors

In your work area, checkout the hps-detectors module from cvs and install it.

...

This will locally install the HPS detector data.

Run Event Simulation

The following example shows how to generate some LCIO events using slic.

...

If you do not have SLAC NFS access, sample signal events can be obtained from this ftp space.

Wiki Markup
{htmlcomment}
h2. Get a Current Version of LCSim

...



Download a current version of the LCSim jar into your work dir.


{noformat

...

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

...


{noformat}

h2. hps-java

...



Checkout _hps-java_ from cvs and build it.


{noformat

...

}
cvs co hps-java
cd hps-java
mvn install
{noformat}

...


This module contains Java code specific to the HPS experiment.

h2.
 Detector Alias

...



{noformat

...

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

...

Sample Recon & Analysis

...


{noformat}

h2. Sample Recon & Analysis

{noformat}
java -jar ./lcsim-1.18-SNAPSHOT-bin.jar -DinputFile=./hpsEcalTest \
./hps-java/src/main/resources/org/lcsim/hps/steering/ecal_example.lcsim
{noformat}
{htmlcomment}