ATLAS Offline Software
main31Vincia.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "UserHooksUtils.h"
6 #include "UserSetting.h"
8 #ifdef PYTHIA_VERSION_INTEGER
9 #if PYTHIA_VERSION_INTEGER >= 8310
10 // Disable the pythia 8.310 plugin mechanism.
11 // We use our own mechanism to create these classes, and we get link errors
12 // if these are used in more than one compilation unit.
13  # include "Pythia8/Plugins.h"
14  # undef PYTHIA8_PLUGIN_CLASS
15  # undef PYTHIA8_PLUGIN_VERSIONS
16  # define PYTHIA8_PLUGIN_CLASS(BASE, CLASS, PYTHIA, SETTINGS, LOGGER)
17  # define PYTHIA8_PLUGIN_VERSIONS(...)
18  #endif
19  #if PYTHIA_VERSION_INTEGER > 8308
20  #include "Pythia8Plugins/PowhegHooks.h"
21  #else
22  #include "Pythia8Plugins/PowhegHooksVincia.h"
23  #endif
24 #endif
25 namespace Pythia8{
26 #ifdef PYTHIA_VERSION_INTEGER
27  #if PYTHIA_VERSION_INTEGER > 8308
28  Pythia8_UserHooks::UserHooksFactory::Creator<Pythia8::PowhegHooks> PowhegHooksVinciaCreator("PowhegMain31Vincia");
29  #else
30  Pythia8_UserHooks::UserHooksFactory::Creator<Pythia8::PowhegHooksVincia> PowhegHooksVinciaCreator("PowhegMain31Vincia");
31  #endif
32 #endif
33 }
Pythia8_UserHooks::UserHooksFactory::Creator
Definition: UserHooksFactory.h:54
UserHooksFactory.h
Pythia8
Author: James Monk (jmonk@cern.ch)
Definition: IPythia8Custom.h:13
UserSetting.h
UserHooksUtils.h