Skip to content

ajdobbs/mica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MICA - Muon Ionization Cooling Analysis

Author - A. J. Dobbs

MICA is an analysis framework for the Muon Ionization Cooling Experiment. It is dependent on the MICE reconstruction software, MAUS.

Installation instructions

  • Make a directory for the project
mkdir mica
cd mica
  • Obtain the source code by cloning the MICA repository with git into a subdirectory:
git clone git@github.com:ajdobbs/mica.git source

or, if you do not have a github login, clone anonymously with:

git clone https://github.com/ajdobbs/mica.git source
source /path/to/maus/env.sh
  • Make a build directory
mkdir build
cd build
  • Build using CMake
cmake ../source/ -DCMAKE_INSTALL_PREFIX:PATH=/path/to/install/directory
make -jN

where the last argument to cmake is optional, specifying a custom installation directory, and N is the number of cores to build with.

  • To clean a build, simply delete everything in your build directory

  • Installation

If you wish you to install MICA rather than running from the build directory, do:

make install

Note: if using a custom installation directory, you may need to update LD_LIBRARY_PATH and PATH:

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/path/to/install/directory/lib
export PATH=${PATH}:/path/to/install/directory/bin

Usage

Run an analysis with:

./bin/mica /path/to/maus/recon/data/maus_output.root

The output can then be found in analysis.pdf.

About

Analysis software for the Muon Ionization Cooling Experiment (MICE)

Resources

Stars

Watchers

Forks

Packages

No packages published