|
BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
|
#include <MpdHistoGenerator.h>
Public Member Functions | |
| MpdHistoGenerator () | |
| Default constructor. | |
| MpdHistoGenerator (Int_t pdgid, Int_t mult=1) | |
| Constructor with PDG-ID, multiplicity. | |
| virtual | ~MpdHistoGenerator () |
| Destructor. | |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| Creates an event with given type and multiplicity. | |
Private Attributes | |
| Int_t | fPdgCode |
| Int_t | fMult |
| particle PDG code | |
| TH2D * | fHist |
| particle multiplicity | |
Definition at line 24 of file MpdHistoGenerator.h.
| MpdHistoGenerator::MpdHistoGenerator | ( | ) |
|
virtual |
Definition at line 63 of file MpdHistoGenerator.cxx.
|
virtual |
| primGen | pointer to the CbmPrimaryGenerator |
Definition at line 69 of file MpdHistoGenerator.cxx.
References fHist, fMult, fPdgCode, i, TDatabasePDG::Instance(), TVector3::Px(), TVector3::Py(), TVector3::Pz(), TVector3::SetPtEtaPhi(), and TMath::TwoPi().
|
private |
Definition at line 47 of file MpdHistoGenerator.h.
Referenced by MpdHistoGenerator(), MpdHistoGenerator(), and ReadEvent().
|
private |
Definition at line 46 of file MpdHistoGenerator.h.
Referenced by MpdHistoGenerator(), MpdHistoGenerator(), and ReadEvent().
|
private |
Definition at line 45 of file MpdHistoGenerator.h.
Referenced by MpdHistoGenerator(), MpdHistoGenerator(), and ReadEvent().