|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <MpdHypYPtGenerator.h>
Public Member Functions | |
| MpdHypYPtGenerator () | |
| Default constructor. | |
| MpdHypYPtGenerator (Int_t pdgid, Int_t mult=1, Double_t yield=-1.0) | |
| Constructor with PDG-ID, multiplicity. | |
| virtual | ~MpdHypYPtGenerator () |
| Destructor. | |
| void | SetPDGType (Int_t pdg) |
| Modifiers. | |
| void | SetMultiplicity (Int_t mult) |
| void | SetDistributionPt (Double_t T=0.223) |
| void | SetDistributionY (Double_t y0=0, Double_t sigma=0.72) |
| void | SetRangePt (Double_t ptMin=0, Double_t ptMax=3) |
| Bool_t | Init () |
| Initializer. | |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| Creates an event with given type and multiplicity. | |
| MpdHypYPtGenerator () | |
| Default constructor. | |
| MpdHypYPtGenerator (Int_t pdgid, Int_t mult=1, Double_t yield=-1.0) | |
| Constructor with PDG-ID, multiplicity. | |
| virtual | ~MpdHypYPtGenerator () |
| Destructor. | |
| void | SetPDGType (Int_t pdg) |
| Modifiers. | |
| void | SetMultiplicity (Int_t mult) |
| void | SetDistributionPt (Double_t T=0.223) |
| void | SetDistributionY (Double_t y0=0, Double_t sigma=0.72) |
| void | SetRangePt (Double_t ptMin=0, Double_t ptMax=3) |
| Bool_t | Init () |
| Initializer. | |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| Creates an event with given type and multiplicity. | |
Private Attributes | |
| Int_t | fPDGType |
| Particle type (PDG encoding). | |
| Int_t | fMult |
| Multiplicity. | |
| Double_t | fT |
| Temperature in the Pt distribution. | |
| Double_t | fY0 |
| Mean rapidity. | |
| Double_t | fSigma |
| Simga in the rapidity distribution. | |
| Double_t | fPtMin |
| Max value of Pt. | |
| Double_t | fPtMax |
| Min value of Pt. | |
| Double_t | fPDGMass |
| Particle mass [GeV]. | |
| TF1 * | fDistPt |
| Double_t | fYield |
| Pointer to the Pt function. | |
Definition at line 26 of file MpdHypYPtGenerator.h.
| MpdHypYPtGenerator::MpdHypYPtGenerator | ( | ) |
Definition at line 17 of file MpdHypYPtGenerator.cxx.
References fMult, and fPDGType.
Referenced by ReadEvent().
| pdgid | Particle type (PDG encoding) |
| mult | Multiplicity (default is 1) |
| yield |
Definition at line 27 of file MpdHypYPtGenerator.cxx.
References fMult, fPDGType, fYield, SetDistributionPt(), SetDistributionY(), and SetRangePt().
|
inlinevirtual |
Definition at line 40 of file MpdHypYPtGenerator.h.
| MpdHypYPtGenerator::MpdHypYPtGenerator | ( | ) |
| pdgid | Particle type (PDG encoding) |
| mult | Multiplicity (default is 1) |
| yield |
|
inlinevirtual |
Definition at line 40 of file MpdHypYPtGenerator.h.
| Bool_t MpdHypYPtGenerator::Init | ( | ) |
Definition at line 40 of file MpdHypYPtGenerator.cxx.
References fDistPt, fPDGMass, fPDGType, fPtMax, fPtMin, fSigma, fT, fY0, TDatabasePDG::GetParticle(), TDatabasePDG::Instance(), and TParticlePDG::Mass().
| Bool_t MpdHypYPtGenerator::Init | ( | ) |
|
virtual |
| primGen | pointer to the CbmPrimaryGenerator |
Definition at line 60 of file MpdHypYPtGenerator.cxx.
References TMath::Cos(), fDistPt, fMult, fPDGMass, fPDGType, fPtMax, fPtMin, fSigma, fY0, fYield, TMath::Sin(), TMath::SinH(), TMath::Sqrt(), TMath::TwoPi(), and y.
|
virtual |
|
inline |
Definition at line 46 of file MpdHypYPtGenerator.h.
References fT.
Referenced by MpdHypYPtGenerator(), and run_sim().
|
inline |
Definition at line 46 of file MpdHypYPtGenerator.h.
References fT.
Definition at line 48 of file MpdHypYPtGenerator.h.
Referenced by MpdHypYPtGenerator(), and run_sim().
Definition at line 48 of file MpdHypYPtGenerator.h.
|
inline |
Definition at line 44 of file MpdHypYPtGenerator.h.
References fMult.
|
inline |
Definition at line 44 of file MpdHypYPtGenerator.h.
References fMult.
|
inline |
Definition at line 43 of file MpdHypYPtGenerator.h.
References fPDGType.
|
inline |
Definition at line 43 of file MpdHypYPtGenerator.h.
References fPDGType.
Definition at line 53 of file MpdHypYPtGenerator.h.
References fPtMax, and fPtMin.
Referenced by MpdHypYPtGenerator().
Definition at line 53 of file MpdHypYPtGenerator.h.
|
private |
Definition at line 76 of file MpdHypYPtGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 69 of file MpdHypYPtGenerator.h.
Referenced by MpdHypYPtGenerator(), MpdHypYPtGenerator(), ReadEvent(), and SetMultiplicity().
|
private |
Definition at line 75 of file MpdHypYPtGenerator.h.
Referenced by Init(), and ReadEvent().
|
private |
Definition at line 68 of file MpdHypYPtGenerator.h.
Referenced by MpdHypYPtGenerator(), MpdHypYPtGenerator(), Init(), ReadEvent(), and SetPDGType().
|
private |
Definition at line 74 of file MpdHypYPtGenerator.h.
Referenced by Init(), ReadEvent(), and SetRangePt().
|
private |
Definition at line 73 of file MpdHypYPtGenerator.h.
Referenced by Init(), ReadEvent(), and SetRangePt().
|
private |
Definition at line 72 of file MpdHypYPtGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionY().
|
private |
Definition at line 70 of file MpdHypYPtGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionPt().
|
private |
Definition at line 71 of file MpdHypYPtGenerator.h.
Referenced by Init(), ReadEvent(), and SetDistributionY().
|
private |
yield (particle / event)
Definition at line 77 of file MpdHypYPtGenerator.h.
Referenced by MpdHypYPtGenerator(), and ReadEvent().