#include <CbmBeamGenerator.h>
|
| 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.
|
|
|
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() [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 47 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 84 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: