21 #ifndef PND_GASGENERATOR_H 22 #define PND_GASGENERATOR_H 24 #include "FairGenerator.h" 27 class FairPrimaryGenerator;
49 void SetPRange(Double32_t pmin = 0, Double32_t pmax = 10)
56 void SetPhiRange(Double32_t phimin = 0, Double32_t phimax = 360)
66 fThetaRangeIsSet = kTRUE;
71 void SetZRange(Double32_t zmin = 0, Double32_t zmax = 10)
77 void SetRadius(Double32_t radius = 0.2) { fRadius = radius; }
81 void SetDebug(Bool_t debug = 0) { fDebug = debug; }
89 virtual Bool_t
ReadEvent(FairPrimaryGenerator *primGen);
96 Double32_t fPhiMin, fPhiMax;
97 Double32_t fPMin, fPMax;
98 Double32_t fThetaMin, fThetaMax;
99 Double32_t fX, fY, fZ;
102 Bool_t fThetaRangeIsSet;
103 Bool_t fCosThetaIsSet;
105 Double32_t fZMin, fZMax;
109 TF1 *fDensityProfile;
void SetPRange(Double32_t pmin=0, Double32_t pmax=10)
void SetPDGType(Int_t pdg)
void SetDebug(Bool_t debug=0)
void SetZRange(Double32_t zmin=0, Double32_t zmax=10)
virtual ~PndGasGenerator()
void SetRadius(Double32_t radius=0.2)
void SetMultiplicity(Int_t mult)
void SetThetaRange(Double32_t thetamin=0, Double32_t thetamax=90)
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
void SetPhiRange(Double32_t phimin=0, Double32_t phimax=360)