5#ifndef SHERPA_I_SHERPA_I_H
6#define SHERPA_I_SHERPA_I_H
8#include "GaudiKernel/Algorithm.h"
20 Sherpa_i(
const std::string& name, ISvcLocator* pSvcLocator);
24 StatusCode
fillEvt(HepMC::GenEvent* evt);
36 std::map<std::string,std::string> m_inputfiles;
45 StringArrayProperty
m_params{
this,
"Parameters", {} };
66 DoubleProperty
m_xsscale{
this,
"CrossSectionScaleFactor", 1.0};
67 BooleanProperty
m_cleanup{
this,
"CleanupGeneratedFiles",
true};
70 IntegerProperty
m_dsid{
this,
"Dsid", 999999,
"Dataset ID number"};
75#include "ATOOLS/Math/Random.H"
Atlas_RNG(CLHEP::HepRandomEngine *)
bool CanRestoreStatus() const
CLHEP::HepRandomEngine * p_engine
std::once_flag m_once_flag_atlas_rng
const std::string GenerateUID() const
GenModule(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
StringArrayProperty m_extrafiles
List of any additional needed files, e.g. custom libraries, PDF sets (from JO file)
StatusCode genFinalize()
For finalising the generator, if required.
std::string m_basefragment
Sherpa base settings (read from base fragment file)
IntegerProperty m_ncores
Number of cores recommended for multi-core integration file.
StringProperty m_runcard
FIXME unused?
StatusCode genInitialize()
For initializing the generator, if required.
SHERPA::Sherpa * p_sherpa
StringProperty m_plugincode
Optional code for plugin library to compile and load at run time.
StringArrayProperty m_params
List of additional Sherpa parameters beyond run card snippet (from JO file)
BooleanProperty m_cleanup
void compilePlugin(const std::string &)
Sherpa_i(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode callGenerator()
For calling the generator on each iteration of the event loop.
DoubleProperty m_variation_weight_cap
Variation weight cap factor.
DoubleProperty m_memorymb
Memory required for integration/evgen.
StringArrayProperty m_openloopslibs
List of needed OpenLoops process libraries (from JO file)
StatusCode fillEvt(HepMC::GenEvent *evt)
For filling the HepMC event object.
void getParameters(int &argc, char **&argv)