#include <SetNumberOfPartonsDynamically.h>
SetNumberOfPartonsDynamically::SetNumberOfPartonsDynamically |
( |
| ) |
|
|
inline |
SetNumberOfPartonsDynamically::~SetNumberOfPartonsDynamically |
( |
| ) |
|
|
inline |
bool SetNumberOfPartonsDynamically::canVetoProcessLevel |
( |
| ) |
|
|
inline |
bool SetNumberOfPartonsDynamically::doVetoProcessLevel |
( |
Pythia8::Event & |
process | ) |
|
Definition at line 5 of file SetNumberOfPartonsDynamically.cc.
References i, and nPartons.
11 int nQuarksMerge = settingsPtr->mode(
"Merging:nQuarksMerge");
13 for(
int i=0;
i < int(workEvent.size()); ++
i)
14 if ( workEvent[
i].isFinal()
15 && workEvent[
i].colType()!= 0
16 && ( workEvent[
i].id() == 21 || workEvent[
i].idAbs() <= nQuarksMerge))
19 settingsPtr->mode(
"Merging:nRequested", nPartons);
22 bool doSubt = settingsPtr->flag(
"Merging:doUMEPSSubt")
23 || settingsPtr->flag(
"Merging:doUNLOPSSubt");
24 if (doSubt && nPartons == 0)
return true;
28 }
static const unsigned int nPartons