FairRoot/PandaRoot
|
#include <PndGiBuuGenerator.h>
Public Member Functions | |
PndGiBuuGenerator (const Char_t *fileName, const Char_t *pidDataFileName) | |
virtual | ~PndGiBuuGenerator () |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
void | RegisterDecayer (Int_t pdgCode, PndGiBuuDecayerAbs *decayer) |
Protected Member Functions | |
Bool_t | Init () |
Private Member Functions | |
PndGiBuuGenerator () | |
void | FillPidMap () |
Int_t | GetPdgParticleId (Int_t GiBuuId, Int_t charge) |
void | WriteoutDecayParticle (Int_t oldEventNr, Int_t oldRunId, FairPrimaryGenerator *primGen) |
void | CloseInput () |
PDG code of particle. More... | |
ClassDef (PndGiBuuGenerator, 1) | |
Private Attributes | |
std::map< std::pair< Int_t, Int_t >, Int_t > | fMapGiBuuToPdg |
Int_t | fEvent |
Int_t | fRunId |
Event number. More... | |
TString | fFileName |
Run number in GiBuu. More... | |
TString | fPidDataFileName |
Input file name. More... | |
std::ifstream * | fInputAsciiFile |
Input Pid data file name. More... | |
std::map< Int_t, PndGiBuuDecayerAbs * > | fDecayerMap |
Double_t | fPx |
Double_t | fPy |
Double_t | fPz |
Int_t | fPdg |
Momentum of particle. More... | |
Definition at line 30 of file PndGiBuuGenerator.h.
PndGiBuuGenerator::PndGiBuuGenerator | ( | const Char_t * | fileName, |
const Char_t * | pidDataFileName | ||
) |
Standard constructor
fileName | The input root file name |
pidDataFileName | Translation between GiBuu particle Id and Pdg particle Id file |
Definition at line 11 of file PndGiBuuGenerator.cxx.
|
virtual |
Destructor
Definition at line 20 of file PndGiBuuGenerator.cxx.
References CloseInput(), and fDecayerMap.
|
inlineprivate |
|
private |
|
private |
PDG code of particle.
Definition at line 137 of file PndGiBuuGenerator.cxx.
References fInputAsciiFile.
Referenced by ~PndGiBuuGenerator().
|
private |
Definition at line 103 of file PndGiBuuGenerator.cxx.
References fMapGiBuuToPdg, fPidDataFileName, and PidFile.
Referenced by Init().
|
private |
Definition at line 126 of file PndGiBuuGenerator.cxx.
References fMapGiBuuToPdg.
Referenced by ReadEvent().
|
protected |
Definition at line 28 of file PndGiBuuGenerator.cxx.
References fFileName, FillPidMap(), and fInputAsciiFile.
|
virtual |
Reads on event from the input file and pushes the tracks onto the stack. Abstract method in base class.
primGen | pointer to the FairPrimaryGenerator |
Definition at line 46 of file PndGiBuuGenerator.cxx.
References Double_t, energy, fEvent, fInputAsciiFile, fPdg, fPx, fPy, fPz, fRunId, GetPdgParticleId(), and WriteoutDecayParticle().
|
inline |
Definition at line 53 of file PndGiBuuGenerator.h.
References fDecayerMap.
|
private |
Definition at line 85 of file PndGiBuuGenerator.cxx.
References fDecayerMap, fEvent, fPdg, fPx, fPy, fPz, fRunId, i, X, Y, and Z.
Referenced by ReadEvent().
|
private |
Definition at line 74 of file PndGiBuuGenerator.h.
Referenced by RegisterDecayer(), WriteoutDecayParticle(), and ~PndGiBuuGenerator().
|
private |
Definition at line 68 of file PndGiBuuGenerator.h.
Referenced by ReadEvent(), and WriteoutDecayParticle().
|
private |
|
private |
Input Pid data file name.
Definition at line 72 of file PndGiBuuGenerator.h.
Referenced by CloseInput(), Init(), and ReadEvent().
|
private |
Definition at line 66 of file PndGiBuuGenerator.h.
Referenced by FillPidMap(), and GetPdgParticleId().
|
private |
Momentum of particle.
Definition at line 77 of file PndGiBuuGenerator.h.
Referenced by ReadEvent(), and WriteoutDecayParticle().
|
private |
|
private |
Definition at line 76 of file PndGiBuuGenerator.h.
Referenced by ReadEvent(), and WriteoutDecayParticle().
|
private |
Definition at line 76 of file PndGiBuuGenerator.h.
Referenced by ReadEvent(), and WriteoutDecayParticle().
|
private |
Definition at line 76 of file PndGiBuuGenerator.h.
Referenced by ReadEvent(), and WriteoutDecayParticle().
|
private |
Event number.
Definition at line 69 of file PndGiBuuGenerator.h.
Referenced by ReadEvent(), and WriteoutDecayParticle().