16 #ifndef FAIRPRIMARYGENERATOR_H
17 #define FAIRPRIMARYGENERATOR_H
23 #include "TObjArray.h"
51 virtual Bool_t
Init();
56 std::cout <<
"Empty fGenList pointer ! " << std::endl;
80 virtual void AddTrack(Int_t pdgid, Double_t px, Double_t py, Double_t pz,
81 Double_t vx, Double_t vy, Double_t vz, Int_t parent=-1,Bool_t wanttracking=
true,Double_t
e=-9e9);
90 void SetBeam(Double_t beamX0, Double_t beamY0,
91 Double_t beamSigmaX, Double_t beamSigmaY);
98 void SetTarget(Double_t targetZ, Double_t targetDz);
106 void SetMultTarget(Int_t nroftargets, Double_t* targetZ, Double_t targetDz);