Skip to content

The Light Dark Matter eXperiment simulation and reconstruction framework.

License

Notifications You must be signed in to change notification settings

SanjitMasanam/reducedEcal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation and reconstruction framework for the Light Dark Matter eXperiment.

Quick Start

  • Install the docker engine
  • (on Linux systems) Manage docker as non-root user
  • Clone the repo: git clone --recursive git@github.com:LDMX-Software/ldmx-sw.git
  • Setup the environment (in bash): source ldmx-sw/scripts/ldmx-env.sh
    • Note: If you are working with ldmx-sw at SLAC's SDF, you will need to set the TMPDIR environment variable so that program running the container has more than ~5GB of space to write intermediate files. The default temporary space (/tmp) is often full of other files already. A decent replacement is TMPDIR=${SCRATCH} which gives the program plenty of room for the files it needs to manipulate.
  • Make a build directory: cd ldmx-sw; mkdir build; cd build;
  • Configure the build: ldmx cmake ..
  • Build and Install: ldmx make install -j2
  • Now you can run any processor in ldmx-sw through ldmx fire myconfig.py

Documentation

The full documentation for ldmx-sw is available on github pages. A brief description of common commands is given below.

Common Commands inside Container

Command Purpose
ldmx cmake .. Configure the ldmx-sw build
ldmx make Compile/build ldmx-sw
ldmx make install Install ldmx-sw
ldmx fire config.py Use ldmx-sw application and processors with input python configuration
ldmx python3 analysis.py Run python-based analysis
ldmx ./bin/mg5_aMC Run MadGraph5 inside (ubuntu-based) container

Other Container Configuration Commands

The environment script defines several other shell commands to help configure and debug the container environment.

  • ldmx list repo : List the container tags that you could use with the input repository: dev, pro, or local
  • ldmx use repo tag : Setup the environment for the container 'ldmx/repo:tag' and pull down the newest version if the repo is remote
  • ldmx config : Print out how the container environment is currently configured
  • ldmx clean all : Reset environment to a blank state

Use ldmx help for a full listing of these commands. If we don't define a command outside of the container, then the command is given to the container to run inside the current directory.

Maintainer

Contributors

About

The Light Dark Matter eXperiment simulation and reconstruction framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 75.1%
  • Python 19.3%
  • Shell 3.4%
  • CMake 2.1%
  • Other 0.1%