src/tools/geant4/RunManager.hpp
The RunManager class, defines a custom Geant4 sequential RunManager that is compatible with MTRunManager. More…
Namespaces
Name |
---|
allpix Helper class to hold support layers for a detector model. |
Classes
Name | |
---|---|
class | allpix::RunManager A wrapper around G4RunManager that allows us to use our own event seeds. |
Detailed Description
The RunManager class, defines a custom Geant4 sequential RunManager that is compatible with MTRunManager.
Copyright: Copyright (c) 2019-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. SPDX-License-Identifier: MIT
Source code
#ifndef ALLPIX_RUN_MANAGER_H
#define ALLPIX_RUN_MANAGER_H
#include <G4RunManager.hh>
namespace allpix {
class RunManager : public G4RunManager {
public:
RunManager();
~RunManager() override = default;
void Run(G4int n_event, uint64_t seed1, uint64_t seed2); // NOLINT
void AbortRun(G4bool softAbort) override;
};
} // namespace allpix
#endif /* ALLPIX_RUN_MANAGER_H */
Updated on 2024-12-13 at 08:31:37 +0000