Graduation-Project/include/GeneEventAction.hh

25 lines
514 B
C++
Raw Normal View History

2023-02-13 14:50:36 +08:00
#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