21 lines
472 B
C
21 lines
472 B
C
|
#ifndef B0PrimaryGeneratorAction_h
|
||
|
#define B0PrimaryGeneratorAction_h
|
||
|
|
||
|
#include "G4ParticleGun.hh"
|
||
|
#include "G4VUserPrimaryGeneratorAction.hh"
|
||
|
|
||
|
class G4Event;
|
||
|
|
||
|
class PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction {
|
||
|
public:
|
||
|
PrimaryGeneratorAction();
|
||
|
~PrimaryGeneratorAction();
|
||
|
virtual void GeneratePrimaries(G4Event*);
|
||
|
const G4ParticleGun* GetParticleGun() const { return fParticleGun; }
|
||
|
|
||
|
private:
|
||
|
G4ParticleGun* fParticleGun;
|
||
|
};
|
||
|
|
||
|
#endif
|