DPMGenerator

class PndDpmDirect : public PndTargetGenerator

The PndDpmDirect generates DPM event using the DPM fortran code and inserts the tracks into the PndStack via the FairPrimaryGenerator. Derived from FairGenerator.

Author

M.Al-Turany m.al-turany@gsi.de

Public Functions

PndDpmDirect()

Default constructor (should not be used)

PndDpmDirect(Double_t Mom, Int_t Mode, Long_t Seed = -1)

Standard constructor

Parameters
  • Mom – in GeV/C

  • Mode – = 0. - No elastic scattering, only inelastic

  • Mode – = 1. - Elastic and inelastic interactions

  • Mode – = 2. - Only elastic scattering, no inelastic one

PndDpmDirect(Double_t Mom, Int_t Mode, Long_t Seed, Double_t ThtMin)
PndDpmDirect(Double_t Mom, Int_t Mode, Double_t Rsigma, TF1 *DensityFunction, Long_t Seed = -1, Double_t ThtMin = 0.001)
virtual ~PndDpmDirect()

Destructor

virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)

Generate one event using DPM

Parameters

primGen – pointer to the FairPrimaryGenerator

void SetUnstable(int pdg)
void SetStable(int pdg)