Commit 66816664 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Reduce verbosity

parent c494631c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ G4bool SensitiveDetectorActionG4::ProcessHits(G4Step* step, G4TouchableHistory*)

    // Put the charge deposit in the middle of the step unless it is a photon:
    auto is_photon = (track->GetDynamicParticle()->GetPDGcode() == 22);
    LOG(DEBUG) << "Placing energy deposit "
    LOG(TRACE) << "Placing energy deposit "
               << (is_photon ? "at the end of step, photon detected" : "in the middle of the step");
    G4ThreeVector step_pos = is_photon ? postStep->GetPosition() : (preStep->GetPosition() + postStep->GetPosition()) / 2;
    double step_time = is_photon ? postStep->GetGlobalTime() : (preStep->GetGlobalTime() + postStep->GetGlobalTime()) / 2;