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