26 lines
520 B
C++
26 lines
520 B
C++
#ifndef BeamReactionSteppingAction_h
|
|
#define BeamReactionSteppingAction_h 1
|
|
|
|
#include "G4UserSteppingAction.hh"
|
|
#include "G4String.hh"
|
|
|
|
class G4Step;
|
|
class ReactionGenerator;
|
|
|
|
class BeamReactionSteppingAction : public G4UserSteppingAction
|
|
{
|
|
public:
|
|
BeamReactionSteppingAction();
|
|
virtual ~BeamReactionSteppingAction();
|
|
|
|
virtual void UserSteppingAction(const G4Step* step) override;
|
|
|
|
private:
|
|
ReactionGenerator* fReaction;
|
|
G4String fTargetVolumeName;
|
|
G4int fBeamZ;
|
|
G4int fBeamA;
|
|
};
|
|
|
|
#endif
|