Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.58 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.58 KB

C/C++ CI ubuntu
C/C++ CI docker
C/C++ CI macos
C/C++ CI cuda-ifarm

DOI

Welcome to JANA!

JANA is a C++ framework for multi-threaded HENP (High Energy and Nuclear Physics) event reconstruction. Please see the JANA website for full documentation.

JANA2 is a complete rewrite retaining successful features from the original while modernizing the framework for a new generation of experiments. The code is under active development, but is ready for use as is. You are welcome to check it out and give feedback to help us improve it.

Just to whet your appetite a little, the code snippet below is the most common signature of JANA. A large fraction of end users won't really need to know much more than this.

auto tracks = jevent->Get<DTrack>();

for(auto t : tracks){
  // ... do something with a track
}

To quickly build and install, run:

mkdir build
mkdir install
export JANA_HOME=`pwd`/install
cmake -S . -B build
cmake --build build -j 10 --target install
install/bin/jana -Pplugins=JTest

For detailed instructions, see the howto guide.