Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //DEFINING RUN ACTION
- //............................................RUN.HH
- #ifndef RUN_HH
- #define RUN_HH
- #include "G4UserRunAction.hh"
- class MyRunAction: public G4UserRunAction
- {
- public:
- MyRunAction();
- ~MyRunAction();
- virtual void BeginOfRunaction(const G4Run*);
- virtual void EndOfRunaction(const G4Run*);
- }
- #endif
- //...............................RUN.CC
- #include "run.hh"
- //definiamo il nostro costruttore e distruttore
- MyRunAction::MyRunAction();
- {}
- MyRunAction::~MyRunAction();
- {}
- void MyRunAction::BeginOfRunaction(const G4Run*);
- {
- }
- void MyRunAction::EndOfRunaction(const G4Run*);
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment