|
ATLAS Offline Software
|
Go to the documentation of this file.
11 class PoWHEGVetoedShower;
40 std::cout<<
"*******************************************************************"<<std::endl;
41 std::cout<<
"* *"<<std::endl;
42 std::cout<<
"* Using new PoWHEG author scale definition for QCD production! *"<<std::endl;
43 std::cout<<
"* *"<<std::endl;
44 std::cout<<
"*******************************************************************"<<std::endl;
59 if(nMPI > 1)
return false;
69 std::vector<Particle> powhegLegs;
73 for(
int ii=1; ii !=
evt.size(); ++ii){
77 pxCMS +=
evt[ii].px();
78 pyCMS +=
evt[ii].py();
79 pzCMS +=
evt[ii].pz();
84 if(
evt[ii].isFinal()){
91 for(std::vector<Particle>::const_iterator
leg=powhegLegs.begin();
92 leg != powhegLegs.end(); ++
leg){
96 double norm = -1./eCMS;
103 leg != powhegLegs.end(); ++
leg){
104 leg->bst(pxCMS, pyCMS, pzCMS);
107 for(std::vector<Particle>::const_iterator
leg=powhegLegs.begin();
108 leg != powhegLegs.end(); ++
leg){
114 for(std::vector<Particle>::const_iterator otherLeg = powhegLegs.begin();
115 otherLeg != powhegLegs.end(); ++otherLeg){
116 if(otherLeg ==
leg)
continue;
139 if(iSys != 0)
return false;
155 if(iSys != 0)
return false;
JetConstituentVector::iterator iterator
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...
bool canVetoISREmission()
Switch on veto of ISR.
Particle_v1 Particle
Define the latest version of the particle class.
Pythia8_UserHooks::UserHooksFactory::Creator< Pythia8::PoWHEGVetoedShower > powhegVetoedShowerCreator("PoWHEGVetoedShower")
Author: James Monk (jmonk@cern.ch)
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...
int numberVetoMPIStep()
Call doVetoMIStep once.
double pTLeg(const Pythia8::Particle &leg, const Pythia8::Particle &comparison)
This UserHook should be used when showering QCD jets generated with PoWHEG-box.
size_t findLastISREmission(const Pythia8::Event &evt)
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 findLastFSREmission(const Pythia8::Event &evt)