9 #ifndef ERIonMixGenerator_H 10 #define ERIonMixGenerator_H 16 #include "FairGenerator.h" 18 #include "ERIonGenerator.h" 21 class FairPrimaryGenerator;
81 void AddBackgroundIon(TString name, Int_t z, Int_t a, Int_t q, Double_t newIonProb);
87 Bool_t
ReadEvent(FairPrimaryGenerator* primGen);
std::map< Double_t, TString > fBgIons
Background ion names with emegence probability.
Double_t fSumProbability
Background ions summary probability.
virtual ~ERIonMixGenerator()
Destructor.
Bool_t ReadEvent(FairPrimaryGenerator *primGen)
Method ReadEvent Generates <mult> of the specified ions and hands hem to the FairPrimaryGenerator.
Class for the generation different ions during one simulation.
void AddBackgroundIon(TString name, Int_t z, Int_t a, Int_t q, Double_t newIonProb)
Adds background ions with probability of appearance in simulation. Probability of primary ion is 1...
Class for the generation ion.