Difference between revisions of "2023 KLF Simulations"
Line 3: | Line 3: | ||
= Installing Software = | = Installing Software = | ||
− | + | The reconstruction and analysis software are built on the same software stack used for the analysis of photon beam measurements with the GlueX detector. | |
+ | * You can find some general information on GlueX software and computing [https://halldweb.jlab.org/wiki/index.php/Getting_Started_At_GlueX at this page]. | ||
+ | * A general overview of the GlueX software [https://halldweb.jlab.org/wiki/index.php/Software can be found here]. | ||
+ | |||
+ | There are a couple of different ways to install the GlueX software stack. | ||
+ | * You can [https://halldweb.jlab.org/docs/build_scripts_web/node10.html follow these instructions to build the full software stack locally]. | ||
+ | * Or you can [https://halldweb.jlab.org/wiki/index.php/HOWTO_use_the_GlueX_Singularity_Container run the GlueX software in a container]. | ||
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. | 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. |
Revision as of 14:35, 4 August 2023
Installing Software
The reconstruction and analysis software are built on the same software stack used for the analysis of photon beam measurements with the GlueX detector.
- You can find some general information on GlueX software and computing at this page.
- A general overview of the GlueX software can be found here.
There are a couple of different ways to install the GlueX software stack.
- You can follow these instructions to build the full software stack locally.
- Or you can run the GlueX software in a container.
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