Primary Vertex Reconstruction (pvr) for HADES based on the procedure developed by Matthias Zipper:
M. Zipper, Technische Universität München (2015) Measuring πΛ Correlations in π- + W Reactions at 1.7 GeV/c with HADES
See Appendix A of:
https://www.das.ktas.ph.tum.de/DasDocs/Public/Bachelor_Theses/MatthiasZipper_BachelorThesis_v1.pdf
===========================================================
// include header
#include <PrimVertReco.h>
// Create class object
PrimVertReco pvr;
// add tracks using one of the three overloaded functions:
// void insert_track(HParticleCand* track);
// void insert_track(const hades_track & track);
// void insert_track(const TVector3 & base, const TLorentzVector & track);
pvr.insert_track(...);
// calculate the vertex
Tvector3 prim_vector = pvt.calc();
// cleanup the object to prepare for new tracks:
pvr.cleanup();
- Installation ===========================================================
git clone https://github.com/dziadu/PrimVertReco cd PprimVvertexReco mkdir build cd build
cmake .. make sudo make install
cmake .. -DCMAKE_INSTALL_PREFIX=your_custom_location make make install
See the BUILDING document.
See the CONTRIBUTING document.