FairShip
Loading...
Searching...
No Matches
ShipRunConfiguration.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// SPDX-FileCopyrightText: Copyright CERN for the benefit of the SHiP
3// Collaboration
4
5#ifndef MUONSHIELDOPTIMIZATION_SHIPRUNCONFIGURATION_H_
6#define MUONSHIELDOPTIMIZATION_SHIPRUNCONFIGURATION_H_
7
8#include "TG4RunConfiguration.h"
9#include "TG4SteppingAction.h"
10
11class G4Step;
12
24class ShipSteppingAction : public TG4SteppingAction {
25 public:
26 void SteppingAction(const G4Step* step) override;
27};
28
30class ShipRunConfiguration : public TG4RunConfiguration {
31 public:
32 using TG4RunConfiguration::TG4RunConfiguration;
33 TG4SteppingAction* CreateSteppingAction() override;
34};
35
36#endif // MUONSHIELDOPTIMIZATION_SHIPRUNCONFIGURATION_H_
Geant4 VMC run configuration installing ShipSteppingAction.
TG4SteppingAction * CreateSteppingAction() override
void SteppingAction(const G4Step *step) override