25 lines
514 B
C++
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
|