Skip to content
Snippets Groups Projects
Commit b048d4dd authored by Yessica Dominguez's avatar Yessica Dominguez
Browse files

Upload New File

parent 48dbc904
No related branches found
No related tags found
No related merge requests found
#ifndef EventAction_h
#define EventAction_h 1
// Geant libraries
#include "G4UserEventAction.hh"
#include "globals.hh"
class RunAction;
class EventAction : public G4UserEventAction
{
public:
EventAction(RunAction* runAction);
virtual ~EventAction();
virtual void BeginOfEventAction(const G4Event* event);
virtual void EndOfEventAction(const G4Event* event);
void AddEdep(G4double edep)
{
fEdep += edep;
}
private:
RunAction* fRunAction;
G4double fEdep;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment