 |
Belle II Software
release-05-02-19
|
14 #include <mdst/dataobjects/MCParticleGraph.h>
17 #include <TLorentzRotation.h>
59 void init(
const std::string& dataPath,
const std::string& userDataFile);
103 bool isVirtual =
false,
bool isInitial =
false);
unsigned int m_seed1
First seed for the random number generator.
void generateEvent(MCParticleGraph &mcGraph, TVector3 vertex, TLorentzRotation boost)
Generates one single event.
Class to build, validate and sort a particle decay chain.
void setCMSEnergy(double cmsEnergy)
Sets the CMS energy.
double m_cmsEnergy
CMS Energy = 2*Ebeam [GeV].
double m_crossSectionError
The error on the cross section of the generated KoralW events.
Abstract base class for different kinds of events.
double m_crossSection
The cross section of the generated KoralW events.
double getCrossSection()
Returns the total cross section of the generated process.
unsigned int m_seed2
Second seed for the random number generator.
unsigned int m_seed3
Third seed for the random number generator.
static constexpr int m_numXPar
Number of parameters for KoralW.
double getCrossSectionError()
Returns the error on the total cross section of the generated process.
void storeParticle(MCParticleGraph &mcGraph, const float *mom, const float *vtx, int pdg, TVector3 vertex, TLorentzRotation boost, bool isVirtual=false, bool isInitial=false)
Store a single generated particle into the MonteCarlo graph.
void term()
Terminates the generator.
void init(const std::string &dataPath, const std::string &userDataFile)
Initializes the generator.
double m_XPar[m_numXPar]
Values of parameters for KoralW.