1#ifndef A01_PRIMARY_GENERATOR_H
2#define A01_PRIMARY_GENERATOR_H
20#include <TVirtualMCApplication.h>
The detector construction (defined via Geant4)
Double_t GetSigmaMomentum() const
void SetNofPrimaries(Int_t nofPrimaries)
Bool_t GetRandomize() const
virtual ~A01PrimaryGenerator()
Double_t GetMomentum() const
void SetRandomize(Bool_t val)
void SetSigmaAngle(Double_t val)
TVirtualMCStack * fStack
VMC stack.
Int_t fNofPrimaries
Number of primary particles.
Double_t fMomentum
Default particle momentum.
Double_t fSigmaAngle
The sigma of particle direction.
Double_t fSigmaMomentum
The sigma of particle momentum.
Bool_t fRandomizePrimary
Option to randomize primary particle type.
Int_t fDefaultParticle
Default particle PDG.
void SetSigmaMomentum(Double_t val)
Double_t GetSigmaAngle() const
virtual void GeneratePrimaries()
void SetMomentum(Double_t val)