2023-02-13 14:50:36 +08:00
|
|
|
#ifndef GeneRunAction_HH
|
|
|
|
#define GeneRunAction_HH 1
|
|
|
|
|
2023-04-09 22:12:47 +08:00
|
|
|
#include <G4UserRunAction.hh>
|
|
|
|
#include <globals.hh>
|
2023-02-13 14:50:36 +08:00
|
|
|
|
|
|
|
class G4String;
|
|
|
|
class GeneRunActionMessenger;
|
|
|
|
|
|
|
|
class GeneRunAction : public G4UserRunAction {
|
|
|
|
public:
|
|
|
|
GeneRunAction();
|
|
|
|
~GeneRunAction();
|
|
|
|
|
|
|
|
public:
|
|
|
|
void BeginOfRunAction(const G4Run*);
|
|
|
|
void EndOfRunAction(const G4Run*);
|
|
|
|
inline void SetRunNo(G4String val) { RunNo = val; };
|
|
|
|
G4String RunNo;
|
|
|
|
GeneRunActionMessenger* pMessenger;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|