|
BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
|
#include <MpdDCMSMMGenerator.h>
Public Member Functions | |
| MpdDCMSMMGenerator () | |
| Default constructor without arguments should not be used. | |
| MpdDCMSMMGenerator (const char *fileName) | |
| Standard constructor. | |
| ~MpdDCMSMMGenerator () | |
| Destructor. | |
| Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| Bool_t | SkipEvents (Int_t count) |
| Int_t | FindPDGCodeParticipant (Int_t A, Int_t S, Int_t Z, Float_t mass, Double_t &massFactor) |
| Int_t | FindPDGCodeSpectator (Int_t N, Int_t Z, Int_t &dN) |
| Int_t | RegisterIons (void) |
Private Member Functions | |
| Bool_t | ReadLine (char *line, Int_t size) |
| Bool_t | IsEndOfFile () |
| TString | GetReadError () |
| MpdDCMSMMGenerator (const MpdDCMSMMGenerator &) | |
| MpdDCMSMMGenerator & | operator= (const MpdDCMSMMGenerator &) |
Private Attributes | |
| gzFile | fInputFile |
| TString | fFileName |
| Input file. | |
| TString | fBoostType |
| Bool_t | fUseLorentzBoost |
| Double_t | fBoostBeta |
| Double_t | fBoostGamma |
| Bool_t | fSpectatorsON |
| Int_t | fN1 [fZMax+1] = {0} |
| Int_t | fN2 [fZMax+1] = {0} |
| Int_t | fZ1 [fBMax+1] = {0} |
| Int_t | fZ2 [fBMax+1] = {0} |
| Int_t | fInputFileVersion |
Static Private Attributes | |
| static const Int_t | fZMax = 82 |
| static const Int_t | fBMax = 208 |
Definition at line 26 of file MpdDCMSMMGenerator.h.
| MpdDCMSMMGenerator::MpdDCMSMMGenerator | ( | ) |
Definition at line 21 of file MpdDCMSMMGenerator.cxx.
References fBoostBeta, fBoostGamma, fBoostType, fFileName, fInputFile, fInputFileVersion, fSpectatorsON, and fUseLorentzBoost.
Referenced by MpdDCMSMMGenerator(), and operator=().
| MpdDCMSMMGenerator::MpdDCMSMMGenerator | ( | const char * | fileName | ) |
Definition at line 35 of file MpdDCMSMMGenerator.cxx.
References fBoostBeta, fBoostGamma, fBoostType, fFileName, fInputFile, fInputFileVersion, fSpectatorsON, fUseLorentzBoost, GetReadError(), i, ReadLine(), and RegisterIons().
| MpdDCMSMMGenerator::~MpdDCMSMMGenerator | ( | ) |
Definition at line 123 of file MpdDCMSMMGenerator.cxx.
References fInputFile.
|
private |
| Int_t MpdDCMSMMGenerator::FindPDGCodeParticipant | ( | Int_t | A, |
| Int_t | S, | ||
| Int_t | Z, | ||
| Float_t | mass, | ||
| Double_t & | massFactor ) |
Definition at line 388 of file MpdDCMSMMGenerator.cxx.
References i.
Referenced by ReadEvent().
Definition at line 600 of file MpdDCMSMMGenerator.cxx.
References fBMax, fZ1, and fZ2.
Referenced by ReadEvent().
|
private |
Definition at line 329 of file MpdDCMSMMGenerator.cxx.
References fInputFile, and IsEndOfFile().
Referenced by MpdDCMSMMGenerator(), ReadEvent(), and SkipEvents().
|
private |
Definition at line 319 of file MpdDCMSMMGenerator.cxx.
References fInputFile.
Referenced by GetReadError(), and ReadEvent().
|
private |
| Bool_t MpdDCMSMMGenerator::ReadEvent | ( | FairPrimaryGenerator * | primGen | ) |
Definition at line 138 of file MpdDCMSMMGenerator.cxx.
References TMath::Abs(), fabs(), fBoostBeta, fBoostGamma, fFileName, FindPDGCodeParticipant(), FindPDGCodeSpectator(), fInputFile, fInputFileVersion, fSpectatorsON, fUseLorentzBoost, TDatabasePDG::GetParticle(), GetReadError(), i, TDatabasePDG::Instance(), IsEndOfFile(), m, TParticlePDG::Mass(), and ReadLine().
Definition at line 309 of file MpdDCMSMMGenerator.cxx.
References fInputFile.
Referenced by MpdDCMSMMGenerator(), ReadEvent(), and SkipEvents().
| Int_t MpdDCMSMMGenerator::RegisterIons | ( | void | ) |
Definition at line 635 of file MpdDCMSMMGenerator.cxx.
References fBMax, fN1, fN2, fZ1, fZ2, fZMax, TDatabasePDG::GetParticle(), i, TDatabasePDG::Instance(), and z.
Referenced by MpdDCMSMMGenerator().
Definition at line 345 of file MpdDCMSMMGenerator.cxx.
References fFileName, fInputFile, GetReadError(), i, and ReadLine().
Referenced by run8_sim_bmn(), run_sim_bmn(), run_sim_bmn(), and run_sim_bmn().
|
staticprivate |
Definition at line 62 of file MpdDCMSMMGenerator.h.
Referenced by FindPDGCodeSpectator(), and RegisterIons().
|
private |
Definition at line 55 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), and ReadEvent().
|
private |
Definition at line 56 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), and ReadEvent().
|
private |
Definition at line 53 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), and MpdDCMSMMGenerator().
|
private |
Definition at line 51 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), ReadEvent(), and SkipEvents().
|
private |
Definition at line 46 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), ~MpdDCMSMMGenerator(), GetReadError(), IsEndOfFile(), ReadEvent(), ReadLine(), and SkipEvents().
|
private |
Definition at line 66 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), and ReadEvent().
Definition at line 60 of file MpdDCMSMMGenerator.h.
Referenced by RegisterIons().
Definition at line 61 of file MpdDCMSMMGenerator.h.
Referenced by RegisterIons().
|
private |
Definition at line 58 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), and ReadEvent().
|
private |
Definition at line 54 of file MpdDCMSMMGenerator.h.
Referenced by MpdDCMSMMGenerator(), MpdDCMSMMGenerator(), and ReadEvent().
Definition at line 63 of file MpdDCMSMMGenerator.h.
Referenced by FindPDGCodeSpectator(), and RegisterIons().
Definition at line 64 of file MpdDCMSMMGenerator.h.
Referenced by FindPDGCodeSpectator(), and RegisterIons().
|
staticprivate |
Definition at line 59 of file MpdDCMSMMGenerator.h.
Referenced by RegisterIons().