Belle II Software development
|
Interface class for using the KKMC generator. More...
#include <KKGenInterface.h>
Public Member Functions | |
KKGenInterface () | |
Constructor. | |
~KKGenInterface () | |
Destructor. | |
KKGenInterface (const KKGenInterface &m)=delete | |
Copy constructor, explicitly deleted. | |
KKGenInterface & | operator= (const KKGenInterface &m)=delete |
Assignment operator, explicitly deleted. | |
int | setup (const std::string &KKdefaultFileName, const std::string &tauinputFileName, const std::string &taudecaytableFileName, const std::string &KKMCOutputFileName) |
Setup for KKMC and TAUOLA. | |
void | set_beam_info (double Ecms0, double Ecms0Spread) |
Setup for beams information. | |
int | simulateEvent (MCParticleGraph &graph, const ConditionalGaussGenerator &lorentzGenerator, ROOT::Math::XYZVector vertex) |
Simulate the events. | |
void | term () |
Terminate the generator. | |
Private Member Functions | |
int | addParticles2Graph (MCParticleGraph &graph, ROOT::Math::XYZVector vertex) |
Add particles to the MCParticleGraph. | |
void | updateGraphParticle (int, MCParticleGraph::GraphParticle *gParticle, ROOT::Math::XYZVector vertex) |
Update the MCParticleGraph. | |
Private Attributes | |
std::unordered_map< int, int > | m_mapPythiaIDtoPDG |
Map between PYTHIA id and PDG codes. | |
Interface class for using the KKMC generator.
Definition at line 68 of file KKGenInterface.h.
|
inline |
|
inline |
|
private |
Add particles to the MCParticleGraph.
Definition at line 179 of file KKGenInterface.cc.
void set_beam_info | ( | double | Ecms0, |
double | Ecms0Spread | ||
) |
Setup for beams information.
Definition at line 84 of file KKGenInterface.cc.
int setup | ( | const std::string & | KKdefaultFileName, |
const std::string & | tauinputFileName, | ||
const std::string & | taudecaytableFileName, | ||
const std::string & | KKMCOutputFileName | ||
) |
Setup for KKMC and TAUOLA.
Definition at line 36 of file KKGenInterface.cc.
int simulateEvent | ( | MCParticleGraph & | graph, |
const ConditionalGaussGenerator & | lorentzGenerator, | ||
ROOT::Math::XYZVector | vertex | ||
) |
Simulate the events.
Definition at line 96 of file KKGenInterface.cc.
void term | ( | ) |
Terminate the generator.
Definition at line 310 of file KKGenInterface.cc.
|
private |
Update the MCParticleGraph.
Definition at line 212 of file KKGenInterface.cc.
|
private |
Map between PYTHIA id and PDG codes.
Definition at line 129 of file KKGenInterface.h.