|
ATLAS Offline Software
|
Go to the documentation of this file.
11 class QCDVetoedShower;
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();
bool doVetoFSREmission(int, const Event &evt, int iSys, bool)
This is similar to the ISR veto.
bool canVetoISREmission()
Switch on veto of ISR.
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 checkEmission(size_t emission, const Event &evt)
bool canVetoFSREmission()
Switch off veto of FSR.
Author: James Monk (jmonk@cern.ch)
This UserHook should be used when showering QCD jets generated with PoWHEG-box.
Pythia8_UserHooks::UserHooksFactory::Creator< Pythia8::QCDVetoedShower > qcdVetoedShowerCreator("QCDVetoedShower")
double pTLeg(const Pythia8::Particle &leg, const Pythia8::Particle &comparison)
size_t findLastISREmission(const Pythia8::Event &evt)
int numberVetoMPIStep()
Call doVetoMIStep once.
bool canVetoMPIStep()
Switch on calling of doVetoMPIStep.
bool doVetoMPIStep(int nMPI, const Event &evt)
doVetoMPIStep is called immediately after the MPI generation In this case it never actually vetoes th...
std::vector< size_t > m_powhegLegs
size_t findLastFSREmission(const Pythia8::Event &evt)