|
BmnRoot 26.10.0-18-g4e3414f9
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. | |
| 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 | ( | ) |
Definition at line 27 of file MpdHistoGenerator.cxx.
References f, fHist, fMult, and fPdgCode.
Referenced by ReadEvent().
|
virtual |
Definition at line 63 of file MpdHistoGenerator.cxx.
| MpdHistoGenerator::MpdHistoGenerator | ( | ) |
| pdgid | Particle type (PDG encoding) |
| mult | Multiplicity (default is 1) |
|
virtual |
|
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().
|
virtual |
| primGen | pointer to the CbmPrimaryGenerator |
References MpdHistoGenerator(), fHist, fMult, and fPdgCode.
|
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().