Skip to content

Commit

Permalink
pythia interface changes for fast sim decays
Browse files Browse the repository at this point in the history
  • Loading branch information
bendavid committed Sep 19, 2014
1 parent 655f331 commit 6710873
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FastSimulation/ParticleDecay/interface/PythiaDecays.h
Expand Up @@ -8,7 +8,7 @@
#include <HepMC/GenEvent.h>
#include <HepMC/GenParticle.h>
#include <Pythia8/Pythia.h>
#include <Pythia8/Pythia8ToHepMC.h>
#include "Pythia8Plugins/HepMC2.h"
#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
#include "SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h"
#include "GeneratorInterface/ExternalDecays/interface/ExternalDecayDriver.h"
Expand Down
6 changes: 3 additions & 3 deletions FastSimulation/ParticleDecay/src/PythiaDecays.cc
Expand Up @@ -36,9 +36,9 @@ PythiaDecays::PythiaDecays(std::string program)
decayer.reset(new Pythia8::Pythia);
p8RndmEngine.reset(new gen::P8RndmEngine);
decayer->setRndmEnginePtr(p8RndmEngine.get());
decayer->readString("ProcessLevel:all = off");
decayer->readString("PartonLevel:FSRinResonances = off"); //?
decayer->readString("ProcessLevel:resonanceDecays = off"); //?
decayer->settings.flag("ProcessLevel:all",false);
decayer->settings.flag("PartonLevel:FSRinResonances",false);
decayer->settings.flag("ProcessLevel:resonanceDecays",false);
decayer->init();

// forbid all decays
Expand Down

0 comments on commit 6710873

Please sign in to comment.