|
FairRoot/PandaRoot
|
#include <PndHypBupGenerator.h>
Public Member Functions | |
| PndHypBupGenerator () | |
| PndHypBupGenerator (const char *fileName) | |
| virtual | ~PndHypBupGenerator () |
| void | SetPhiRange (Double32_t phimin=0, Double32_t phimax=360) |
| void | SetThetaRange (Double32_t thetamin=0, Double32_t thetamax=90) |
| void | SetPRange (Double32_t pmin=0, Double32_t pmax=10) |
| void | GammaEmissPar (Bool_t On=kFALSE) |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| PndHypBupGenerator () | |
| PndHypBupGenerator (const char *fileName) | |
| virtual | ~PndHypBupGenerator () |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Private Member Functions | |
| void | CloseInput () |
| ClassDef (PndHypBupGenerator, 2) | |
| void | CloseInput () |
| Particle array from PLUTO. More... | |
| ClassDef (PndHypBupGenerator, 1) | |
Private Attributes | |
| Int_t | iEvent |
| PDG database. More... | |
| const Char_t * | fFileName |
| Event number. More... | |
| TFile * | fInputFile |
| Input file name. More... | |
| TTree * | fInputTree |
| Pointer to input file. More... | |
| TClonesArray * | fParticles |
| Pointer to input tree. More... | |
| Double32_t | fPMin |
| Particle array. More... | |
| Double32_t | fPMax |
| Double32_t | fPhiMin |
| Transverse momentum range [GeV]. More... | |
| Double32_t | fPhiMax |
| Double32_t | fThetaMin |
| Azimuth angle range [degree]. More... | |
| Double32_t | fThetaMax |
| Bool_t | fThetaRangeIsSet |
| Polar angle range in lab system [degree]. More... | |
| Bool_t | fPRangeIsSet |
| Bool_t | fGamOn |
Definition at line 36 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
| PndHypBupGenerator::PndHypBupGenerator | ( | ) |
Default constructor without arguments should not be used.
Definition at line 25 of file detectors/hyp/hypTools/PndHypBupGenerator.cxx.
References fInputFile, fInputTree, and iEvent.
| PndHypBupGenerator::PndHypBupGenerator | ( | const char * | fileName | ) |
Standard constructor.
| fileName | The input file name |
Definition at line 37 of file detectors/hyp/hypTools/PndHypBupGenerator.cxx.
References fFileName, fInputFile, fInputTree, fParticles, and iEvent.
|
virtual |
Destructor.
Definition at line 57 of file detectors/hyp/hypTools/PndHypBupGenerator.cxx.
References CloseInput().
| PndHypBupGenerator::PndHypBupGenerator | ( | ) |
Default constructor without arguments should not be used.
| PndHypBupGenerator::PndHypBupGenerator | ( | const char * | fileName | ) |
Standard constructor.
| fileName | The input file name |
|
virtual |
Destructor.
|
private |
Private method RegisterIons. Goes through the input file and registers any ion needed. STL map from ion name to CbmIon
|
private |
Private method RegisterIons. Goes through the input file and registers any ion needed. STL map from ion name to CbmIon
|
private |
Particle array from PLUTO.
Private method CloseInput. Just for convenience. Closes the input file properly. Called from destructor and from ReadEvent.
|
private |
Private method CloseInput. Just for convenience. Closes the input file properly. Called from destructor and from ReadEvent.
Definition at line 168 of file detectors/hyp/hypTools/PndHypBupGenerator.cxx.
References fFileName, and fInputFile.
Referenced by ReadEvent(), and ~PndHypBupGenerator().
|
inline |
Definition at line 65 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
References fGamOn.
Referenced by run(), run_test(), and sim_Gamma().
|
virtual |
Reads on event from the input file and pushes the tracks onto the stack. Abstract method in base class.
| primGen | pointer to the CbmPrimaryGenerator |
|
virtual |
Reads on event from the input file and pushes the tracks onto the stack. Abstract method in base class.
| primGen | pointer to the CbmPrimaryGenerator |
Definition at line 65 of file detectors/hyp/hypTools/PndHypBupGenerator.cxx.
References acos(), CloseInput(), CAMath::Cos(), cos(), Double_t, fGamOn, fInputFile, fInputTree, fParticles, fPMax, fPMin, fThetaMax, fThetaMin, g, THParticle::GetPdgCode(), iEvent, p, phi, pz, CAMath::Sin(), theta, THParticle::Vx(), THParticle::Vy(), and THParticle::Vz().
|
inline |
Modifiers
Definition at line 56 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
References fPhiMax, and fPhiMin.
Referenced by run(), run_test(), and sim_Gamma().
|
inline |
Definition at line 62 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
References fPMax, fPMin, and fPRangeIsSet.
Referenced by run(), run_test(), and sim_Gamma().
|
inline |
Definition at line 59 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
References fThetaMax, fThetaMin, and fThetaRangeIsSet.
Referenced by run(), run_test(), and sim_Gamma().
|
private |
Event number.
Definition at line 79 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by CloseInput(), and PndHypBupGenerator().
|
private |
Definition at line 89 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by GammaEmissPar(), and ReadEvent().
|
private |
Input file name.
Definition at line 80 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by CloseInput(), PndHypBupGenerator(), and ReadEvent().
|
private |
Pointer to input file.
Definition at line 81 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by PndHypBupGenerator(), and ReadEvent().
|
private |
Pointer to input tree.
Definition at line 82 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by PndHypBupGenerator(), and ReadEvent().
|
private |
Definition at line 85 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by SetPhiRange().
|
private |
Transverse momentum range [GeV].
Definition at line 85 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by SetPhiRange().
|
private |
Definition at line 84 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by ReadEvent(), and SetPRange().
|
private |
Particle array.
Definition at line 84 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by ReadEvent(), and SetPRange().
|
private |
Definition at line 88 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by SetPRange().
|
private |
Definition at line 86 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Azimuth angle range [degree].
Definition at line 86 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by ReadEvent(), and SetThetaRange().
|
private |
Polar angle range in lab system [degree].
Definition at line 87 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by SetThetaRange().
|
private |
PDG database.
Definition at line 78 of file detectors/hyp/hypTools/PndHypBupGenerator.h.
Referenced by PndHypBupGenerator(), and ReadEvent().
1.8.5