Graduation-Project/include/GeneEventAction.hh
2023-05-08 11:10:33 +08:00

25 lines
514 B
C++

#ifndef GeneEventAction_hh
#define GeneEventAction_hh 1
#include "G4UserEventAction.hh"
#include "globals.hh"
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