2023-04-09 22:30:59 +08:00
|
|
|
#ifndef GeneEventAction_hh
|
|
|
|
#define GeneEventAction_hh 1
|
2023-02-13 14:50:36 +08:00
|
|
|
|
2023-04-09 22:30:59 +08:00
|
|
|
#include "G4UserEventAction.hh"
|
2023-05-08 11:10:33 +08:00
|
|
|
#include "globals.hh"
|
2023-02-13 14:50:36 +08:00
|
|
|
|
|
|
|
class GeneEventAction : public G4UserEventAction {
|
|
|
|
public:
|
|
|
|
GeneEventAction();
|
|
|
|
virtual ~GeneEventAction();
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual void BeginOfEventAction(const G4Event*);
|
|
|
|
virtual void EndOfEventAction(const G4Event*);
|
|
|
|
|
|
|
|
inline void SetDrawFlag(G4String val) { drawFlag = val; };
|
|
|
|
void drawtracks(const G4Event*);
|
|
|
|
|
|
|
|
private:
|
|
|
|
G4int GeneHe3detSDCollID;
|
|
|
|
G4String drawFlag;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|