FairRoot/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 
14 #ifndef PND_DPMDIRECT_H
15 #define PND_DPMDIRECT_H
16 
17 #include "FairGenerator.h"
18 #include "TF1.h"
19 
20 class TVirtualMCStack;
21 class FairPrimaryGenerator;
22 
23 
24 
25 class PndDpmDirect : public FairGenerator
26 {
27 
28  public:
29 
31  PndDpmDirect();
32 
33 
40  PndDpmDirect(Double_t Mom, Int_t Mode, Long_t Seed = -1);
41  PndDpmDirect(Double_t Mom, Int_t Mode, Long_t Seed, Double_t ThtMin);
42  PndDpmDirect(Double_t Mom, Int_t Mode, Double_t Rsigma, TF1* DensityFunction, Long_t Seed = -1, Double_t ThtMin=0.001);
43 
45  virtual ~PndDpmDirect();
46 
50  virtual Bool_t ReadEvent(FairPrimaryGenerator* primGen);
51 
52  void SetUnstable(int pdg);
53  void SetStable(int pdg);
54 
55 
56  private:
57 
61  double fMom;
67  double fMode;
68  double fSeed;
69  int fGasmode;
70  double fRsigma;
71  double fThtMin;
72 
74 
76 
77 };
78 
79 #endif
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
double fMode
Definition: PndDpmDirect.h:67
ClassDef(PndDpmDirect, 1)
FairPrimaryGenerator * primGen
Definition: sim_emc_apd.C:81
double fThtMin
Definition: PndDpmDirect.h:71
void SetUnstable(int pdg)
void SetStable(int pdg)
Double_t
TF1 * fDensityFunction
Definition: PndDpmDirect.h:73
virtual ~PndDpmDirect()
double fSeed
Definition: PndDpmDirect.h:68
double fRsigma
Definition: PndDpmDirect.h:70