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
11
class
G4Step;
12
24
class
ShipSteppingAction
:
public
TG4SteppingAction {
25
public
:
26
void
SteppingAction
(
const
G4Step* step)
override
;
27
};
28
30
class
ShipRunConfiguration
:
public
TG4RunConfiguration {
31
public
:
32
using
TG4RunConfiguration::TG4RunConfiguration;
33
TG4SteppingAction*
CreateSteppingAction
()
override
;
34
};
35
36
#endif
// MUONSHIELDOPTIMIZATION_SHIPRUNCONFIGURATION_H_
ShipRunConfiguration
Geant4 VMC run configuration installing ShipSteppingAction.
Definition
ShipRunConfiguration.h:30
ShipRunConfiguration::CreateSteppingAction
TG4SteppingAction * CreateSteppingAction() override
Definition
ShipRunConfiguration.cxx:13
ShipSteppingAction
Definition
ShipRunConfiguration.h:24
ShipSteppingAction::SteppingAction
void SteppingAction(const G4Step *step) override
Definition
ShipRunConfiguration.cxx:9
muonShieldOptimization
ShipRunConfiguration.h
Generated by
Doxygen
1.15.0