4 // Author: I. Hrivnacova
8 // Class that defines actions at the beginning and the end of run.
10 #ifndef ALI_RUN_ACTION_H
11 #define ALI_RUN_ACTION_H
13 #include "AliVerbose.h"
15 #include <G4UserRunAction.hh>
19 // in order to avoid the odd dependency for the
20 // times system function this declaration must be the first
22 class AliSDConstruction;
25 class AliRunAction : public G4UserRunAction,
31 // AliRunAction(const AliRunAction& right);
32 virtual ~AliRunAction();
35 virtual void BeginOfRunAction(const G4Run* run);
36 virtual void EndOfRunAction(const G4Run* run);
39 AliRunAction(const AliRunAction& right);
42 AliRunAction& operator=(const AliRunAction& right);
46 AliSDConstruction* GetSDConstruction() const;
49 G4Timer* fTimer; //G4Timer
50 G4int fRunID; //run ID
53 #endif //ALI_RUN_ACTION_H