tell geant to compile using c++11
add generic ROOT6 class for testing