PandaRoot
PndDpmDirect Class Reference

#include <PndDpmDirect.h>

Inheritance diagram for PndDpmDirect:
PndTargetGenerator

Public Member Functions

 PndDpmDirect ()
 
 PndDpmDirect (Double_t Mom, Int_t Mode, Long_t Seed=-1)
 
 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 ()
 
virtual Bool_t ReadEvent (FairPrimaryGenerator *primGen)
 
void SetUnstable (int pdg)
 
void SetStable (int pdg)
 
- Public Member Functions inherited from PndTargetGenerator
 PndTargetGenerator ()
 
 PndTargetGenerator (TString densityFile, double radius=0., double drdz=0., double rlimit=2.)
 
virtual ~PndTargetGenerator ()
 
void SetDensityProfile (TString density)
 
void SetBeamRadius (double radius=0.1)
 
void SetBeamPipeRadius (double radius=2.)
 
void SetConstantBeamRegion (double zmin=-140., double zmax=223)
 
void SetBeamDrDz (double drdz=0.1)
 
void SetVerbose (int verb=1)
 
TGraph * GetDensityGraph ()
 
virtual Bool_t Init ()
 
TVector3 SampleInteractionVertex ()
 
void ReadDensityFile ()
 

Detailed Description

Author
M.Al-Turany m.al-.nosp@m.tura.nosp@m.ny@gs.nosp@m.i.de

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

Definition at line 24 of file PndDpmDirect.h.

Constructor & Destructor Documentation

◆ PndDpmDirect() [1/4]

PndDpmDirect::PndDpmDirect ( )

Default constructor (should not be used)

◆ PndDpmDirect() [2/4]

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

Standard constructor

Parameters
Momin GeV/C
Mode= 0. - No elastic scattering, only inelastic
Mode= 1. - Elastic and inelastic interactions
Mode= 2. - Only elastic scattering, no inelastic one

◆ PndDpmDirect() [3/4]

PndDpmDirect::PndDpmDirect ( Double_t  Mom,
Int_t  Mode,
Long_t  Seed,
Double_t  ThtMin 
)

◆ PndDpmDirect() [4/4]

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

◆ ~PndDpmDirect()

virtual PndDpmDirect::~PndDpmDirect ( )
virtual

Destructor

Member Function Documentation

◆ ReadEvent()

virtual Bool_t PndDpmDirect::ReadEvent ( FairPrimaryGenerator *  primGen)
virtual

Generate one event using DPM

Parameters
primGenpointer to the FairPrimaryGenerator

Reimplemented from PndTargetGenerator.

◆ SetStable()

void PndDpmDirect::SetStable ( int  pdg)

◆ SetUnstable()

void PndDpmDirect::SetUnstable ( int  pdg)

The documentation for this class was generated from the following file: