Belle II Software  release-08-01-10
KKGenInterface Class Reference

Interface class for using the KKMC generator. More...

#include <KKGenInterface.h>

Collaboration diagram for KKGenInterface:

Public Member Functions

 KKGenInterface ()
 Constructor.
 
 ~KKGenInterface ()
 Destructor.
 
 KKGenInterface (const KKGenInterface &m)=delete
 Copy constructor, explicitly deleted.
 
KKGenInterfaceoperator= (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.
 

Detailed Description

Interface class for using the KKMC generator.

Definition at line 68 of file KKGenInterface.h.


The documentation for this class was generated from the following files: