backup of GctErrorAnalyzer.cc