While the example runs fine with ROOT output, the AIDA version causes a segmentation fault due to an error when booking tuples. In the exrdmHisto::addTuple method, #ifdef G4ANALYSIS_USE_AIDA ntup.push_back(0); #endif should be #ifdef G4ANALYSIS_USE_AIDA tupleId.push_back(w1); tupleName.push_back(w2) ; tupleList.push_back(w3) ; ntup.push_back(0); #endif
Fixed introduced in release 9.2.