#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