A bunch of useful C++ scripts for analysing MC data