Nuclear interactions for 15 GeV/c protons and pions under random and channeling conditions in germanium single crystals