#include <CbmBeamGenerator.h>
Definition at line 38 of file CbmBeamGenerator.h.
◆ CbmBeamGenerator() [1/2]
CbmBeamGenerator::CbmBeamGenerator |
( |
| ) |
|
◆ CbmBeamGenerator() [2/2]
CbmBeamGenerator::CbmBeamGenerator |
( |
UInt_t |
beamZ, |
|
|
UInt_t |
beamA, |
|
|
UInt_t |
beamQ, |
|
|
Double_t |
momentum, |
|
|
Double_t |
zStart |
|
) |
| |
Standard constructor.
- Parameters
-
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 38 of file CbmBeamGenerator.cxx.
References fIon, and CbmEventGenerator::ForceVertexAtZ().
◆ ~CbmBeamGenerator()
CbmBeamGenerator::~CbmBeamGenerator |
( |
| ) |
|
|
virtual |
◆ ClassDef()
◆ Print()
void CbmBeamGenerator::Print |
( |
Option_t * |
opt = "" | ) |
const |
|
virtual |
◆ ReadEvent()
Bool_t CbmBeamGenerator::ReadEvent |
( |
FairPrimaryGenerator * |
primGen | ) |
|
|
virtual |
Generate one event (abstract in base class)
- Parameters
-
primGen | Pointer to the FairPrimaryGenerator |
Definition at line 77 of file CbmBeamGenerator.cxx.
References fIon, and fP.
◆ ToString()
std::string CbmBeamGenerator::ToString |
( |
| ) |
const |
◆ fIon
FairIon* CbmBeamGenerator::fIon |
|
private |
◆ fP
Double_t CbmBeamGenerator::fP |
|
private |
◆ fStartZ
Double_t CbmBeamGenerator::fStartZ |
|
private |
The documentation for this class was generated from the following files: