Adding code compilable outside of ROOT and automatic analysis program