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

36 lines
787 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: MyPrimaryGeneratorAction.hh,v 2.1 1998/07/12 02:37:17 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef MyPrimaryGeneratorAction_h
#define MyPrimaryGeneratorAction_h 1
#include "G4VUserPrimaryGeneratorAction.hh"
class G4ParticleGun;
class G4Event;
class MyPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
MyPrimaryGeneratorAction();
~MyPrimaryGeneratorAction();
public:
void GeneratePrimaries(G4Event* anEvent);
private:
G4ParticleGun* particleGun;
};
#endif