9 #ifndef Pnd_FLATPARTICLEGENERATOR_H    10 #define Pnd_FLATPARTICLEGENERATOR_H    16 class FairPrimaryGenerator;
    32   void SetStop(Double32_t val) { fStop = val; };
    33   void SetStep(Double32_t val) { fStep = val; };
    39       return ((fStop - fStart) / fStep) + 1;
    68   void SetPRange(Double32_t pmin = 0, Double32_t pmax = 10, Double32_t pstep = 1)
    76   void SetPtRange(Double32_t ptmin = 0, Double32_t ptmax = 10, Double32_t ptstep = 1)
    81     fPtRangeIsSet = kTRUE;
    84   void SetPhiRange(Double32_t phimin = 0, Double32_t phimax = 360, Double32_t phistep = 1)
    86     fPhi.SetStart(phimin);
    88     fPhi.SetStep(phistep);
    91   void SetEtaRange(Double32_t etamin = -5, Double32_t etamax = 7, Double32_t etastep = 1)
    93     fEta.SetStart(etamin);
    95     fEta.SetStep(etastep);
    96     fEtaRangeIsSet = kTRUE;
    99   void SetYRange(Double32_t ymin = -5, Double32_t ymax = 7, Double32_t ystep = 1)
   101     fRapidity.SetStart(ymin);
   102     fRapidity.SetStop(ymax);
   103     fRapidity.SetStep(ystep);
   104     fYRangeIsSet = kTRUE;
   107   void SetThetaRange(Double32_t thetamin = 0, Double32_t thetamax = 90, Double32_t thetastep = 1)
   109     fTheta.SetStart(thetamin);
   110     fTheta.SetStop(thetamax);
   111     fTheta.SetStep(thetastep);
   112     fThetaRangeIsSet = kTRUE;
   115   void SetCosThetaRange(Double32_t costhetamin = -1, Double32_t costhetamax = 1, Double32_t costhetastep = 0.1)
   117     fCosTheta.SetStart(costhetamin);
   118     fCosTheta.SetStop(costhetamax);
   119     fCosTheta.SetStep(costhetastep);
   120     fCosThetaIsSet = kTRUE;
   121     fThetaRangeIsSet = kTRUE;
   124   void SetXYZ(Double32_t x = 0, Double32_t y = 0, Double32_t z = 0)
   129     fPointVtxIsSet = kTRUE;
   132   void SetBoxXYZ(Double32_t x1 = 0, Double32_t y1 = 0, Double32_t x2 = 0, Double32_t y2 = 0, Double32_t z = 0)
   139     fBoxVtxIsSet = kTRUE;
   142   void SetDebug(Bool_t debug = 0) { fDebug = debug; }
   152   virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen);
   173   Double32_t fX, fY, fZ;         
   174   Double32_t fX1, fY1, fX2, fY2; 
   176   Bool_t fEtaRangeIsSet;   
   178   Bool_t fThetaRangeIsSet; 
   179   Bool_t fCosThetaIsSet;   
   181   Bool_t fPtRangeIsSet;    
   183   Bool_t fPointVtxIsSet;   
 
void SetStep(Double32_t val)
 
void SetPhiRange(Double32_t phimin=0, Double32_t phimax=360, Double32_t phistep=1)
 
void SetThetaRange(Double32_t thetamin=0, Double32_t thetamax=90, Double32_t thetastep=1)
 
void SetPRange(Double32_t pmin=0, Double32_t pmax=10, Double32_t pstep=1)
 
virtual ~PndFixStepParticleGun()
 
void SetEtaRange(Double32_t etamin=-5, Double32_t etamax=7, Double32_t etastep=1)
 
void SetPtRange(Double32_t ptmin=0, Double32_t ptmax=10, Double32_t ptstep=1)
 
PndRangeValues(Double32_t start=0, Double32_t stop=0, Double32_t step=1)
 
virtual ~PndRangeValues()
 
void SetStop(Double32_t val)
 
void SetYRange(Double32_t ymin=-5, Double32_t ymax=7, Double32_t ystep=1)
 
void SetXYZ(Double32_t x=0, Double32_t y=0, Double32_t z=0)
 
ClassDef(PndRangeValues, 1)
 
void SetDebug(Bool_t debug=0)
 
void SetStart(Double32_t val)
 
virtual Double32_t GetStep()
 
void SetMultiplicity(Int_t mult)
 
void SetPDGType(Int_t pdg)
 
void SetCosThetaRange(Double32_t costhetamin=-1, Double32_t costhetamax=1, Double32_t costhetastep=0.1)
 
void SetBoxXYZ(Double32_t x1=0, Double32_t y1=0, Double32_t x2=0, Double32_t y2=0, Double32_t z=0)
 
void SetActualValue(Double32_t val)