18#ifndef _PYTHIA8SINGLETON_H_
19#define _PYTHIA8SINGLETON_H_
21#ifdef __GENIE_PYTHIA8_ENABLED__
22#include "Pythia8/Pythia.h"
37#ifdef __GENIE_PYTHIA8_ENABLED__
38 Pythia8::Pythia * Pythia8() {
return fPythia; }
50#ifdef __GENIE_PYTHIA8_ENABLED__
51 mutable Pythia8::Pythia * fPythia;
Manage a single instance of pythia8.
static Pythia8Singleton * fInstance
print
Pythia8Singleton()
singleton class: constructors are private
static Pythia8Singleton * Instance(void)
virtual ~Pythia8Singleton()
Pythia8Singleton(const Pythia8Singleton &cache)
THE MAIN GENIE PROJECT NAMESPACE
proper de-allocation of the singleton object
void DummyMethodAndSilentCompiler()