FairRoot/PandaRoot
|
#include <PndGasGenerator.h>
Public Member Functions | |
PndGasGenerator () | |
PndGasGenerator (Int_t pdgid, Int_t mult=1) | |
virtual | ~PndGasGenerator () |
void | SetPDGType (Int_t pdg) |
void | SetMultiplicity (Int_t mult) |
void | SetPRange (Double32_t pmin=0, Double32_t pmax=10) |
void | SetPhiRange (Double32_t phimin=0, Double32_t phimax=360) |
void | SetThetaRange (Double32_t thetamin=0, Double32_t thetamax=90) |
void | SetCosTheta () |
void | SetZRange (Double32_t zmin=0, Double32_t zmax=10) |
void | SetRadius (Double32_t radius=0.2) |
void | SetDebug (Bool_t debug=0) |
Bool_t | Init () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Private Member Functions | |
ClassDef (PndGasGenerator, 1) | |
Private Attributes | |
Int_t | fPDGType |
Int_t | fMult |
Double32_t | fPDGMass |
Double32_t | fPhiMin |
Double32_t | fPhiMax |
Double32_t | fPMin |
Double32_t | fPMax |
Double32_t | fThetaMin |
Double32_t | fThetaMax |
Double32_t | fX |
Double32_t | fY |
Double32_t | fZ |
Double32_t | fRadius |
Bool_t | fThetaRangeIsSet |
Bool_t | fCosThetaIsSet |
Bool_t | fPRangeIsSet |
Double32_t | fZMin |
Double32_t | fZMax |
Bool_t | fDebug |
TF1 * | fDensityProfile |
Definition at line 30 of file PndGasGenerator.h.
PndGasGenerator::PndGasGenerator | ( | ) |
PndGasGenerator::PndGasGenerator | ( | Int_t | pdgid, |
Int_t | mult = 1 |
||
) |
Constructor with PDG-ID, multiplicity
pdgid | Particle type (PDG encoding) |
mult | Multiplicity (default is 1) |
Definition at line 30 of file PndGasGenerator.cxx.
References SetPhiRange().
|
inlinevirtual |
|
private |
Bool_t PndGasGenerator::Init | ( | ) |
Initializer
Definition at line 42 of file PndGasGenerator.cxx.
References fDensityProfile, fPDGMass, fPDGType, fPhiMax, fPhiMin, fZMax, fZMin, and particle.
|
virtual |
Creates an event with given type and multiplicity.
primGen | pointer to the FairPrimaryGenerator |
Definition at line 63 of file PndGasGenerator.cxx.
References acos(), CAMath::Cos(), cos(), fCosThetaIsSet, fDebug, fDensityProfile, fMult, fPDGType, fPhiMax, fPhiMin, fPMax, fPMin, fRadius, fThetaMax, fThetaMin, fX, fY, fZ, phi, printf(), pt(), pz, CAMath::Sin(), and theta.
|
inline |
|
inline |
|
inline |
Definition at line 50 of file PndGasGenerator.h.
|
inline |
|
inline |
Definition at line 55 of file PndGasGenerator.h.
References fPhiMax, and fPhiMin.
Referenced by PndGasGenerator().
|
inline |
|
inline |
|
inline |
Definition at line 58 of file PndGasGenerator.h.
References fThetaMax, fThetaMin, and fThetaRangeIsSet.
|
inline |
Definition at line 64 of file PndGasGenerator.h.
|
private |
Definition at line 93 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetCosTheta().
|
private |
Definition at line 96 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetDebug().
|
private |
Definition at line 99 of file PndGasGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 83 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetMultiplicity().
|
private |
Definition at line 85 of file PndGasGenerator.h.
Referenced by Init().
|
private |
Definition at line 82 of file PndGasGenerator.h.
Referenced by Init(), ReadEvent(), and SetPDGType().
|
private |
Definition at line 86 of file PndGasGenerator.h.
Referenced by Init(), ReadEvent(), and SetPhiRange().
|
private |
Definition at line 86 of file PndGasGenerator.h.
Referenced by Init(), ReadEvent(), and SetPhiRange().
|
private |
Definition at line 87 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetPRange().
|
private |
Definition at line 87 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetPRange().
|
private |
Definition at line 94 of file PndGasGenerator.h.
Referenced by SetPRange().
|
private |
Definition at line 90 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetRadius().
|
private |
Definition at line 88 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Definition at line 88 of file PndGasGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Definition at line 92 of file PndGasGenerator.h.
Referenced by SetThetaRange().
|
private |
Definition at line 89 of file PndGasGenerator.h.
Referenced by ReadEvent().
|
private |
Definition at line 89 of file PndGasGenerator.h.
Referenced by ReadEvent().
|
private |
Definition at line 89 of file PndGasGenerator.h.
Referenced by ReadEvent().
|
private |
Definition at line 95 of file PndGasGenerator.h.
Referenced by Init(), and SetZRange().
|
private |
Definition at line 95 of file PndGasGenerator.h.
Referenced by Init(), and SetZRange().