G4-ExampleB0/include/SteppingAction.h

22 lines
447 B
C++

#ifndef B0SteppingAction_h
#define B0SteppingAction_h
#include "G4UserSteppingAction.hh"
#include "globals.hh"
class G4LogicalVolume;
class EventAction;
class SteppingAction : public G4UserSteppingAction {
public:
SteppingAction(EventAction* e);
~SteppingAction() override;
void UserSteppingAction(const G4Step*) override;
private:
EventAction* fEventAction = nullptr;
G4LogicalVolume* fScoringVolume = nullptr;
};
#endif