PandaRoot
PndDpmDirect.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndDpmDirect header file -----
3 // ----- Created 11/04/08 by M.Al-Turany -----
4 // -------------------------------------------------------------------------
5 
15 #ifndef PND_DPMDIRECT_H
16 #define PND_DPMDIRECT_H
17 
18 #include "PndTargetGenerator.h"
19 #include "TF1.h"
20 
21 class TVirtualMCStack;
22 class FairPrimaryGenerator;
23 
25 
26  public:
28  PndDpmDirect();
29 
36  PndDpmDirect(Double_t Mom, Int_t Mode, Long_t Seed = -1);
37  PndDpmDirect(Double_t Mom, Int_t Mode, Long_t Seed, Double_t ThtMin);
38  PndDpmDirect(Double_t Mom, Int_t Mode, Double_t Rsigma, TF1 *DensityFunction, Long_t Seed = -1, Double_t ThtMin = 0.001);
39 
41  virtual ~PndDpmDirect();
42 
46  virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen);
47 
48  void SetUnstable(int pdg);
49  void SetStable(int pdg);
50 
51  private:
55  double fMom;
61  double fMode;
62  double fSeed;
63  int fGasmode;
64  double fRsigma;
65  double fThtMin;
66 
67  TF1 *fDensityFunction;
68 
69  ClassDef(PndDpmDirect, 1);
70 };
71 
72 #endif
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
void SetUnstable(int pdg)
void SetStable(int pdg)
virtual ~PndDpmDirect()