Monte Carlo C++ analysis tools