Files
geant4/environments/XVT/MyRunAction.hh
T
2016-06-01 15:25:35 +02:00

38 lines
745 B
C++

// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: MyRunAction.hh,v 2.1 1998/07/12 02:37:18 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef MyRunAction_h
#define MyRunAction_h 1
#include "G4UserRunAction.hh"
#include "G4Timer.hh"
#include "globals.hh"
class G4Run;
class MyRunAction : public G4UserRunAction
{
public:
MyRunAction();
~MyRunAction();
public:
void BeginOfRunAction(G4Run* aRun);
void EndOfRunAction(G4Run* aRun);
private:
G4Timer* timer;
G4int runIDcounter;
};
#endif