12#ifndef PYTHIA_TPythia8
13#define PYTHIA_TPythia8
69#include "Pythia8/Pythia.h"
86 TPythia8(
const char *xmlDir,
bool printBanner =
true);
#define ClassDefOverride(name, id)
An array of clone (identical) objects.
The interface to various event generators.
TPythia8 is an interface class to C++ version of Pythia 8.1 event generators, written by T....
void Plist(Int_t id) const
Event listing.
Pythia8::Pythia * Pythia8()
void PlistChanged() const
Event listing.
Int_t ImportParticles(TClonesArray *particles, Option_t *option="") override
Import particles from Pythia stack.
void ListAll() const
Event listing.
void ReadString(const char *string) const
Configuration.
Bool_t Initialize(Int_t idAin, Int_t idBin, Double_t ecms)
Initialization.
void EventListing() const
Event listing.
void GenerateEvent() override
Generate the next event.
void ListChanged() const
Event listing.
Int_t fNumberOfParticles
The pythia8 instance.
void PrintStatistics() const
Print end of run statistics.
Int_t GetN() const
Initialization.
void PlistAll() const
Event listing.
static TPythia8 * Instance()
Return an instance of TPythia8.
static TPythia8 * fgInstance
void ReadConfigFile(const char *string) const
Configuration.
void AddParticlesToPdgDataBase()
Add some pythia specific particle code to the data base.
Pythia8::Pythia * fPythia
singleton instance
~TPythia8() override
Destructor.