1#ifndef EX06_PRIMARY_GENERATOR_H
2#define EX06_PRIMARY_GENERATOR_H
22#include <TVirtualMCApplication.h>
48 void SetDirection(Double_t dirX, Double_t dirY, Double_t dirZ);
Double_t fDirY
Particle direction - y component.
void SetKinEnergy(Double_t kinEnergy)
void SetNofPrimaries(Int_t nofPrimaries)
Double_t fDirZ
Particle direction - z component.
void SetDirection(Double_t dirX, Double_t dirY, Double_t dirZ)
TVirtualMCStack * fStack
VMC stack.
void SetOptPhotonPolar(Double_t angle)
Double_t fPolAngle
Particle polarization angle.
Int_t fNofPrimaries
Number of primary particles.
Int_t fPdg
Particle PDG encoding.
virtual ~Ex06PrimaryGenerator()
Double_t fKinEnergy
Particle kinetic energy.
Double_t fDirX
Particle direction - x component.
void SetParticle(Int_t pdg)