1#ifndef GFLASH_PRIMARY_GENERATOR_H
2#define GFLASH_PRIMARY_GENERATOR_H
21#include <TVirtualMCApplication.h>
30class DetectorConstruction;
TVector3 GetVertexPosition() const
Return the Vertex position.
virtual void GeneratePrimaries(const TVector3 &worldSize)
TVector3 fVertexPosition
Vertex position.
TVector3 fVertexDirection
Vertex direction.
virtual ~PrimaryGenerator()
void SetNofPrimaries(Int_t nofPrimaries)
void GenerateOnePrimary(const TVector3 &origin)
TVector3 GetVertexDirection() const
Return the Vertex direction.
void SetVertexPosition(TVector3 position)
TVirtualMCStack * fStack
VMC stack.
Int_t fNofPrimaries
Number of primary particles.
void SetVertexDirection(TVector3 direction)