Source code for the TABARI C++ event coding program