Documentation in progress...
KFCmd is a detector-dependent part of the kinematic and vertex fitting software developed for the CMD-3 experiment.
- tr_ph v9 (with phrad branch). See branch tr_ph_v8 in order to switch to tr_ph v8.
Eigen 3template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms: https://eigen.tuxfamily.org/index.php?title=Main_Page (successfully tested with version3.4).ROOTdata analysis framework used by high energy physics and others: https://root.cern (successfully tested with version6.26).KFBasefitting package: https://github.com/sergeigribanov/KFBase.
- Get the source code:
git clone https://github.com/sergeigribanov/KFCmd- Setup
ROOTenvironment:
source <path to ROOT installation>/bin/thisroot.sh- Create a build directory:
mkdir <path to a build directory>
cd <path to a build directory>- Run CMake:
cmake -DCMAKE_INSTALL_PREFIX=<installation prefix> <path to the source code directory>To set C++ standard, -DCMAKE_CXX_STANDARD option can be used. The same standard should be used that was used to build the ROOT frameworkand KFBase package.
- Build the package:
make- Install the package:
make install