|
CbmRoot
|
#include <CbmBeamGenerator.h>
Public Member Functions | |
| CbmBeamGenerator () | |
| Default constructor (should not be used) | |
| CbmBeamGenerator (UInt_t beamZ, UInt_t beamA, UInt_t beamQ, Double_t momentum, Double_t zStart) | |
| Standard constructor. | |
| virtual | ~CbmBeamGenerator () |
| Destructor. | |
| virtual void | Print (Option_t *opt="") const |
| Print info to logger. | |
| virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
| Generate one event (abstract in base class) | |
| std::string | ToString () const |
| Info to string. | |
Private Member Functions | |
| ClassDef (CbmBeamGenerator, 1) | |
Private Attributes | |
| Double_t | fP |
| Total momentum [GeV]. | |
| Double_t | fStartZ |
| z coordinate of start point | |
| FairIon * | fIon |
| Ion type. | |
Definition at line 44 of file CbmBeamGenerator.h.
| CbmBeamGenerator::CbmBeamGenerator | ( | ) |
Default constructor (should not be used)
Definition at line 36 of file CbmBeamGenerator.cxx.
References fIon, fP, and fStartZ.
Referenced by ClassDef().
| CbmBeamGenerator::CbmBeamGenerator | ( | UInt_t | beamZ, |
| UInt_t | beamA, | ||
| UInt_t | beamQ, | ||
| Double_t | momentum, | ||
| Double_t | zStart ) |
Standard constructor.
| beamZ | Atomic number (number of protons) |
| beamA | Atomic mass number (number of nucleons) |
| beamQ | Electric charge |
| momentum | Momentum per nucleon [GeV] |
| zStart | z coordinate of beam start position |
Definition at line 47 of file CbmBeamGenerator.cxx.
References fIon, CbmEventGenerator::ForceVertexAtZ(), fP, and fStartZ.
|
virtual |
Destructor.
Definition at line 74 of file CbmBeamGenerator.cxx.
|
private |
References CbmBeamGenerator().
|
virtual |
|
virtual |
Generate one event (abstract in base class)
| primGen | Pointer to the FairPrimaryGenerator |
Definition at line 84 of file CbmBeamGenerator.cxx.
| std::string CbmBeamGenerator::ToString | ( | ) | const |
|
private |
Ion type.
Definition at line 82 of file CbmBeamGenerator.h.
Referenced by CbmBeamGenerator(), CbmBeamGenerator(), ReadEvent(), and ToString().
|
private |
Total momentum [GeV].
Definition at line 80 of file CbmBeamGenerator.h.
Referenced by CbmBeamGenerator(), CbmBeamGenerator(), ReadEvent(), and ToString().
|
private |
z coordinate of start point
Definition at line 81 of file CbmBeamGenerator.h.
Referenced by CbmBeamGenerator(), CbmBeamGenerator(), and ToString().