Difference between revisions of "2023 KLF Simulations"

From kl project
Jump to navigation Jump to search
Line 5: Line 5:
 
First, explain how to install GlueX software.
 
First, explain how to install GlueX software.
  
Note that the GlueX software installation has been verified to work on RedHat/CentOS 7 and various Ubuntu versions - basically anywhere you can install the `scons` package.  Instructions exist on how to install on RedHat/CentOS 8, link to them.  The software currently does not build under RedHat/CentOS 9 - you are better off running the software inside a container in this case, for now.
+
Note that the GlueX software installation has been verified to work on RedHat/CentOS 7 and various Ubuntu versions - basically anywhere you can install the <code>scons</code> package.  Instructions exist on how to install on RedHat/CentOS 8, link to them.  The software currently does not build under RedHat/CentOS 9 - you are better off running the software inside a container in this case, for now.
  
A version of the dedicated KLF event generator can be downloaded and installed from here `https://github.com/sdobbs/KLGenerator_hddm_V3` using the following commands:
+
A version of the dedicated KLF event generator can be downloaded and installed from here <code>https://github.com/sdobbs/KLGenerator_hddm_V3</code> using the following commands:
<code>
+
<pre>
 
git clone https://github.com/sdobbs/KLGenerator_hddm_V3
 
git clone https://github.com/sdobbs/KLGenerator_hddm_V3
 
cd KLGenerator_hddm_V3
 
cd KLGenerator_hddm_V3
 
scons install
 
scons install
</code>
+
</pre>
  
Note that `KLGenerator_hddm_V3` is installed under `$HALLD_MY/bin`, so make sure that you have that directory in your `PATH`.  
+
Note that KLGenerator_hddm_V3 is installed under <code>$HALLD_MY/bin</code>, so make sure that you have that directory in your <code>PATH</code>.
  
 
= Generating Events =
 
= Generating Events =

Revision as of 11:34, 28 July 2023

Installing Software

First, explain how to install GlueX software.

Note that the GlueX software installation has been verified to work on RedHat/CentOS 7 and various Ubuntu versions - basically anywhere you can install the scons package. Instructions exist on how to install on RedHat/CentOS 8, link to them. The software currently does not build under RedHat/CentOS 9 - you are better off running the software inside a container in this case, for now.

A version of the dedicated KLF event generator can be downloaded and installed from here https://github.com/sdobbs/KLGenerator_hddm_V3 using the following commands:

git clone https://github.com/sdobbs/KLGenerator_hddm_V3
cd KLGenerator_hddm_V3
scons install

Note that KLGenerator_hddm_V3 is installed under $HALLD_MY/bin, so make sure that you have that directory in your PATH.

Generating Events

The `KLGenerator_hddm_V3` program has some good online help through the `-h` switch.

For an example, let's try generating 1M KL p -> Ks p events.

KLGenerator_hddm_V3 -M100 -Fgenerated.root -Ekaon:histo:1.0:4.0 -Rkl2