|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <MpdPlutoGenerator.h>
Public Member Functions | |
| MpdPlutoGenerator () | |
| Default constructor (should not be used). | |
| MpdPlutoGenerator (const Char_t *fileName, Double_t ekin) | |
| Standard constructor. | |
| virtual | ~MpdPlutoGenerator () |
| Destructor. | |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| Reads on event from the input file and pushes the tracks onto the stack. | |
| Bool_t | SkipEvents (Int_t count) |
Private Member Functions | |
| void | CloseInput () |
| Particle array from PLUTO. | |
Private Attributes | |
| Int_t | iEvent |
| Double_t | fEkin |
| Event number. | |
| const Char_t * | fFileName |
| Target energy in lab system. | |
| TFile * | fInputFile |
| Input file name. | |
| TTree * | fInputTree |
| Pointer to input file. | |
| TClonesArray * | fParticles |
| Pointer to input tree. | |
Definition at line 27 of file MpdPlutoGenerator.h.
| MpdPlutoGenerator::MpdPlutoGenerator | ( | ) |
Definition at line 23 of file MpdPlutoGenerator.cxx.
References fEkin, fFileName, fInputFile, fInputTree, fParticles, and iEvent.
| fileName | The input (PLUTO) file name |
Definition at line 35 of file MpdPlutoGenerator.cxx.
References fEkin, fFileName, fInputFile, fInputTree, fParticles, and iEvent.
|
virtual |
Definition at line 50 of file MpdPlutoGenerator.cxx.
References CloseInput().
|
private |
Private method CloseInput. Just for convenience. Closes the input file properly. Called from destructor and from ReadEvent.
Definition at line 143 of file MpdPlutoGenerator.cxx.
References fFileName, and fInputFile.
Referenced by ~MpdPlutoGenerator(), and ReadEvent().
|
virtual |
Abstract method in base class.
| primGen | pointer to the FairPrimaryGenerator |
Definition at line 57 of file MpdPlutoGenerator.cxx.
References TDirectoryFile::cd(), CloseInput(), TDatabasePDG::ConvertGeant3ToPdg(), fEkin, fInputFile, fInputTree, fParticles, TDatabasePDG::GetParticle(), iEvent, TDatabasePDG::Instance(), kProtonMass, TParticlePDG::Mass(), TLorentzVector::Px(), TLorentzVector::Py(), TLorentzVector::Pz(), TMath::Sqrt(), TVector3::x(), TVector3::y(), and TVector3::z().
Definition at line 130 of file MpdPlutoGenerator.cxx.
References iEvent.
|
private |
Definition at line 53 of file MpdPlutoGenerator.h.
Referenced by MpdPlutoGenerator(), MpdPlutoGenerator(), and ReadEvent().
|
private |
Definition at line 54 of file MpdPlutoGenerator.h.
Referenced by MpdPlutoGenerator(), MpdPlutoGenerator(), and CloseInput().
|
private |
Definition at line 55 of file MpdPlutoGenerator.h.
Referenced by MpdPlutoGenerator(), MpdPlutoGenerator(), CloseInput(), and ReadEvent().
|
private |
Definition at line 56 of file MpdPlutoGenerator.h.
Referenced by MpdPlutoGenerator(), MpdPlutoGenerator(), and ReadEvent().
|
private |
Definition at line 57 of file MpdPlutoGenerator.h.
Referenced by MpdPlutoGenerator(), MpdPlutoGenerator(), and ReadEvent().
|
private |
Definition at line 52 of file MpdPlutoGenerator.h.
Referenced by MpdPlutoGenerator(), MpdPlutoGenerator(), ReadEvent(), and SkipEvents().