How Do I Add Data Output and Root Histograms to Basic Example B2a

iam using ubuntu 20.04.
Geant4 version 11.0

You’re trying to build code from an older Geant4 version (10.7, I presume). See the release notes for G4 11 Geant4 11.0 Release Notes, and in particular,

  • Removed deprecated g4csv.hh, g4hdf5.hh, g4root.hh, g4xml.hh headers.
1 Like