Commit 12a8af61 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

DepositionGeant4: update file headers and remove debug statement

parent 008745bb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
/**
 * @file
 * @brief Implements a user hook for Geant4 to assign custom track information via TrackInfoG4 objects
 * @brief Implements a user hook for Geant4 stepping action to catch problematic events and abort them
 *
 * @copyright Copyright (c) 2018-2023 CERN and the Allpix Squared authors.
 * @copyright Copyright (c) 2023-2024 CERN and the Allpix Squared authors.
 * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
 * In applying this license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an
 * Intergovernmental Organization or submit itself to any jurisdiction.
@@ -17,7 +17,6 @@
using namespace allpix;

void StepInfoUserHookG4::UserSteppingAction(const G4Step* aStep) {
    LOG(DEBUG) << "Step number " << aStep->GetTrack()->GetCurrentStepNumber() << ", step length: " << aStep->GetStepLength();
    if(aStep->GetStepLength() < 0) {
        LOG(WARNING) << "Negative step length found; aborting event.";

+2 −3
Original line number Diff line number Diff line
/**
 * @file
 * @brief Defines a user hook for Geant4 to assign custom track information via TrackInfoG4 objects. This includes custom
 * (unique) track ids.
 * @brief Defines a user hook for Geant4 stepping action to catch problematic events and abort them
 *
 * @copyright Copyright (c) 2018-2023 CERN and the Allpix Squared authors.
 * @copyright Copyright (c) 2023-2024 CERN and the Allpix Squared authors.
 * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
 * In applying this license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an
 * Intergovernmental Organization or submit itself to any jurisdiction.