12 #include <mdst/dataobjects/MCParticleGraph.h>
16 #include <unordered_map>
48 void kk_init_(
const char*,
const char*,
const char*,
int*,
const char*);
49 void kk_begin_run_(
double*);
51 void kk_term_(
double*,
double*);
53 void kk_getbeam_(
double*,
double*,
double*,
double*,
54 double*,
double*,
double*,
double*);
55 void kk_putbeam_(
double*,
double*,
double*,
double*,
56 double*,
double*,
double*,
double*);
97 int setup(
const std::string& KKdefaultFileName,
const std::string& tauinputFileName,
const std::string& taudecaytableFileName,
98 const std::string& KKMCOutputFileName);
103 void set_beam_info(TLorentzVector P4_LER,
double Espread_LER, TLorentzVector P4_HER,
Interface class for using the KKMC generator.
int simulateEvent(MCParticleGraph &graph, TVector3 vertex)
Simulate the events.
KKGenInterface()
Constructor.
std::unordered_map< int, int > m_mapPythiaIDtoPDG
Map between PYTHIA id and PDG codes.
void term()
Terminate the generator.
KKGenInterface(const KKGenInterface &m)=delete
Copy constructor, explicitly deleted.
int addParticles2Graph(MCParticleGraph &graph, TVector3 vertex)
Add particles to the MCParticleGraph.
void set_beam_info(TLorentzVector P4_LER, double Espread_LER, TLorentzVector P4_HER, double Espread_HER)
Setup for beams information.
~KKGenInterface()
Destructor.
int setup(const std::string &KKdefaultFileName, const std::string &tauinputFileName, const std::string &taudecaytableFileName, const std::string &KKMCOutputFileName)
Setup for KKMC and TAUOLA.
void updateGraphParticle(int, MCParticleGraph::GraphParticle *gParticle, TVector3 vertex)
Update the MCParticleGraph.
KKGenInterface & operator=(const KKGenInterface &m)=delete
Assignment operator, explicitly deleted.
Class to represent Particle data in graph.
Class to build, validate and sort a particle decay chain.
Abstract base class for different kinds of events.
HEPEVT common block of PYTHIA6.
int jmohep[nmxhep][2]
parent particles.
int isthep[nmxhep]
status code.
double vhep[nmxhep][4]
vertex [mm].
int jdahep[nmxhep][2]
childreen particles.
double phep[nmxhep][5]
four-momentum, mass [GeV].
int idhep[nmxhep]
particle ident KF.
int nhep
number of particles.
PYDAT2 common block of PYTHIA6.
int KCHG[4][500]
particle information such as spin, charge...
double VCKM[4][4]
squared CKM matrix elements.
double PARF[2000]
parametrization of dd-uu-ss flavor mixing.
double PMAS[4][500]
particle information such as mass, width...