diff --git a/DDG4/src/Geant4SensitiveDetector.cpp b/DDG4/src/Geant4SensitiveDetector.cpp index e9f3ffbde612e5364ce0e2c39d0aefa6d0111262..b1c40872219462ea0be682a71672af5bc858cb19 100644 --- a/DDG4/src/Geant4SensitiveDetector.cpp +++ b/DDG4/src/Geant4SensitiveDetector.cpp @@ -104,6 +104,9 @@ G4bool Geant4SensitiveDetector::ProcessHits(G4Step* step,G4TouchableHistory* his return buildHits(step,hist); } } +#if DEBUG + std::cout << " *** too small energy deposit : " << step->GetTotalEnergyDeposit() << " < " << ene_cut << " at " << step->GetPreStepPoint()->GetPosition() << std::endl ; +#endif return false; }