33 #ifndef PND_GASGENERATOR_H 34 #define PND_GASGENERATOR_H 36 #include "FairGenerator.h" 39 class FairPrimaryGenerator;
61 void SetPRange(Double32_t pmin = 0, Double32_t pmax = 10)
68 void SetPhiRange(Double32_t phimin = 0, Double32_t phimax = 360)
78 fThetaRangeIsSet = kTRUE;
83 void SetZRange(Double32_t zmin = 0, Double32_t zmax = 10)
89 void SetRadius(Double32_t radius = 0.2) { fRadius = radius; }
93 void SetDebug(Bool_t debug = 0) { fDebug = debug; }
101 virtual Bool_t
ReadEvent(FairPrimaryGenerator *primGen);
108 Double32_t fPhiMin, fPhiMax;
109 Double32_t fPMin, fPMax;
110 Double32_t fThetaMin, fThetaMax;
111 Double32_t fX, fY, fZ;
114 Bool_t fThetaRangeIsSet;
115 Bool_t fCosThetaIsSet;
117 Double32_t fZMin, fZMax;
121 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)