42 std::cout<<
"*******************************************************************"<<std::endl;
43 std::cout<<
"* *"<<std::endl;
44 std::cout<<
"* Using vetoed shower for PoWHEG QCD production! *"<<std::endl;
45 std::cout<<
"* *"<<std::endl;
46 std::cout<<
"*******************************************************************"<<std::endl;
61 if(nMPI > 1)
return false;
67 for(
int ii=1; ii != evt.size(); ++ii){
69 if(evt[ii].isFinal()){
86 if(iSys != 0)
return false;
101 if(iSys != 0)
return false;
125 for(std::vector<size_t>::const_iterator legIndex =
m_powhegLegs.begin();
Pythia8_UserHooks::UserHooksFactory::Creator< Pythia8::QCDVetoedShower > qcdVetoedShowerCreator("QCDVetoedShower")
This UserHook should be used when showering QCD jets generated with PoWHEG-box.
bool canVetoMPIStep()
Switch on calling of doVetoMPIStep.
bool doVetoISREmission(int, const Event &evt, int iSys)
This is called after the generation of each new ISR emission Can use it to test if the last generated...
bool doVetoMPIStep(int nMPI, const Event &evt)
doVetoMPIStep is called immediately after the MPI generation In this case it never actually vetoes th...
int numberVetoMPIStep()
Call doVetoMIStep once.
bool checkEmission(size_t emission, const Event &evt)
bool canVetoISREmission()
Switch on veto of ISR.
std::vector< size_t > m_powhegLegs
bool doVetoFSREmission(int, const Event &evt, int iSys, bool)
This is similar to the ISR veto.
bool canVetoFSREmission()
Switch off veto of FSR.
size_t findLastISREmission(const Pythia8::Event &evt)
size_t findLastFSREmission(const Pythia8::Event &evt)
double pTLeg(const Pythia8::Particle &leg, const Pythia8::Particle &comparison)
Author: James Monk (jmonk@cern.ch)